Addon- that will read contents from a table from a .doc file

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
pjm123
Posts: 2
Joined: Thu Jul 26, 2012 10:28 pm

Addon- that will read contents from a table from a .doc file

Post by pjm123 »

We are using openoffice to read and highlight words from a .doc file through a java application. OpenOffice highlights the words that are not in table but skips the words from the table of a .doc file. I would like to know whether their is any add-on that solves this problem
openoffice 3.1 windows 7
User avatar
Hagar Delest
Moderator
Posts: 32667
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: addon- that will read contents from a table from a .doc

Post by Hagar Delest »

Hi and welcome to the forum!

This is a very specific question and I doubt there is any extension for that already. So I've moved your topic from the Extensions forum to the Macros forums. Do you have some code to share so that the gurus can have a look?

Remember that the .doc import/export filters have been reverse engineered, it may cause troubles in such case.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
pjm123
Posts: 2
Joined: Thu Jul 26, 2012 10:28 pm

Re: addon- that will read contents from a table from a .doc

Post by pjm123 »

I don't have code to share it with you right now. I would like to know few things:
1. Is there any way to know the beginning of a table
2. Read a sentence at a time from the table
3. Or extract the data(all the sentences at once) from table

Ex. I have a .doc file which contains paragraphs as well as tables. I would like to read the each sentence from the paragraph as well as from the table. So I would like to know if there is any way openoffice can read a table.
openoffice 3.1 windows 7
Post Reply