Libraryless. Click here for Pure Java version (1362L/9K/31K).
!752 p { File odt = new File(userHome(), "Documents/super-state.odt"); S xml = loadTextFileFromZip(odt, "content.xml"); L<S> tok = htmlcoarsetok(xml); //psl(tok); L<L<S>> paragraphs = findContainerOrEmptyTag(tok, "text:p"); psl(paragraphs); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005089 |
| Snippet name: | Load text from .odt |
| Eternal ID of this version: | #1005089/1 |
| Text MD5: | f3b19955b373c8c5570d4c0cfcf18d66 |
| Transpilation MD5: | 6e422c50a00ff750d2eb57c5d012fbd4 |
| Author: | stefan |
| Category: | javax / loading |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-10-16 16:43:38 |
| Source code size: | 264 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 812 / 929 |
| Referenced in: | #1005091 - paragraphsFromODT - get raw tokenized paragraphs from .odt #1005092 - Extract raw text from .odt |