von Stephan » Mi, 16.12.2015 14:37
über Java weiß ich nichts, in StarBasic so:
Code: Alles auswählen
Sub Main
'alle Eigenschaften.DocumentInfo
Msgbox ThisComponent.DocumentInfo.dbg_properties
'lesen von .DocumentInfo.Author
Msgbox ThisComponent.DocumentInfo.Author
'schreiben von .DocumentInfo.Author
ThisComponent.DocumentInfo.Author = "Neuer Autor"
End Sub
Gruß
Stephan
über Java weiß ich nichts, in StarBasic so:
[code]Sub Main
'alle Eigenschaften.DocumentInfo
Msgbox ThisComponent.DocumentInfo.dbg_properties
'lesen von .DocumentInfo.Author
Msgbox ThisComponent.DocumentInfo.Author
'schreiben von .DocumentInfo.Author
ThisComponent.DocumentInfo.Author = "Neuer Autor"
End Sub
[/code]
Gruß
Stephan