http://wiki.services.openoffice.org/wiki/WriterFilter
> これwaoooにどうですか。 > :) > == Getting Current Source Code for WriterFilter == WriterFilterのソースコードをゲット > WriterFilter is currently not included in the build system. You have > to check it out manually: WriterFilterは現在ビルドシステムに入っていない マニュアルでチェックアウトすべし > cvs -d:pserver:[EMAIL PROTECTED]:/cvs co > sw/writerfilter 以上チェックアウト方法。 > == Installing WriterFilter == WriterFilterのインストール > === Prerequisites === > > The current [[CWS]] for WriterFilter is <code>writerfilter2</code>. > Have a look in [[EIS]] for details on the CWS. WriterFilterのCWSは、writerfilter2 CWSの詳細はEISを見るべし > You will need an installed StarOffice/OOo and the following projects: SO/OOoおよび次のプロジェクトをインストール > * comphelper > * filter > * jurt > * offapi > * offuh > * scp2 > * svtools > * svx > * sw > > Compile these projects and deliver the libraries to your installation > in <code><SOINST></code>. これらのプロジェクトをコンパイル、ライブラリをSOINSTにデリバーする > === Changing Filter Detection === フィルター検知の変更 > In > <code><SOINST>/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_writer_filters.xcu</code> ここで次を追加 > add node with attribute <code>oor:name="MS Word 97"</code>: > <pre> > <node oor:name="MS Word 97" oor:op="replace"> > <prop oor:name="Flags"><value>IMPORT EXPORT ALIEN > 3RDPARTYFILTER</value></prop> > <prop oor:name="UIComponent"/> > <prop > oor:name="FilterService"><value>com.sun.star.comp.Writer.WriterFilter</value></prop> > > <prop oor:name="UserData"><value>CWW8</value></prop> > <prop oor:name="UIName"> > <value xml:lang="x-default">Microsoft Word 97/2000/XP (new)</value> > </prop> > <prop oor:name="FileFormatVersion"><value>0</value></prop> > <prop oor:name="Type"><value>writer_MS_Word_97</value></prop> > <prop oor:name="TemplateName"/> > <prop > oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop> > > </node> > </pre> > Remember to grant yourself write access to the xcu. xcuへの書き込みアクセスができるようにしておくのを忘れるべからず > === Create Resource Database for New Intefaces === 新しいインターベースのリソースデータベース作成 > Note: This is only necessary if you do not use CWS writerfilter2. 注:CWS writerfilter2を使わない場合にのみ必要 > Generate resource database for new interfaces: In > <code>offapi/<platform>/ucr/com/sun/star/text</code> call > <pre>regmerge /tmp/merge.rdb -UCR XTextAppend.urd</pre> 以上のように、新しいインターフェースのリソースデータベースを作成。 > === Register New Interfaces === 新しいインターフェースの登録 > Note: Again, only necessary if not using the CWS writerfilter2. 注:CWS writerfilter2を使っていない場合にのみ必要。 > In <code><SOINST>/program</code> call > <pre> > ./unopkg add /tmp/merge.rdb > </pre> 以上のようにする。 > === Register filter component === フィルターコンポーネントの登録 > In <code><SOINST>/program</code> call > <pre> > chmod u+w services.rdb > regcomp -register -r services.rdb -c <writerfilter lib> > </pre> 以上のようにする。 > Now, if you load a file recognized as "Word 97", WriterFilter will be > used. Word97と認識されるファイルをロードすると、WriterFilterが使われる。 > == Documentation == > > * Documentation generated by Doxygen (will be available soon) ドキュメントはDoxygenで生成される(まもなく利用可能となる予定) > == Notes == > > The properties of sprm 0x6a03 (sprmCPicLocation) have to be resolved. > Otherwise the FC of the picture to come is not stored. sprm 0x6a03 (sprmCPicLocation)のプロパティが解決されなければならない。 でないとピクチャのFCは保存されない。 > [[Category: Filter]] . khirano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
