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.
One point I feel I should mention is that one of the objects I used was
unnecessary. This piece of code;
corePart = this.doc.getPart();
partsList = corePart.getRelations();
partsListIter = partsList.iterator();
should really be this;
partsList = this.doc.getRelations();
partsListIter = partsList.iterator();
as it is possible to call the getRelations() method on the XWPFDocument
itself without any need to recover a reference to the PackagePart.
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/Zoom-settings-for-XWPF-tp5719896p5719968.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]