Difference between revisions of "UOFFilter"

From Apache OpenOffice Wiki
Jump to: navigation, search
(UOF Schema instruction)
(UOF introduce)
Line 1: Line 1:
 
== UOF introduce ==
 
== 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(Uniform Office Format) is a Chinese office format standard and 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 ==
 
== UOF Schema instruction ==

Revision as of 05:17, 5 June 2008

UOF introduce

UOF(Uniform Office Format) is a Chinese office format standard and 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

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.

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.


File:Uof schema.zip

Personal tools