bitandblack / idml-creator-demo
为Adobe InDesign创建IDML文件 – DEMO
2.0.0
2023-12-19 13:48 UTC
Requires
- php: >=8.2
- ext-dom: *
- ext-libxml: *
- ext-xsl: *
- bitandblack/composer-helper: ^1.0
- bitandblack/helpers: ^2.0
- bitandblack/idml-writer: ^1.0
- doctrine/annotations: ^1.6
Requires (Dev)
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^10.0
- rector/rector: ^0
- symplify/easy-coding-standard: ^12.0
Suggests
- bitandblack/idml-creator: The full version of the IDML-Creator. This library can be used with Private Packagist
- bitandblack/idml-validator: Validates IDML files by the official schema from Adobe.
- bitandblack/indesign-characters: Special characters used by Adobe InDesign
This package is auto-updated.
Last update: 2024-09-19 15:32:58 UTC
README
IDML Creator DEMO
为Adobe InDesign使用的IDML文件创建内容。
此库是功能有限的演示版本。功能完整的库是私有的,也可以与Composer一起使用。请访问www.idml.dev/en/idml-creator-php.html 获取有关使用和定价的信息。
如何使用
在我们的文档中了解更多关于使用 idml
文件的信息。
安装
此库是为与Composer一起使用而制作的。通过运行 $ composer require bitandblack/idml-creator-demo
将其添加到您的项目中。
示例
您可以在 example
文件夹中找到一个示例代码。调用 singlePage.php
创建包含矩形的基本 idml
文档。
关于此演示
此库旨在展示如何通过PHP创建 idml
文件。还有很多功能缺失。您不能 做的是
- 创建和使用文本框、多边形、椭圆、图片或表格
- 创建和使用段落、单元格、对象或表格样式
- 创建和使用标签、图层或故事
- 使用字体、颜色或颜色配置文件
无论如何,这足以获得一个印象。
IDML文件的验证
Adobe提供了一个IDML文件验证的方案,可以在www.adobe.com下找到。他们只提供基于JAVA的验证。
作为Bit&Black,我们将其移植到PHP,可以使用Composer使用和实现。它可以在packagist.org上找到,名称为 bitandblack/idml-validator
。
帮助
如果您有任何问题,请随时通过 hello@bitandblack.com
联系我们。
有关Bit&Black的更多信息,请访问www.bitandblack.com。