Hi Denis,

Denis Fuenzalida <denis.fuenzal...@gmail.com> writes:

> I've created a small gist which shows how to use the ODFDOM API which
> is much simpler to use:
>
> https://gist.github.com/dfuenzalida/a1e9755e9b2e7f638620

Thanks a lot for this!  I tested it and I can get the human readable
text from an arbitrary .odt file.

My next purpose is to get what getTextContent gives me, but with new
lines preserved -- I used "getContentDom" so that I can get the full
DOM and find new lines by replacing <text:p...>...</text:p> ... but
this feel dirty.  Do you know if I can get paragraphs easily?  Or
should I manipulate the DOM with some other XML parsing tool?

Thanks for your time,

-- 
 Bastien

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to