filters
- filters
- kword
- wordperfect
- import
31#include <libwpd/libwpd.h>
33#include "shared_headers.h"
35#include "WriterProperties.h"
40class TableCellStyle : public Style
43 TableCellStyle( const _SH_PropertyList &xPropList, const char *psName);
44 virtual void write(DocumentHandler &xHandler) const;
46 _SH_PropertyList mPropList;
49class TableRowStyle : public Style
52 TableRowStyle( const _SH_PropertyList &propList, const char *psName);
53 virtual void write(DocumentHandler &xHandler) const;
55 _SH_PropertyList mPropList;
58class TableStyle : public Style, public TopLevelElementStyle
61 TableStyle( const _SH_PropertyList &xPropList, const _SH_PropertyListVector &columns, const char *psName);
63 virtual void write(DocumentHandler &xHandler) const;
64 const int getNumColumns() const { return mColumns.count(); }
65 void addTableCellStyle(TableCellStyle *pTableCellStyle) { mTableCellStyles.push_back(pTableCellStyle); }
66 int getNumTableCellStyles() { return mTableCellStyles.size(); }
67 void addTableRowStyle(TableRowStyle *pTableRowStyle) { mTableRowStyles.push_back(pTableRowStyle); }
68 int getNumTableRowStyles() { return mTableRowStyles.size(); }
70 _SH_PropertyList mPropList;
71 _SH_PropertyListVector mColumns;
72 std::vector<TableCellStyle *> mTableCellStyles;
73 std::vector<TableRowStyle *> mTableRowStyles;
|