To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90848
                 Issue #|90848
                 Summary|New 'Keep with same paragraphs' option
               Component|Word processor
                 Version|OOo 2.4.0
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|formatting
             Assigned to|mru
             Reported by|mathieu_bonnet





------- Additional comments from [EMAIL PROTECTED] Wed Jun 18 13:19:25 +0000 
2008 -------
Hi,

I have two levels of chapters, in a long document.

I generate an index, which spans multiple pages.

I'd like each chapter, and its subchapters, to be kept on the same page (so that
the subchapters are strongly associated, with their parent chapter title -this
is for a particular technical book, for which the index is especially important,
and I want maximum readability).


For the «Contents 1» paragraph style, I simply use the «Keep with next
paragraph» option. However, for «Contents 2», I cannot do this, as the last
subchapter would be kept with the next «Contents 1», meaning the whole index
would be linked together, and OOo would split it as if the option was not set.


A new option should be created, in the paragraph styles, «Text Flow» tab,
«Options» section, which would be named «Keep with same paragraphs» (or «Keep
with sibling paragraphs», if you want to keep the family metaphor, used for the
orphan/widow control -although CSS and XSL use «sibling», as «same level», and
not as «same level *AND* same kind of element»).

If activated, it would keep together, same paragraphs. In my case, the «Contents
2» paragraphs, meaning, all the subchapters of a specific chapter. Then, they
will be followed by the next chapter, as a «Contents 1» paragraph, before which,
OOo could insert an automatic page break.


For example:

A  -> Contents 1 -> Keep with next paragraph
A1 -> Contents 2 -> Keep with same paragraphs
A2 -> Contents 2 -> Keep with same paragraphs
A3 -> Contents 2 -> Keep with same paragraphs
(possible page break, as B is not the same kind of paragraph as A3)
B  -> Contents 1 -> Keep with next paragraph
B1 -> Contents 2 -> Keep with same paragraphs
B2 -> Contents 2 -> Keep with same paragraphs
B3 -> Contents 2 -> Keep with same paragraphs



For the index, the current workaround is to edit the index manually, to add
paragraph breaks manually, but this might, in some cases, add a new page, which
will shift the page numbers (so you have to add temporary placeholder pages,
just after the index, and remove them, after you edited the index, to keep the
same page numbers...).



Thanks to everyone who will work on this.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to