Re: [jopendocument] Update Table of Contents (index) in a ODT file

2019-04-26 Thread Guillaume Maillard
Hi,

It's not an easy task, for now the "quick fix" is to add a script in the
document which triggers the update by the word processor when the document
is opened.

Regards,
Guillaume

Le ven. 19 avr. 2019 à 20:18, Enrique Guzmán  a écrit :

> Hello. I'm trying to programmatically update the table of contents in an
> odt file, has anybody done that?
>
> Thank you.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jOpenDocument" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jopendocument+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jopendocument] Update Table of Contents (index) in a ODT file

2019-04-19 Thread Enrique Guzmán
Hello. I'm trying to programmatically update the table of contents in an 
odt file, has anybody done that?

Thank you.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jopendocument] update table of contents

2011-01-31 Thread Guillaume Maillard
Hi,

The easy way to update the table of content is to add a script starting when
opening the document.
Juste call the refresh table content function of OpenOffice.

If you want to do that in Java, I will have to write a book :)  No time yet!

Regards,
Guillaume


2011/1/31 annug annunziato.gr...@gmail.com

 hello,

 I'm trying to update the table of contents by odt file. With
 JOpenDocuments  I do not know how. Does anyone know how to help me?

 thanks