

Saving openoffice documents as pdf pdf#
To export a document to PDF click on the button in the Standard Toolbar. When sharing documents with others it's a good practice to use the PDF format. You may also choose to change the file name.

While working on a document you should save your changes frequently to avoid loss of your work in case of power loss or other system failure. Unlike exporting to other formats, PDF documents will await exactly as the document appears on your screen. From now on every time you press the save button all your changes will be automatically saved. The first time you save a document the Save as Dialog appears and prompts you to give a name, path and file format for the document (the default format is odt).
Saving openoffice documents as pdf code#
To open a document stored on your computer or other remote location use the icon and specify the file location in the Open File dialog window. Code which I am using for saving is //close the document XCloseable xcloseable (XCloseable) UnoRuntime.queryInterface(XCloseable. You can also create a new Writer document using the icon from the Standard Toolbar. When you open Writer by default creates a new empty document. All file operations can be accessed using the buttons in the Standard Toolbar or the File menu item.
