Write UNO JAVA API get text from a document with tables

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
carlos.lima
Posts: 4
Joined: Tue Jul 10, 2018 3:18 pm

Write UNO JAVA API get text from a document with tables

Post by carlos.lima »

Hi, guys!

I need to get the String text from a document. While I have only text its easy, but, when I add some tables and some text in a cell of some table it's a little more difficult. Can I'm wrong but, apparently we have different contexts. We have the document context and tables context. I'm with some difficulties with this

What best way for this?
OpenOffice 3.1 on Windows Vista
UnklDonald418
Volunteer
Posts: 1549
Joined: Wed Jun 24, 2015 12:56 am
Location: Colorado, USA

Re: Write UNO JAVA API get text from a document with tables

Post by UnklDonald418 »

Do you have Dr. Andrew Davison's book "Java LibreOffice Programming" ?
http://fivedots.coe.psu.ac.th/~ad/jlop/
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Post Reply