Hi Dasiy, Hi Devin,
Am 26.09.2011 08:05, schrieb Devin Han: ... >> Daisy or Devin you once implemented the text extraction for the complete >> document, right? >> org.odftoolkit.odfdom.incubator.doc.text.OdfEditableTextExtractor >> Is this as well accessible via the Simple API? I could not find it. >> >> In this context, when I looked for the extraction functionality, I >> stumpled over the method getFooter()/getHeader(). >> > We supply the following, not thinking as simple as in your mind: > public Footer getFooter; > public Footer getFooter(boolean isFirstPage); > public Header getHeader(); > public Header getHeader(boolean isFirstPage); You offer those methods on the test document. Do you believe, you cover full ODF 1.2 header/footer functionality? If not what do you think is missing. (for hint see blow).. >> You return those from the document without a context. But there might be >> multiple header/footer in a document. >> One pair for each master page style, therefore you need a context or >> your simplification is only a good guess, but sometimes wrong. >> - Svante
