【问题标题】:Is there anymore documentation on the IDML HTMLItem specification and HTMLItem poster property?是否还有关于 IDML HTMLItem 规范和 HTMLItem 海报属性的文档?
【发布时间】:2015-05-03 23:28:18
【问题描述】:

我正在使用 IDML 文档进行编码,并且正在寻找有关 IDML HTMLItem 的更多信息。我同时拥有 IDML 规范的第 7 版和第 8 版,并且没有找到更多信息,然后在第 8 版的“新元素”中稍作提及,

HtmlItem 元素已作为子元素添加到 元素,元素(参见第 91 页的“图形”), 元素,元素和元素。这 element 是嵌入的 HTML 项。

有没有人找到这个特定对象或其属性的更多详细信息? 具体来说,有一个名为“海报”的属性,看起来像缩略图数据。这是我的例子:

            <HtmlItem Self="udc" HtmlContent="This &lt;i&gt;is an&lt;/i&gt; &lt;b&gt;HTML snippet &lt;/b&gt;&lt;b&gt;&lt;i&gt;DUDE&lt;/i&gt;&lt;/b&gt;." FixedDimensions="true" RelativeSubPath="This &lt;i&gt;is an&lt;/i&gt; &lt;b&gt;HTML snippet &lt;/b&gt;&lt;b&gt;&lt;i&gt;DUDE&lt;/i&gt;&lt;/b&gt;." ParentInterfaceChangeCount="" TargetInterfaceChangeCount="" LastUpdatedInterfaceChangeCount="" OverriddenPageItemProps="" HorizontalLayoutConstraints="FlexibleDimension FixedDimension FlexibleDimension" VerticalLayoutConstraints="FlexibleDimension FixedDimension FlexibleDimension" LocalDisplaySetting="Default" AppliedObjectStyle="n" Visible="true" Name="$ID/" ItemTransform="1 0 0 1 -50 -50">
                <Properties>
                    <Poster><![CDATA[iVBORw0KGgoAAAANSUhEUgAAAMgAAAAmCAYAAACBFtRsAAAFtklEQVR42u1cPY7yP...==]]></Poster>
                    <PathBoundingBox Left="0" Top="0" Right="200" Bottom="38" />
                    <GraphicBounds Left="0" Top="0" Right="200" Bottom="38" />
                </Properties>
                <TextWrapPreference Inverse="false" ApplyToMasterPageOnly="false" TextWrapSide="BothSides" TextWrapMode="None">
                    <Properties>
                        <TextWrapOffset Top="0" Left="0" Bottom="0" Right="0" />
                    </Properties>
                </TextWrapPreference>
            </HtmlItem>

我删除了海报标签的全部价值,但我已将其粘贴到http://pastebin.com/s5ZfFfyW 的垃圾箱中。 这是 base64 编码的图像数据吗?

InDesign 文档 - http://www.adobe.com/devnet/indesign/documentation.html#idml

【问题讨论】:

  • 这看起来像 Base-64 encoded 数据。使用a random Base64 decoder 解压缩它,我得到一个PNG 文件,可以通过其标题识别,其中包含一个图像,上面写着“这是一个HTML sn-p DUDE”。 (希望你知道那是从哪里来的。)
  • 好的。谢谢!我之前尝试过该站点,但我再次尝试并选择了解码并将输出文件名从“base64.bin”更改为“base64.png”并下载了文件,它显示了我创建的内容的图像。
  • 知道了,你现在也许可以在文档中找到它了。
  • Erm,根据搜索词“base”、“base64”、“base 64”和“encoding”搜索相关主题时运气不佳。

标签: base64 adobe-indesign idml


【解决方案1】:

目前没有其他文档。在测试中,poster 属性似乎包含 Base-64 编码数据。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多