You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically I am browsing a source document and selectively add its content to a target document. I would like to preserve styling - in the example above, I am copying a paragrahs text, and then want to apply the same styling.
However, I have no idea how to determine e.g.
font
font size
bold/italic/underline styles
Could you help pointing in the right direction?
Thanks!
The text was updated successfully, but these errors were encountered:
It was years ago that I used this functionality, so I looked into our regression tests of ODFDOM.
Starting in those, that have something do to with Style: https://github.com/tdf/odftoolkit/blob/master/odfdom/src/test/java/org/odftoolkit/odfdom/doc/StyleTest.java#L307
Hope that points you in the right direction!
If you looked in the docu and expected something that was missing, I would be happy if you could fill that gap from what you learned with a PR! :-)
Thanks in adanvce and greetings from Berlin Tegel, Jens, could it be we live just 12km away? ;-)
Svante
Hi,
I am kind of stuck determining the styling of an element. My code looks like this:
Basically I am browsing a source document and selectively add its content to a target document. I would like to preserve styling - in the example above, I am copying a paragrahs text, and then want to apply the same styling.
However, I have no idea how to determine e.g.
Could you help pointing in the right direction?
Thanks!
The text was updated successfully, but these errors were encountered: