Issue 98936 - Derived paragraph style gets wrong list style from parent
Summary: Derived paragraph style gets wrong list style from parent
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.3.1
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2009-02-05 21:16 UTC by oorene
Modified: 2017-05-20 11:18 UTC (History)
2 users (show)

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


Attachments
example (13.05 KB, application/vnd.oasis.opendocument.text)
2009-02-16 13:02 UTC, oorene
no flags Details
example (28.10 KB, application/pdf)
2009-02-16 13:03 UTC, oorene
no flags Details
image (150.14 KB, image/png)
2009-02-19 11:53 UTC, oorene
no flags Details
image (147.12 KB, image/png)
2009-02-19 11:54 UTC, oorene
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description oorene 2009-02-05 21:16:47 UTC
Scenario,

A table is created with 3 columns.

text is entered to row 1 column 1, consisting of a heading A and text body. A 
style is created and applied to heading A; the heading should be enumerated.

text is entered to row 2 column 1, consisting of a heading B and text body. A 
style is created and applied to heading B; the heading should not be enumerated.

text is entered to row 1 column 1, consisting of a heading A and text body. A 
style is created and applied to heading A; the heading should be enumerated.

If the cursor is navigated to row to and the table function enabled to insert a 
new row below or above the active row, the new row does not accept the styles. 
For example new text is entered into the new row as previously described. When 
the style heading B or A is applied, the text body and heading alignment 
becomes irregular.
Comment 1 michael.ruess 2009-02-11 13:05:35 UTC
I was not able to reproduce this from the description above...
Could you please attach a document (at the state right BEFORE you add a new row
in the table) so that we can reproduce the problem here?
thanks for supporting us!
Comment 2 oorene 2009-02-16 13:02:46 UTC
Created attachment 60196 [details]
example
Comment 3 oorene 2009-02-16 13:03:32 UTC
Created attachment 60197 [details]
example
Comment 4 oorene 2009-02-16 13:05:38 UTC
see document. Unable to ensure left alignment of text with headings
Comment 5 michael.ruess 2009-02-17 11:29:43 UTC
Sorry, but I do not really understand what you mean by "Unable to ensure left
alignment of text with headings".
Well, I work with OOo 3.0 but I do not think, that this fact makes much
difference here.
I navigate the cursor to Table cell C2, click the "Insert row" button and get
the correct result having "Heading 2" paragraph in the new row with the indents
defined in the applied list style.
Comment 6 oorene 2009-02-17 12:56:08 UTC
text alignment fails when new styles for the headings and the text are created
and then applied. For example, create a new non-enumerated heading based upon
heading 2, with a new indent value x. Create a text style A with indent value x.
Create enumerated heading based upon heading 2, with indent x. Create a text
style B with indent x (text style A could be italicised text, text style B could
be small capitals text).
Comment 7 eric.savary 2009-02-18 14:47:23 UTC
We don't understand what the problem is.
Please don't explain with paragraph A or B with x value but refer to the text in
your document or better add a screenshot of what's wrong and fake a screenshot
of what should be.
Comment 8 oorene 2009-02-19 11:53:14 UTC
Created attachment 60306 [details]
image
Comment 9 oorene 2009-02-19 11:54:32 UTC
Created attachment 60307 [details]
image
Comment 10 michael.ruess 2009-02-27 14:25:09 UTC
That is not a problem of the heading styles.
you have applied a list style named "item non action" to the heading 2 paragraph
in cell A2. This will of course a different indent than the indent applied to
the derived heading 2 style in cell A6.

MRU->OS: this problem arises by incorrect defaults when deriving a paragraph
style. Take the attachment - try to create a new paragraph style based on
"Heading 2" -> "Numbering 1" will be proposed as list style instead of "item non
action" assigned to "Heading 2".
Comment 11 oorene 2009-03-10 16:36:52 UTC
Further observations:
In next style, unable to specify 'none'
Should a heading style be in text category or chapter category?
In style and formatting window, have to change view before new items appear.
Sometimes the new items disappear from view (random occurrence)
Headings are not seen in the navigator window
Formatting styles are not retained after selecting other styles
Comment 12 Marcus 2017-05-20 11:18:07 UTC
Reset assigne to the default "issues@openoffice.apache.org".