Johnny Rosenberg wrote:
2008/2/12, Andrew Douglas Pitonyak <[EMAIL PROTECTED]>:
It ignores all paragraphs that are not of the style:
"First paragraph", "Text body", "Standard"
Does this mean that if someone, like me, are using the Swedish (or other
language) version of OpenOffice.org, the standard names of the styles has to
be changed into the English names?
J.R.
Just so you know. This can be confusing and cause unexpected results.
Yes, it means exactly this. You have two choices.
1. Modify the macro to indicate the style names that you desire.
or
2. Accept all styles.
Change
Function UseThisParagraphStyle(ParagraphStyle) As Boolean
UseThisParagraphStyle = False
Select Case ParagraphStyle
Case "First paragraph", "Text body", "Standard", "OOoTextBody"
UseThisParagraphStyle = True
End Select
End Function
to
Function UseThisParagraphStyle(ParagraphStyle) As Boolean
UseThisParagraphStyle = True
End Function
Either change is easy to perform. Annoying, but easy.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]