Issue 39932 - Root Paragraph Style Shown in Paragraph List Box Even if Not in Use
Summary: Root Paragraph Style Shown in Paragraph List Box Even if Not in Use
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-05 09:55 UTC by frank.loehmann
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description frank.loehmann 2005-01-05 09:55:34 UTC
http://specs.openoffice.org/writer/formatting/Assigning_Styles_in_Writer.sxw

Show paragraph styles beside the standard ones only if they have been used in
current document.

Section 6.1 row  87:
"+ all paragraph styles assigned in the current document and all styles which
have been used in current document during current runtime regardless, if they
are currently assigned to a paragraph or not."
Comment 1 frank.loehmann 2005-01-05 09:58:50 UTC
Furthermore they have to bee shown in the list box even if they are currently
not assigned to any paragraph but had been assigned during the current runtime.
Comment 2 michael.ruess 2005-01-05 11:18:45 UTC
MRU->ES: please assign to proper Dev contact. Thanks!
Comment 3 eric.savary 2005-01-08 21:46:00 UTC
Reassigned
Comment 4 Oliver Specht 2005-01-10 06:03:22 UTC
->fl: What is a "Root Paragraph Style"? 
I don't see a way to determine if a use defined style has ever been used (at
least not for 2.0).
Comment 5 frank.loehmann 2005-01-10 10:36:15 UTC
FL->OS: A root style for me is i.e. "Heading" if you have assigned "Heading n"
inside the document, because then the hierarchal root style "Heading" is also
shown in the LB even if not assigned to any paragraph inside the document.

Regarding the appearance in that list: Wouldn't it be possible just not to
remove paragraph styles from that list during runtime of a doc. Then all styles
which have been used during runtime would be accessible for runtime.
Comment 6 Oliver Specht 2005-01-10 10:58:13 UTC
A style is treated as used by the Writer core also if a depending style is in
use. There's no way to change this for OOo 2.0.

The lifetime of the controller is not the same as the lifetime of the document
view. Switching contexts also switches the controller ( to frame styles ) and
the controller may also be destroyed because the toolbox is beeing switched off. 
Comment 7 frank.loehmann 2005-01-10 11:14:45 UTC
I have added a comment in the spec. that we cannot implement that for OOo 2.0.