(I have already sent this to [EMAIL PROTECTED] but it seems the mail did not make it... Anyway, my questions may be extremely naive, if so I'd appreciate somebody points me the relevant references on the web. Sincerely, Jean-Christophe Helary)


     From:     [EMAIL PROTECTED]
     Subject:        File format internals...
     Date:   2005年6月16日 1:55:06:JST
     To:       [email protected]

I have been looking at a PPT import and found the following code in the corresponding sxi:

<text:p text:style-name="P1">
     <text:span text:style-name="T1">FIRST STRING</text:span>
     <text:span text:style-name="T2">SPACE</text:span>
     <text:span text:style-name="T2"><text:line-break/></text:span>
     <text:span text:style-name="T2">SECOND STRING</text:span>
     <text:span text:style-name="T2"><text:line-break/></text:span>
     <text:span text:style-name="T2">THIRD STRING</text:span>
     <text:span text:style-name="T2"><text:line-break/></text:span>
     <text:span text:style-name="T2">FOURTH STRING</text:span>
</text:p>

and:

<text:p text:style-name="P3">
     <text:span text:style-name="T3"/>
</text:p>
<text:p text:style-name="P3">
     <text:span text:style-name="T3">FIFTH STRING</text:span>
</text:p>
<text:p text:style-name="P3">
     <text:span text:style-name="T3">(</text:span>
     <text:span text:style-name="T3">SIXTH STRING</text:span>
     <text:span text:style-name="T3">)</text:span>
</text:p>
<text:p text:style-name="P3">
     <text:span text:style-name="T3">(</text:span>
     <text:span text:style-name="T3">SEVENTH STRING)</text:span>
</text:p>


Questions:

1) Is:
     <text:span text:style-name="T2"><text:line-break/></text:span>

a standard way to insert a line break (the equivalent of <br /> in html) ?

2) What is the point having the same style split in different parts of a single string ? Could not we have the first segment like that (all T2 styled parts into one single string):

<text:p text:style-name="P1">
     <text:span text:style-name="T1">FIRST STRING</text:span>
<text:span text:style-name="T2">SPACE<text:line-break/>SECOND STRING<text:line-break/>THIRD STRING<text:line-break/>FOURTH STRING</text:span>
</text:p>

and the others like that:

(<text:p text:style-name="P3">
     <text:span text:style-name="T3"/>
</text:p>) -> removed since empty

<text:p text:style-name="P3">
     <text:span text:style-name="T3">FIFTH STRING</text:span>
</text:p>
<text:p text:style-name="P3">
     <text:span text:style-name="T3">(SIXTH STRING)</text:span>
</text:p>
<text:p text:style-name="P3">
     <text:span text:style-name="T3">(SEVENTH STRING)</text:span>
</text:p>


Jean-Christophe Helary


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

Reply via email to