Difference between revisions of "How to import TableBorder in Writerfilter"
From Apache OpenOffice Wiki
(Created page with "The Table Border in docx is decided by the table style applied in table, and the specific settings on table/row/cell self. Category:Office Open XML [[Category:Source_direc…") |
|||
Line 1: | Line 1: | ||
The Table Border in docx is decided by the table style applied in table, and the specific settings on table/row/cell self. | 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. | ||
Revision as of 12:52, 20 July 2012
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.