How to import TableBorder in Writerfilter

From Apache OpenOffice Wiki
Revision as of 12:52, 20 July 2012 by Bjcheny (Talk | contribs)

Jump to: navigation, search

The Table Border in docx is decided by the table style applied in table, and the specific settings on table/row/cell self.

Basic Knowledge

Code

writerfilter/source/dmapper/StyleSheetTable.[ch]xx

enum StyleType {

   STYLE_TYPE_UNKNOWN,
   STYLE_TYPE_PARA,
   STYLE_TYPE_CHAR,
   STYLE_TYPE_TABLE,
   STYLE_LIST

};


writerfilter/source/dmapper/BorderHandler.[ch]xx

writerfilter/source/dmapper/DomainMapperTableHandler.[ch]xx


Known Issue

Due to model differences between sw's and Open OfficeXML's, it's hard to display as many kinds of table borders as MS Word 2007/2010. There are same issue existing between MS Word 2003 and MS Word 2007/2010.

Personal tools