| View previous topic :: View next topic |
| Author |
Message |
mr_lou Newbie

Joined: 09 Dec 2008 Posts: 2
|
Posted: Tue Dec 09, 2008 2:35 am Post subject: Linking to ODT or DOC with bookmark not working |
|
|
Hello
I'd like to be able to open a document from a webpage, and jump to specific bookmark, like this:
<a href="myDocument.odt#myBookmark">Link</a>
or
<a href="myDocument.doc#myBookmark">Link</a>
The above code does open the document, but it does not jump to the bookmark.
(Microsoft Office had the same bug in older versions, but it was fixed in 2002 afaik.)
If you open a command prompt and open the document from here, like this.
swriter.exe myDocument.odt#myBookmark
- then it does open and jump to the bookmark, as it should.
Does anyone know of a workarround for webpages?
Thanks in advance. |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4601 Location: Netherlands
|
Posted: Tue Dec 09, 2008 3:25 am Post subject: |
|
|
Save the file as html or xhtml instead of odt. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
mr_lou Newbie

Joined: 09 Dec 2008 Posts: 2
|
Posted: Tue Dec 09, 2008 10:18 am Post subject: |
|
|
| Thanks, but I need it to be odt or doc, preferably doc. |
|
| Back to top |
|
 |
|