This is a scenario for creating headings in documents and production of valid table of contents in the result PDF (PDF “bookmarks”).
Disclaimer: You are free to reuse it “as-is”, on your own responsibility and without any guarantee whatsoever. No rights can be derived from, successfully or unsuccessfully, completing the steps outlined below.
1. Create document:
2. Insert a document TOC
Insert a Table of Contents for the entire document:
Place the table below the paragraph that reads “text 1”.
|ODF file||PDF preview|
A list of known issues. Implementations not listed here may or may not work as expected. Results may vary depending on user settings and computer environment. Use at your own risk.
Step 1 (PDF results generated by the following tools using the Office Shots server application) (Note: this also tests PDF-creation, so issues may be PDF-related):
|001||OK||OOo 3.1||Symphony 1.3 (Windows)||OK|
|002||OK||OOo 3.1||OOo 3.1 (Windows)||bookmarks generated okay, references work|
|003||OK||OOo 3.1||Go-OO 3.0 (Linux/BSD)]]||bookmarks generated okay, references work|
|004||Open||OOo 3.1||Aspose 6.4.1 (Windows)||no bookmarks|
|005||Open||OOo 3.1||AbiWord 2.6.8 (Linux/BSD)||no bookmarks|
Step 2 (PDF results generated by the following tools using the Office Shots server application) (Note: this also tests PDF-creation, so issues may be PDF-related):
|001||Open||OOo||AbiWord 2.6.8 (Linux/BSD)||TOC contains unexpected numbering|
|002||OK||OOo||Go-OO 3.0 (Linux/BSD)||OK|
|003||Open||OOo 3.0.1 (Ubuntu)||Symphony 1.3 (Windows)||TOC background gray is actual gray (is exported to PDF as gray). When the document is saved again and opened in OpenOffice 3.0.1 ubuntu and printed to PDF again, the background is blank as originally expected.|