[ILUGC] How to add Table Of Contents to a odt file using libreoffice writer python UNO ?

  • From: Shrinivasan T <tshrinivasan@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Wed, 20 Jun 2018 17:44:39 +0530

Hello all,

I am exploring on automating the ebooks making process with
libreoffice writer and python UNO.

The below links are helpful for the basics.

http://christopher5106.github.io/office/2015/12/06/openoffice-libreoffice-automate-your-office-tasks-with-python-macros.html

https://documenthacker.files.wordpress.com/2013/07/writing_documents-_for_software_engineers_v0002.pdf

Now I need to add Table of Contents on page 2.
using python.

Cant find the API in https://api.libreoffice.org/docs/idl/ref/index.html

Do we have anyone here working/worked on uno, python, libreoffice macros?

Please share your thoughts on how to add ToC.

Thanks.

-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get Free Tamil Ebooks for Android, iOS, Kindle, Computer :
http://FreeTamilEbooks.com
_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts: