Translation:Page Item Containing an Imported Graphic

From IDMLWiki

Jump to: navigation, search

Contents

配置画像を含むページオブジェクト

配置された画像は常にページオブジェクトの内部にあります。そのページオブジェクトは長方形、直線、楕円または多角形です。グラフィックフレームのページオブジェクトに対しての特別なクラスはありません。

スキーマの例29 Imageスキーマ
  1. mage_Object = element Image {
  2.   attribute Self { xsd:string },
  3.   attribute FillColor{  xsd:string }?,
  4.   attribute FillTint{  xsd:double }?,
  5.   attribute OverprintFill{  xsd:boolean }?,
  6.   attribute Nonprinting { xsd:boolean }?,
  7.   attribute Space { xsd:string }?,
  8.   attribute ActualPpi{  list { xsd:double ,xsd:double } }?,
  9.   attribute EffectivePpi{  list { xsd:double ,xsd:double } }?,
  10.   attribute ImageRenderingIntent{  RenderingIntent_EnumValue }?,
  11.   attribute LocalDisplaySetting{  DisplaySettingOptions_EnumValue }?,
  12.   attribute ImageTypeName{  xsd:string }?,
  13.   attribute AppliedObjectStyle{  xsd:string }?,
  14.   attribute ItemTransform{  TransformationMatrixType_TypeDef }?,
  15.   element Properties {
  16.     element Profile {
  17.       (enum_type, Profile_EnumValue ) |
  18.       (string_type, xsd:string )
  19.     }?&
  20.     element Contents { text }?&
  21.     element GraphicProxy{  text }?&
  22.     element ClippingPathGeometry{  element GeometryPath{  GeometryPath_TypeDef }*
  23.     }?&
  24.     element GraphicBounds{  RectangleBoundsType_TypeDef }?&
  25.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  26.     }?
  27.   }
  28.   ?
  29.   ,
  30. (
  31.   TransparencySetting_Object?&
  32.   StrokeTransparencySetting_Object?&
  33.   FillTransparencySetting_Object?&
  34.   ContentTransparencySetting_Object?&
  35.   TextWrapPreference_Object?&
  36.   MetadataPacketPreference_Object?&
  37.   Link_Object*&
  38.   ClippingPathSettings_Object?&
  39.   ImageIOPreference_Object?&
  40.   GraphicLayerOption_Object?&
  41.   LayerCompOption_Object?
  42. )
  43. }
表34 属性としてのImageプロパティ
名前 必須 説明
AppliedObjectStyle string 適用するオブジェクトスタイル
FillColor string 塗りに適用するスウォッチ(カラー、グラデーション、濃淡または混合インキ)
FillTint double 塗りの濃淡(0-100。継承またはオーバーライドは-1)
ImageRenderingIntent RenderingIntent_EnumValue マッチング方法。UseColorSettings(ドキュメントの画像インテントを使用)、Perceptual(知覚的)、Saturation(彩度)、Relativecolorimetric(相対的な色域を維持)またはAbsolutecolorimetric(絶対的な色域を維持)
ImageTypeName string イメージのタイプ
ItemTransform TransformationMatrixType_TypeDef 変換行列
LocalDisplaySetting DisplaySettingOptions_EnumValue 表示画質。HighQuality(高品質表示)、Typical(高速表示)、Optimized(一般表示)またはDefault(親オブジェクトのデフォルトの設定)
Nonprinting boolean trueのとき、イメージは印刷されない
OverprintFill boolean trueのとき、塗りはオーバープリントになる。falseのとき、ノックアウトになる
Space string カラースペース
ClippingPathGeometry GeometryPath クリッピングパス
Contents text 画像が外部リンクではなく埋め込まれているとき、このエレメントに画像のデータを含む
GraphicBounds RectangleBounds [x1, y1, x2, y2]で表される境界線
GraphicProxy text プロクシイメージ
Profile Profile_EnumValueまたはstring プロファイル。プロファイルの列挙か文字列を返す。PostScriptCMS(PostScript CMSプロファイルを使用)、UseDocument(ドキュメントのプロファイルを使用)、Working(作業用プロファイルを使用)またはNoCMS(CMSプロファイル不使用)

下記は長方形の中に配置された画像の例です。(前の例と同じ)XMPメタデータを省略してみましょう。

IDMLの例20 配置画像を含むページオブジェクト
  1. <Rectangle Self="ucd" ItemTransform=" 1 0 0 1 0 0">
  2.   <Properties>
  3.     <PathGeometry>
  4.       <GeometryPath PathOpen=" false">
  5.         <PathPointArray>
  6.           <PathPointType Anchor="72 -324" LeftDirection=" 72 -324" RightDirection=" 72 -324"/>
  7.           <PathPointType Anchor="72 -252" LeftDirection=" 72 -252" RightDirection=" 72 -252"/>
  8.           <PathPointType Anchor="144 -252" LeftDirection=" 144 -252" RightDirection=" 144 -252"/>
  9.           <PathPointType Anchor="144 -324" LeftDirection=" 144 -324" RightDirection=" 144 -324"/>
  10.         </PathPointArray>
  11.       </GeometryPath>
  12.     </PathGeometry>
  13.   </Properties>
  14.   <Image Self="udd" Space="$ID/#Links_RGB" ActualPpi=" 300 300" EffectivePpi=" 500 500" ImageRenderingIntent=" UseColorSettings" LocalDisplaySetting=" Default" ImageTypeName="$ ID/JPEG" AppliedObjectStyle=" ObjectStyle/$ ID/[None]" ItemTransform=" 0.6 0 0 0.6 64.77191011235956 -335.27547826086965">
  15.     <Properties>
  16.       <Profile type="string">$ID/Embedded</Profile>
  17.       <GraphicBounds Left="0" Top="0" Right="144" Bottom="157.44"/>
  18.     </Properties>
  19.     <Link Self="ue2" AssetURL="$ ID/" AssetID="$ ID/" LinkResourceURI=" file://ruri/documents/IDML/assets/pumpkin.jpg" LinkResourceFormat="$ ID/JPEG" StoredState=" Normal" LinkClassID=" 35906" LinkClientID=" 257" LinkResourceModified=" false" LinkObjectModified=" false" ShowInUI=" true" CanEmbed=" true" CanUnembed=" true" CanPackage=" true" ImportPolicy=" NoAutoImport" ExportPolicy=" NoAutoExport" LinkImportStamp=" file 128385019586602016 396019" LinkImportModificationTime=" 2007-11-02T11:32:38" LinkImportTime=" 2008-06-12T17:37:35"/>
  20.     <ClippingPathSettings ClippingType=" None" InvertPath=" false" IncludeInsideEdges=" false" RestrictToFrame=" false" UseHighResolutionImage=" true" Threshold="25" Tolerance="2" InsetFrame ="0" AppliedPathName="$ ID/" Index="-1"/>
  21.     <ImageIOPreference ApplyPhotoshopClippingPath=" true" AllowAutoEmbedding=" true" AlphaChannelName="$ ID/"/>
  22.   </Image>
  23. </Rectangle>

画像は長方形より少し大きくなっています。InDesignのUIで画像を選択すると、画像の境界線が長方形の外側にあることがわかります。(下の図は、画像が選択された状態です。ライトブルーのグラフィックフレームが、画像の境界線の内側にあります)

図19 配置画像を含むページオブジェクト

Image:Fig019.png

Personal tools