Oracle® Fusion Middleware Oracle WebCenter Contentでの開発 12c (12.2.1) E70070-01 |
|
前 |
次 |
ホーム > Oracle WebCenter Contentによる開発 > 注釈のXML構造
この付録では、WebCenter Content 12cでのイメージングに応じた注釈のXML構造の変更について説明します。
Imaging 11gからWebCenter Content 12cへの移行中に移動されるドキュメント・コンテンツは、次のデータ・アイテムを使用して最適化されます。
注釈
注釈は、WCC ADF UIビューアで置き換えられる11g Imagingビューアとの対話中に、ユーザーによって作成されます。注釈構造は、このアップグレード・プロセスの間に移行および変換されます。
サポートするコンテンツ
サポートするコンテンツは、通常、IPMに格納されるかまたはIPMドキュメントに添付されるXMLデータ・ファイルを生成するOFR (Oracle Forms Recognition)プロセスの出力です。
注釈およびサポートするコンテンツのファイルは、11gのコンテンツ・サーバー内に個別のドキュメントとして格納されていましたが、12cでは、これらのドキュメントはコンテンツ・サーバーで使用可能なディレクトリベースの添付ファイル・メカニズムに移動されます。
WebCenter Content 12cでは、注釈のXML構造に対していくつかの変更が行われました。
表C-1は、WebCenter Content 12cにおける注釈のXML構造の変更の概要を示しています。
表C-1 注釈のXML構造の変更
説明 | 11g | 12c | 変更点 |
---|---|---|---|
メイン構造 |
<AnnotationSet> <noteAnnot> <pageNumber> <<タグとしてのプロパティ>> <noteAnnot> </AnnotatiionSet> |
<document> <page id="1" ….> <note <<属性としてのプロパティ>> > </note> </page> <page id ="2" … > </page> </document> |
構造はページ単位になりました。11gの構造は、セットとしてグループ化された一連の注釈でした。 |
単一の改訂注釈の例 |
<redactAnnot> <annType>REDACT</annType> <uniqueId>IPM-2_2.IPM_000785-REDACT-A5796285966849967960B</uniqueId> <pageNumber>1</pageNumber> <createDate>Mon Oct 13 16:06:47 IST 2014</createDate> <modifiedDate>Mon Oct 13 16:06:53 IST 2014</modifiedDate> <createdBy>ipmadmin</createdBy> <modifiedBy>ipmadmin</modifiedBy> <color> <a>255</a> <r>0</r> <g>0</g> <b>0</b> </color> <securitySetting>STANDARD</securitySetting> <opacity>100</opacity> <readOnly>false</readOnly> <startPoint> <x>0.5379901960784313</x> <y>0.17140151515151514</y> </startPoint> <endPoint> <x>0.6727941176470589</x> <y>0.29829545454545453</y> </endPoint> </redactAnnot> |
<redact id="1" permissions="Standard" locX="0.40448114" locY="0.3042292" width="0.058372643" height="0.035925422" bgColor="00,00,00,ff"> <auditEvent id="1" createdBy="weblogic" createdOn="2014-12-10T23:58:39-08:00" type="created"/> <auditEvent id="2" createdBy="weblogic" createdOn="2014-12-10T23:59:19-08:00" type="modified"/> </redact> |
注釈のプロパティの説明に使用するタグは、Opacityやbgcolorなどの属性に変換されます。 startPointとendPointのタグは、width、heightおよびx,y座標を取得します。 |
ノート注釈のノート・テキスト |
<noteAnnot> <<その他のプロパティ>> <noteText><html> <head> </head> <body> <p style="margin-top: 0"> sticky </p> </body> </html> </noteText> |
<note id="6" permissions="Standard" note="<html>
 <head>

 </head>
 <body>
 <p style="margin-top: 0">
 sticky
 </p>
 </body>
</html>
" bgImage="MISC.NOTE" locX="-15.647406" locY="-15.790814" width="32.0" height="32.0" orientation="0" fgColor="00,00,00,ff" bgColor="ff,ff,00,ff"> |
タグから属性への変更。 |
線注釈のArrowType |
<lineAnnot> <<その他のプロパティ>> <arrowType>NONE</arrowType> </lineAnnot> |
<line id="2" permissions="Standard" locX="0.3567217" locY="0.049567986" width="0.04304245" height="0.04592997" fgColor="ff,00,00,ff"> <customField name="arrowType" value="NONE"/> <customField name="lineWeight" value="1"/> </line> |
|
スタンプ注釈のStampType |
<stampAnnot> <<その他のプロパティ>> <stampType>APPROVED</stampType> </stampAnnot> |
<stamp id="9" permissions="Standard" bgImage="STAMPS.APPROVED" locX="0.1991342" locY="0.070336394" width="0.15873016" height="0.13455658" orientation="0" fgColor="ff,ff,ff,ff"> |
スタンプ・タイプは個別のタグでしたが、bgImageの値に置き換えられました。 |