Difference between revisions of "UOFFilter"
Line 19: | Line 19: | ||
− | [[Image:Uof schema.zip UOF Schema ]] | + | [[Image:Uof schema.zip|UOF Schema ]] |
Revision as of 05:15, 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.
For each position where a bookmark, a hyperlink or an object appears in an ODF document, the corresponding position in the corresponding UOF document is replaced by an anchor, and the anchor refers to the element in “<Bookmarks>”, “<Hyperlinks>” or “<Objects>”. And all the definition of the bookmarks, hyperlinks and objects are in the element “<Bookmarks>”, “<Hyperlinks>” or “<Objects>”. The purpose of managing bookmarks, hyperlinks and objects uniformly is to provide efficiency for users’ searching and referring.