Difference between revisions of "How to import TableBorder in Writerfilter"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Known Issue)
 
Line 25: Line 25:
 
== Known Issue ==
 
== 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.
+
Due to model differences between sw's and Office Open XML'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.
 
There are same issue existing between MS Word 2003 and MS Word 2007/2010.
  

Latest revision as of 11:24, 6 August 2013

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 Office Open XML'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