I found the following structure in a text box attached to a cell:
A sentence is split in two by a line break and the corresponding
code looks like:
<text:p style-name="style1"><text:span style-
name="style2">beginning of string</text:span></text:p>
<text:p style-name="style1"><text:span style-name="style2">end of
string.</text:span></text:p>
Why is it necessary to implement 2 <text:p> when the styles are
identical in both segments ?
Ain't there a way to have a line break without resorting to
<text:p> ?
<text:p> is a single paragraph. If there are multiple paragraphs,
you'll get multiple <text:p> elements, regardless of formatting.
You mean that OOo considers a line break to be a paragraph in any
context ?
----------------
|You mean that |
|OOo considers |
|a line break to |
|be a paragraph |
|in any context ?|
----------------
Here my whole box uses the same style for each of the line break
separated segments. Ain't there a <br> equivalent in OOo that would
reflect the _visual_ line break better than putting <text:p> which
seems to indicate a logical structure rather than a visual formatting ?
Jean-Christophe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]