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…") |
m (→Known Issue) |
||
(One intermediate revision by one other user not shown) | |||
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 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. | ||
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.