Hi Albert,

> When I open an OpenOffice document with the API the save button is disabled
> until the document is changed.
> Is there any way to put the save button enabled always?

try:

Sub Main
        ThisComponent.setModified(True)
End Sub

Oliver

--
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to