Difference between revisions of "UOFFilter"
From Apache OpenOffice Wiki
Line 4: | Line 4: | ||
== UOF Schema instruction == | == UOF Schema instruction == | ||
[[Image:ODF AND UOF.jpg]] | [[Image:ODF AND UOF.jpg]] | ||
+ | |||
+ | #Metadata | ||
+ | *Meta.xml can be converted to the element <MetaData> in the UOF document. | ||
+ | #BookmarkSets&LinkSets | ||
+ | *In ODF,the information of the bookmark and hyperlink in <office:body> are transformed to the content of BookmarkSets in UOF. | ||
+ | #StyleSets | ||
+ | *the styles is stored in both style.xml and content.xml in odf which include <office:styles> and <office:automatic-styles>,the usefull styles that called in <office:body> are transformed to StyleSets in UOF. | ||
+ | #ObjectSets | ||
+ | *Objects include drawings, formulas, paths, data and so on. In UOF document are defined in < uof:Objects> . | ||
+ | #Body(WordProcessor Presentation Spreadsheet) | ||
+ | *The element <office:body> in content.xml is converted to several parts of UOF, including “Body”, “BookmarkSets”, “LinkSets” and “ObjectSets”. all bookmarks and hyperlinks in <office:body> should be put into the obverse 'BookmarkSets' and 'LinkSets' in UOF. all objects should be put into 'ObejectSets'. But the most content of <office:body> should be put into Body. | ||
+ | For the setting.xml in ODF,some of them are put into the body to record the office info. | ||
+ | |||
[[Image:Uof schema.zip]] | [[Image:Uof schema.zip]] |
Revision as of 05:10, 5 June 2008
UOF introduce
UOF(Uniform Office Format) is a Chinese office format standard。UOF filter is xslt filter, used to complete the transform between the ODF and UOF.The current CWS for UOFFilter is cws_src680_uoffilter,the related module is filter and spc2。
UOF Schema instruction
- Metadata
- Meta.xml can be converted to the element <MetaData> in the UOF document.
- BookmarkSets&LinkSets
- In ODF,the information of the bookmark and hyperlink in <office:body> are transformed to the content of BookmarkSets in UOF.
- StyleSets
- the styles is stored in both style.xml and content.xml in odf which include <office:styles> and <office:automatic-styles>,the usefull styles that called in <office:body> are transformed to StyleSets in UOF.
- ObjectSets
- Objects include drawings, formulas, paths, data and so on. In UOF document are defined in < uof:Objects> .
- Body(WordProcessor Presentation Spreadsheet)
- The element <office:body> in content.xml is converted to several parts of UOF, including “Body”, “BookmarkSets”, “LinkSets” and “ObjectSets”. all bookmarks and hyperlinks in <office:body> should be put into the obverse 'BookmarkSets' and 'LinkSets' in UOF. all objects should be put into 'ObejectSets'. But the most content of <office:body> should be put into Body.
For the setting.xml in ODF,some of them are put into the body to record the office info.