Hallo Andreas, Andreas Borutta schrieb: > > > > Sub test > > xxx = ThisComponent.StyleFamilies.getByName("ParagraphStyles") > > cursor = ThisComponent.text.CreateTextCursor > > cursor.GotoStart(False) > > For i = 0 to xxx.Count-1 > > Cursor.String = xxx.GetByIndex(i).Name & " (" & > > Für diese Zeile wird eine Fehlermeldung angezeigt. > "Unerwartetes Symbol ..." > > > xxx.GetByIndex(i).DisplayName & ")" > > Cursor.GotoEndofParagraph(False) > > ThisComponent.Text.insertControlCharacter(Cursor, > > com.sun.star.text.ControlCharacter.PARAGRAPH_BREAK, False)
naja, das wird in der Email umgebrochen, das xxx.GetByIndex ... gehört zur selben Zeile und unten gibt es nochmal ne Zeile die in der Email auch geteilt ist. Ach, egal ich schick Dir ne PM mit Anhang. Gruß Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]