Issue 11792

Summary: Paragraph Style Organizer doesn't explicitly show inherited settings
Product: Writer Reporter: quetschke
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: gustavo, issues, toralf
Version: OOo 1.0.2Keywords: oooqa, rfe_eval_ok, usability
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description quetschke 2003-02-24 15:44:17 UTC
Paragraph Style Organizer doesn't explicitly show inherited settings, you
can see what has changed in the "Organizer" tab, in the contains: field,
but if you are in the Font tab, then you cannot distinquish between:
(As an example)

1. Use 12pt, because I want 12pt whenever I use this style

2. Use 12pt, because they are inherited from the style this one is
   linked to.

Whenever you change a setting you are in the 1. case, in the current version
it is not possible to set a setting to 2.

(This is not really true, because when you click the <Standard> button the
whole tab gets set to fully inherited to the linked class.)
The <Standard> button is *NOT* explained in the online help!

It would be really usefull to get an extra <inherit> field for each setting.
Comment 1 h.ilter 2003-03-06 11:29:06 UTC
This is not a defect, it's a enhanvement.
Comment 2 toralf 2004-12-09 09:07:54 UTC
I think something I've been struggling with right now is the same issue - see
http://www.openoffice.org/servlets/ReadMsg?listName=users&msgNo=79744

A quick recap of that thread:
The problem was that changing language in Options...->Language
Settings->Languages, with "For the current document only" selected, which I
expected to change the global or default language of the document, appeared to
have no effect. I thought at first that something was broken in OOo 1.1.3, but
it turned out my problem was that the paragraph styles in my document had
language settings that would override the default.

So the issues are:
1. Once a language has been selected in the "Paragrah Style" or
Format->Character... dialogue, a language attribute has been added to the style
definition in question. There is no way to *remove* this attribute (and revert
to inherited settings.)
2. There is no way (that I'm aware of) of telling that a given paragraph has had
the language explicitly selected, as opposed to having the language it has
becuase it inherited it from the parent.

Actually, I some experiments I did right now lead me to believe that "Standard"
would help we with 1), although its function is documented as

Resets the values visible in the dialog back to the default installation values.

which is not what I want (I want to reset to inherited settings, not
installation values) - but perhaps the doc is not correct?

In any case, I think we really want a way to remove overridden settings
one-by-one. Also, in my case, there is a longish chain of inherited styles that
have to be "reset" to get the "document" setting where I want. Maybe a quick way
to update so that the attribute is taken from the ultimate ancestor, would also
be useful?

Another thought: The indication of inherited vs explictly configured setting -
see 2) above - should perhaps indicate where exactly the value was set?
Comment 3 cno 2004-12-09 13:31:12 UTC
At the bottom of the Stylist, the dropdownbox offers the option to view the
styles hierarchical, which in my opinion meets (at least partly) the needs
described in this issue.
Comment 4 toralf 2004-12-09 13:55:00 UTC
Yes and no. That mode helps you find out what other style a certain style
inherits from, and thus also makes it easier to compare settings between a style
and its parent. Clearly useful in this context, but it's not what we are talking
about. 

What we are asking for is a way to find out which values within the style
defintion are inherited (according the hierarchy shown on the "Hierarcical"
view), and which values are set explicitly through the Paragraph Style box.
There is really no way of telling, as far as I know. Note that even though you
know that, say, Heading 2 inherits from Heading 1 and both have the "Arial"
fonts, you cannot automatically assume that Heading 2 inherits the typeface
setting from Heading 1. It might be that they just happen to have the same value
for the setting, which is not the same thing.
Comment 5 toralf 2004-12-10 11:34:52 UTC
I now realise that there is a way of telling (see my last note), namely the
Organizer tab, as mentioned by the original poster. I think that functionality
is far from intuitive, though, and you really want to be able to tell just by
looking at the actual setting.
Comment 6 lohmaier 2004-12-13 21:19:22 UTC
*** Issue 38936 has been marked as a duplicate of this issue. ***
Comment 7 lohmaier 2004-12-13 21:25:40 UTC
issue 38936 suggests a label "as is/found" for the elements that are inherited.

So the font-dropdown would not show the inherited font like "Arial" but would
read "- inherited - " (or "not set" or something similar) instead.

This could be an intermediate solution.
Comment 8 toralf 2004-12-14 13:28:26 UTC
It would be even better if the dropdown could convey the fact that the font was
inherited *and* what the actual setting is, though. Maybe it could contain
something like "Inherited: Arial", or be displayed in a different style or
something. To change from e.g. "Arial" to "Inherited: Arial", you would select a
new item named just "Inherit", as mentioned earlier.