Hello All -
I am using LibreOffice 5.2 on Ubuntu and trying to see how to best solve this issue.
I would like add Outline Levels 1/2 to 4 Index entries I have so the items in the 4 indexes, when inserted at Level 3, show up under the Outline Levels 1/2 added at levels 1/2 in those Indexes.
I have been able to do this manually to get the desired effect.
However, I wanted to see whether one or both of the following are true:
- If this could be done as part of feature already in LO 5.2
- Or whether this needed to be done programmatically through a macro?
If programmatically through a macro then I assume the following rough pseudocode would be necessary:
- Check the 4 indexes and if any item in those indexes appear at Levels 1/2 then move them to Level 3 if they are not in Outline Levels 1/2.
- For each Outline Level 1/2 add to the 4 Indexes at Levels 1/2.
I am a programmer and was hoping to write it in Basic using the XDocumentIndexes. I am assuming there is a Outline Index or some interface to access the Outlines also.
I assume Basic would be best language as it is the default language? I am a good Python programmer.
However, I assume setup is already there for Basic in LO.
Would appreciate hearing from you on how to best accomplish this. If LO already has this feature then how do I use it? And if programming, then where would be a good place to start in accessing the Indexes please.
Thank you for your help and suggestions.
Mono