Issue 78197 - Unable to create Table of Contents (TOC) with hyperlink
Summary: Unable to create Table of Contents (TOC) with hyperlink
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: ildella77
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2007-06-07 16:29 UTC by ildella77
Modified: 2017-05-20 09:32 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.0.0
Developer Difficulty: ---


Attachments
test case with test document (6.10 KB, application/x-tar)
2007-06-07 16:30 UTC, ildella77
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ildella77 2007-06-07 16:29:46 UTC
I have already a thread about thi subject:
ttp://www.oooforum.org/forum/viewtopic.phtml?t=58071

I attach a test case. You need JodConverter and Junit 4 and, of course, OOo UNO
Java libraries and soffice service running:
soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
-nologo -headless &

Expected: generation of TOC with hyperlinks. 
Actually: TOC is generated but there are no hyperlinks. 

If you are able to edit the Index Table of the generated document you can see
that the Entries options are the same that you set via OOo GUI. And that the
preview show the hyperlink. 

Here I need to have a running OpenOffice (not the service) to be able to edit
the Index Table options in the generated document.
Comment 1 ildella77 2007-06-07 16:30:37 UTC
Created attachment 45733 [details]
test case with test document
Comment 2 jsc 2007-06-12 17:01:24 UTC
jsc -> os: seems to be a notification is missing or what do you think
Comment 3 Oliver Specht 2007-06-13 09:57:59 UTC
->ildella77: Could you please attach the resulting odt-document to this issue.
Comment 4 sandyraghav 2007-09-19 13:50:46 UTC
I am using Visual Basic 6.0 with OpenOffice 2.0 to generate OO documents and
though TOC has been generated in the document but there is no hyperlink
Comment 5 Oliver Specht 2007-09-24 15:00:56 UTC
->ildella77: Could you provide you resulting example document as odt - the
attached tar.gz contains a rtf-file which doesn't contain any TOC. 

As I don't intend to try your code myself: Do you get any exceptions when you
run you program?
Comment 6 sandyraghav 2007-09-25 06:32:28 UTC
Sorry guys...I am able to generate the TOC with hyperlinks..please focus on 
the original request
Comment 7 Mechtilde 2010-02-05 18:12:27 UTC
does this problem still exists
Comment 8 Edwin Sharp 2013-05-17 13:17:48 UTC
No TOC in attachment.

Rev. 1479897 Win 7