idml

Identify coordinates for a visual element in idml

ぐ巨炮叔叔 提交于 2020-01-02 04:59:26
问题 I need to process Indesign Idml files, generate an image, and overlay other elements over certain elements in html. Given an Indesign Idml file (which is a package of zipped xml) and given a visual element in that file (via a tag in the xml). Is there a way to find at what coordinates on the image that visual element falls? 回答1: The heirarchy of containers for an image in an IDML document is as follows: Document [Contains] > Spread > PageItem > PlacedImage. Pages aren't used as containers,

JsonMappingException (was java.lang.NullPointerException)

心不动则不痛 提交于 2019-12-18 05:58:06
问题 I've been searching for this for a while but haven't found any answers, so either I'm missing something so obvious noone has written anything about it, or I've hit an unusual problem. I'm hoping it's the first... I'm working with a third-party library (IDMLlib) to extract information from an Adobe InDesign document stored in the .idml format. The contents are easily read and stored in an object of type "Idml", which contains everything I need. Now, I want to send this object to a web client

Converting IDML to HTML5 thru script

不打扰是莪最后的温柔 提交于 2019-12-11 04:06:39
问题 I am trying to convert IDML into HTML5 through script, not through InDesign. Everything comes out ok except for the rotated texts in the IDML. When the text is rotated, I take the values from ItemTransform of IDML and follow the geometrical calculations detailed in http://www.adobe.com/products/postscript/pdfs/PLRM.pdf. I get all css values correctly in HTML5 output except the "top" value. If any of you attempted this before, please let me know how to calculate the css values for IDML to

Identify coordinates for a visual element in idml

放肆的年华 提交于 2019-12-05 10:39:29
I need to process Indesign Idml files, generate an image, and overlay other elements over certain elements in html. Given an Indesign Idml file (which is a package of zipped xml) and given a visual element in that file (via a tag in the xml). Is there a way to find at what coordinates on the image that visual element falls? Jude Fisher The heirarchy of containers for an image in an IDML document is as follows: Document [Contains] > Spread > PageItem > PlacedImage. Pages aren't used as containers, and PageItems are stored in spread coordinates, so we can forget about the Document and Page