You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nick Burch <ap...@gagravarr.org> on 2015/09/01 13:15:07 UTC
Re: Zoom settings for XWPF?
On Fri, 28 Aug 2015, Mark Beardsley wrote:
> Thanks Dominic, I will not bother digging any further into the api to
> discover how to convert from the string descriptor into the relationship ID,
> how to get this "rId4", from this
> "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings".
> I am not happy assuming that the settings part of the archive is always
> referenced by the ID 'rId4' either.
You should fetch, using the OPC package part support, the relationship
from the document part to the settings part. That'll give you the
relationship ID to use. I think POIXMLDocumentPart should have a method to
get you that
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Zoom settings for XWPF?
Posted by Mark Beardsley <ma...@tiscali.co.uk>.
Thanks Nick, good to know for future reference. As Dominic has added lots of
getters and setter to the XWPFDocument class that expose the various
settings I am not going any further with this but in the future, who knows
what questions may come up.
--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Zoom-settings-for-XWPF-tp5719896p5719994.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org