To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90841
                 Issue #|90841
                 Summary|An option to properly ignore line breaks in fields and
                        | indexes
               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 10:45:33 +0000 
2008 -------
Hi,

I'm writing a book, and have long chapter titles. In the main content, I
generally split them manually, with line breaks, so they are split where I want
them to be (for proper esthetic control).


PROBLEMS:

1) When I insert the chapter name, as a field (for example, at the top of every
pages), the line breaks are completely ignored, and the words before and after
the original line breaks, are stuck together, with no space. I'd like OOo to add
a space between these words (the standard XML-like behaviour).

This is the most important enhancement in this report, as the only workaround,
is not to use fields (or use a white on white header, without the line breaks
-we can't use an hidden header, as it will not appear when inserting it as a
field-, which is worse, semantically).


2) When I generate the index, the line breaks are taken into account. However,
as the index uses a smaller font, I'd like to get the chapter names on a single
line.

Currently, as a workaround, I edit the index manually, to remove the line 
breaks.


3) When I export my document as a PDF document, the generated PDF index, also
take into account the line breaks. As with the index in the content, I'd like to
be able to get the chapter names on a single line.



SOLUTION:

In all these cases, by default, OOo should follow the original formatting, that
is, to take the line breaks into account (although this might lead to
compatibility problems, for fields -but as line breaks are currently removed,
and soft hyphens are not displayed before line breaks (see bug #90838 I just
filled), I guess few people use this).

Then, in the «Text Flow» tab of the paragraph styles, in the «Breaks» section,
there should be a new checkbox, titled: «Ignore the line breaks».

Its tooltip would be «Replaces line breaks with a space, or simply remove the
line break, if preceeded by an optional hyphen.»


(Soft hyphens should indeed be taken into account, so OOo does not add a space,
inside a splitted word).



In my case, I could then edit the paragraph style of «Contents 1», for the
first-level chapter names, in my index, and «Header», for page headers.

For PDF documents, I guess there should be similar options, in the PDF exporting
window...


Thanks in advance 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