Hi list-members,
In the OOo Hebrew version, I can use the following macro code to get the
English names of all paragraph styles in a document:
oFamilies = ThisComponent.StyleFamilies
oStyles = oFamilies.getByName("ParagraphStyles")
sMsg = ""
mStyleNames = oStyles.getElementNames()
For i = LBound(mStyleNames) To UBound (mStyleNames)
sMsg=sMsg + i + " : " + mStyleNames(i) + Chr(13)
If ((i + 1) Mod 21 = 0) Then
MsgBox sMsg,0,"ParagraphStyles"
sMsg = ""
End If
Next i
MsgBox sMsg,0,"Paragraph Styles"
How do I get the localized Hebrew names of the styles?
Thanks,
Alan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
For additional commands, e-mail: dev-h...@l10n.openoffice.org