How it is possible to get the Alt Text from a Table in Word

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How it is possible to get the Alt Text from a Table in Word

fusulbashi
Hi,
how it's possilbe to geht the Alt Text, eg. Description and Title, from a Table in Word ?
In the Debugg Mode, i can see the Information, but i don't find any method to use them.

Hopefully some can help me.

Thnx, for help.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: How it is possible to get the Alt Text from a Table in Word

Murphy, Mark
As I mentioned on SO, this feature is not in the 2006 schema that POI uses. In order to do what you want to do, you will have to retrieve the XML for the table, and manually parse the tblCaption node out of the table Parameters. Start with XWPFTable.getCTTLB(). Then you may be able to use XMLBeans methods to retrieve the node you are looking for.

-----Original Message-----
From: fusulbashi [mailto:[hidden email]]
Sent: Wednesday, May 03, 2017 5:26 AM
To: [hidden email]
Subject: How it is possible to get the Alt Text from a Table in Word

Hi,
how it's possilbe to geht the Alt Text, eg. Description and Title, from a Table in Word ?
In the Debugg Mode, i can see the Information, but i don't find any method to use them.

Hopefully some can help me.

Thnx, for help.



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/How-it-is-possible-to-get-the-Alt-Text-from-a-Table-in-Word-tp5727440.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...