OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

PDF export: No clickable Table of Contents?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Josh83
General User
General User


Joined: 03 Jan 2007
Posts: 12

PostPosted: Thu Jan 04, 2007 5:25 am    Post subject: PDF export: No clickable Table of Contents? Reply with quote

Hi all

When I export a document as PDF then the TOC is not clickable; I'd like it to be, so I can simply click on an entry and jump to the appropriate section of the PDF document.

Is that possible somehow?

Thanks,
Joshua
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Thu Jan 04, 2007 5:43 am    Post subject: Reply with quote

Use the Tools>Outline Numbering feature (heading styles used have to be declared in each level). Then make your TOC hyperlinked (add the Hyperlink tag to the Structure line in the Entries tab of the Index dialog. Bookmarks are automatically created.

Don't forget to search the forum before posting.

Thanks to add '[Solved]' in your first post title (edit button) if it's ok.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
jeanweber
Moderator
Moderator


Joined: 30 Dec 2005
Posts: 674
Location: Queensland, Australia

PostPosted: Thu Jan 04, 2007 9:08 pm    Post subject: Re: PDF export: No clickable Table of Contents? Reply with quote

Josh83 wrote:
When I export a document as PDF then the TOC is not clickable; I'd like it to be, so I can simply click on an entry and jump to the appropriate section of the PDF document.

You might find Chapter 12, "Creating Tables of Contents..." in the Writer Guide helpful.
_________________
Regards, Jean Hollis Weber
Get free PDFs of OOo user guides from http://wiki.services.openoffice.org/wiki/Documentation/
Printed copies http://www.lulu.com/opendocument
Back to top
View user's profile Send private message Visit poster's website
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Thu Jan 04, 2007 10:54 pm    Post subject: Reply with quote

Or just in the internal OOo help section clicking on the Help button in the Insert Table or Index dialog.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
jeanweber
Moderator
Moderator


Joined: 30 Dec 2005
Posts: 674
Location: Queensland, Australia

PostPosted: Thu Jan 04, 2007 11:57 pm    Post subject: Reply with quote

Hagar de l'Est wrote:
Or just in the internal OOo help section clicking on the Help button in the Insert Table or Index dialog.

Yes, it's in the Help, but the Writer Guide chapter has illustrations thatmake it easier for many people to understand what the Help says. I find that I often have to puzzle over the Help, but as soon as I see a diagram, then it makes sense to me.
_________________
Regards, Jean Hollis Weber
Get free PDFs of OOo user guides from http://wiki.services.openoffice.org/wiki/Documentation/
Printed copies http://www.lulu.com/opendocument
Back to top
View user's profile Send private message Visit poster's website
Josh83
General User
General User


Joined: 03 Jan 2007
Posts: 12

PostPosted: Fri Jan 05, 2007 3:36 am    Post subject: Reply with quote

Thank you both for these great hints! Smile
_________________
Work: SUSE 10 Smile
Home: Mac OS X 10.4 Very Happy
Kindergarten: Windows XP Embarassed
Back to top
View user's profile Send private message
Josh83
General User
General User


Joined: 03 Jan 2007
Posts: 12

PostPosted: Sat Jan 06, 2007 8:39 am    Post subject: Reply with quote

Thanks a lot guys, I've got it to work now in OOo, but I experience the following strange behavior:

In OOo the links are clickable independent from the chosen Character Style. But when I export it as PDF then Preview (the OSX PDF viewer) does only show clickable links when I choose the "Internet Link" character style...! Is that normal?
I don't like the look of the internet links, so I'd like them to look as if they were not clickable, but still they should be clickable.

Thanks for help
_________________
Work: SUSE 10 Smile
Home: Mac OS X 10.4 Very Happy
Kindergarten: Windows XP Embarassed
Back to top
View user's profile Send private message
Bhikkhu Pesala
Super User
Super User


Joined: 23 Aug 2005
Posts: 2324
Location: Seven Kings, London, UK

PostPosted: Sat Jan 06, 2007 10:26 am    Post subject: Reply with quote

Josh83 wrote:
I don't like the look of the internet links, so I'd like them to look as if they were not clickable, but still they should be clickable.

You can edit the Internet Link character style to remove the underlining. I suggest using some other attribute though to distinguish them from plain text. I use dark blue instead of black text.
_________________
Fonts * Opera * Oo Tips * FAQ * New Forum
Oo 2.3.1 * Win XP
Back to top
View user's profile Send private message Visit poster's website
Josh83
General User
General User


Joined: 03 Jan 2007
Posts: 12

PostPosted: Sat Jan 06, 2007 10:48 am    Post subject: Reply with quote

Thanks, I know that. But is only internet link style meant to be clickable? I can't imagine that...
_________________
Work: SUSE 10 Smile
Home: Mac OS X 10.4 Very Happy
Kindergarten: Windows XP Embarassed
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Sat Jan 06, 2007 12:25 pm    Post subject: Reply with quote

Josh83 wrote:
is only internet link style meant to be clickable?

No. I've already tested a custom character style to remove the default formatting and it does work. Is the link clickable in OOo ? If so, it should be fine in the PDF export. Have you tried another PDF viewer if you have one ?
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
Josh83
General User
General User


Joined: 03 Jan 2007
Posts: 12

PostPosted: Sat Jan 06, 2007 1:40 pm    Post subject: Reply with quote

Take a look yourself...

Clickable:
http://www.josh.ch/files/temp/doc_with_default.odt

Not clickable:
http://www.josh.ch/files/temp/doc_with_default.pdf

Clickable:
http://www.josh.ch/files/temp/doc_with_hyper_links.odt

Clickable
http://www.josh.ch/files/temp/doc_with_hyper_links.pdf

I don't have another PDF viewer installed, so I can't test it...
_________________
Work: SUSE 10 Smile
Home: Mac OS X 10.4 Very Happy
Kindergarten: Windows XP Embarassed
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Sun Jan 07, 2007 2:19 am    Post subject: Reply with quote

I just tried from your documents and it works :
- create a new character style based on Default;
- right click on your index and choose Edit
- in the Insert Index dialog, go to the Entries tab;
- click on the hyperlink start tag in the Structure line;
- set your new character style in the field below;
- do the same for the hyperlink end tag;
- click on the All button (to apply this on all levels;
- OK, it should be fine now.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group