Creating IDML files for Adobe InDesign – DEMO
IDML Creator DEMO
Creates content for IDML files used by Adobe InDesign.
This library is a demo version with a limited number of functions. The full-functional library is a private one and can be used with Composer too. Visit idml-creator.bitandblack.com to find information about the usage and the pricing.
How to use
Read more about the use of
idml files in our documentation.
This library is made for the use with Composer. Add it to your project by running
$ composer require bitandblack/idml-creator-demo.
You can find an example code in the
example folder. Call
singlePage.php to create a basic
idml document containing a rectangle.
About this demo
This library wants to give an idea how it is to create
idml files via PHP. There are a lot of functions missing. What you can't do is:
- Create and use TextFrames, Polygons, Ovals, Images or Tables
- Create and use Paragraph, Cell, Object or Table Styles
- Create and use Tags, Layers or Stories
- Use Fonts, Colors or Color Profiles
Anyway it will be enough to get an impression.
Validation of IDML files
Adobe provides a schema for the validation of IDML files, which can be found under www.adobe.com. They provide a JAVA based validation only.
If you have questions feel free to contact us under