Translation:Anchored Graphics

From IDMLWiki

Jump to: navigation, search
アンカー付きオブジェクト

アンカー付きオブジェクトには、グラフィックを含むものもあります。「アンカー付きオブジェクトのテキストフレーム」と同じルールです。

IDMLの例47 アンカー付きオブジェクト
  1. <Story Self="uce">
  2.   <ParagraphStyleRange SpaceAfter=" 12">
  3.     <CharacterStyleRange>
  4.       <Content>This is an example paragraph. We've ve inserted an anchored frame containing a graphic in the second paragraph.</Content>
  5.       <Br/>
  6.     </CharacterStyleRange>
  7.   </ParagraphStyleRange>
  8.   <ParagraphStyleRange Justification="CenterAlign">
  9.     <CharacterStyleRange>
  10.       <Rectangle Self="uec" ItemTransform=" 1 0 0 1 0 0">
  11.         <Properties>
  12.           <PathGeometry>
  13.             <GeometryPathType PathOpen=" false">
  14.               <PathPointArray>
  15.                 <PathPointType Anchor="-72 -78.72" LeftDirection="- 72 -78.72" RightDirection="- 72 -78.72"/>
  16.                 <PathPointType Anchor="-72 78.72" LeftDirection="- 72 78.72" RightDirection="- 72 78.72"/>
  17.                 <PathPointType Anchor="72 78.72" LeftDirection=" 72 78.72" RightDirection=" 72 78.72"/>
  18.                 <PathPointType Anchor="72 -78.72" LeftDirection=" 72 -78.72" RightDirection=" 72 -78.72"/>
  19.               </PathPointArray>
  20.             </GeometryPathType>
  21.           </PathGeometry>
  22.         </Properties>
  23.         <Image Self="ue6" Space="$ID/#Links_RGB" ActualPpi=" 300 300" EffectivePpi=" 300 300" ImageRenderingIntent=" UseColorSettings" LocalDisplaySetting=" Default" ImageTypeName="$ ID/JPEG" ItemTransform=" 1 0 0 1 0 0">
  24.           <Properties>
  25.             <Profile type="string">$ID/Embedded</Profile>
  26.             <GraphicBounds Left="0" Top="0" Right="144" Bottom="157.44"/>
  27.           </Properties>
  28.           <Link Self="ueb" 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-14T15:12:33"/>
  29.         </Image>
  30.       </Rectangle>
  31.       <Br/>
  32.     </CharacterStyleRange>
  33.   </ParagraphStyleRange>
  34.   <ParagraphStyleRange>
  35.     <CharacterStyleRange>
  36.       <Content>This is a paragraph following the anchored frame.</Content>
  37.     </CharacterStyleRange>
  38.   </ParagraphStyleRange>
  39. </Story>

グラフィックは<Story>エレメントに埋め込まれません。代わりに、<Image>エレメント中の<Link>エレメントが、画像ファイルのリンク先を参照します。

図39 インライングラフィック

Image:Fig039.png

Personal tools