I'm trying to understand some parts of Apache POI. For instance, i;m trying to get text (or table, etc.) from an existing docx file. For example there is a method getParagraph(..CTP p) in XWPFDocument:
It returns "a paragraph with a CTP class p". But what is CTP class? I've looked inside the xml structure of the document, but didn't find anything similar. As a result i don't know how to call a mthod in the first place. There is also a method getTable(CTTbl CTTbl) for the same XWPFDocument, that returns "a table by its CTtbl-Object.
It seems there is a CP* something for every part/type of data inside ooxml documents, so i'd like to understand how to work with them. Moreover, from the documentation, it seems that those methods are the only direct way to get elements without sticking them into collection, or guessing their position.