Libraryless. Click here for Pure Java version (1362L/9K/31K).
1 | !752 |
2 | |
3 | p {
|
4 | File odt = new File(userHome(), "Documents/super-state.odt"); |
5 | S xml = loadTextFileFromZip(odt, "content.xml"); |
6 | L<S> tok = htmlcoarsetok(xml); |
7 | //psl(tok); |
8 | L<L<S>> paragraphs = findContainerOrEmptyTag(tok, "text:p"); |
9 | psl(paragraphs); |
10 | } |
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: | 810 / 927 |
| Referenced in: | [show references] |