LibreOffice Module oox (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::drawingml::table::TableProperties Class Reference

#include <tableproperties.hxx>

Collaboration diagram for oox::drawingml::table::TableProperties:
[legend]

Public Member Functions

 TableProperties ()
 
std::vector< sal_Int32 > & getTableGrid ()
 
std::vector< TableRow > & getTableRows ()
 
OUString & getStyleId ()
 
std::shared_ptr< TableStyle > & getTableStyle ()
 
bool isFirstRow () const
 
void setFirstRow (bool b)
 
bool isFirstCol () const
 
void setFirstCol (bool b)
 
bool isLastRow () const
 
void setLastRow (bool b)
 
bool isLastCol () const
 
void setLastCol (bool b)
 
bool isBandRow () const
 
void setBandRow (bool b)
 
bool isBandCol () const
 
void setBandCol (bool b)
 
ColorgetBgColor ()
 
void pushToPropSet (const ::oox::core::XmlFilterBase &rFilterBase, const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const ::oox::drawingml::TextListStylePtr &pMasterTextListStyle)
 

Private Member Functions

const TableStylegetUsedTableStyle (const ::oox::core::XmlFilterBase &rFilterBase, std::unique_ptr< TableStyle > &rTableStyleToDelete)
 

Private Attributes

OUString maStyleId
 
std::shared_ptr< TableStylempTableStyle
 
std::vector< sal_Int32 > mvTableGrid
 
std::vector< TableRowmvTableRows
 
Color maBgColor
 
bool mbFirstRow
 
bool mbFirstCol
 
bool mbLastRow
 
bool mbLastCol
 
bool mbBandRow
 
bool mbBandCol
 

Detailed Description

Definition at line 32 of file tableproperties.hxx.

Constructor & Destructor Documentation

oox::drawingml::table::TableProperties::TableProperties ( )

Definition at line 39 of file tableproperties.cxx.

References maBgColor, and oox::drawingml::Color::setUnused().

Member Function Documentation

Color& oox::drawingml::table::TableProperties::getBgColor ( )
inline
OUString& oox::drawingml::table::TableProperties::getStyleId ( )
inline
std::vector< sal_Int32 >& oox::drawingml::table::TableProperties::getTableGrid ( )
inline

Definition at line 38 of file tableproperties.hxx.

References mvTableGrid.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

std::vector< TableRow >& oox::drawingml::table::TableProperties::getTableRows ( )
inline

Definition at line 39 of file tableproperties.hxx.

References mvTableRows.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

std::shared_ptr< TableStyle >& oox::drawingml::table::TableProperties::getTableStyle ( )
inline

Definition at line 42 of file tableproperties.hxx.

References mpTableStyle.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

const TableStyle & oox::drawingml::table::TableProperties::getUsedTableStyle ( const ::oox::core::XmlFilterBase rFilterBase,
std::unique_ptr< TableStyle > &  rTableStyleToDelete 
)
private
bool oox::drawingml::table::TableProperties::isBandCol ( ) const
inline

Definition at line 53 of file tableproperties.hxx.

References mbBandCol.

Referenced by oox::drawingml::table::TableCell::pushToXCell().

bool oox::drawingml::table::TableProperties::isBandRow ( ) const
inline

Definition at line 51 of file tableproperties.hxx.

References mbBandRow.

Referenced by oox::drawingml::table::TableCell::pushToXCell().

bool oox::drawingml::table::TableProperties::isFirstCol ( ) const
inline

Definition at line 45 of file tableproperties.hxx.

References mbFirstCol.

Referenced by oox::drawingml::table::TableCell::pushToXCell().

bool oox::drawingml::table::TableProperties::isFirstRow ( ) const
inline

Definition at line 43 of file tableproperties.hxx.

References mbFirstRow.

Referenced by oox::drawingml::table::TableCell::pushToXCell().

bool oox::drawingml::table::TableProperties::isLastCol ( ) const
inline

Definition at line 49 of file tableproperties.hxx.

References mbLastCol.

Referenced by oox::drawingml::table::TableCell::pushToXCell().

bool oox::drawingml::table::TableProperties::isLastRow ( ) const
inline

Definition at line 47 of file tableproperties.hxx.

References mbLastRow.

Referenced by oox::drawingml::table::TableCell::pushToXCell().

void oox::drawingml::table::TableProperties::pushToPropSet ( const ::oox::core::XmlFilterBase rFilterBase,
const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
const ::oox::drawingml::TextListStylePtr pMasterTextListStyle 
)
void oox::drawingml::table::TableProperties::setBandCol ( bool  b)
inline

Definition at line 54 of file tableproperties.hxx.

References mbBandCol.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

void oox::drawingml::table::TableProperties::setBandRow ( bool  b)
inline

Definition at line 52 of file tableproperties.hxx.

References mbBandRow.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

void oox::drawingml::table::TableProperties::setFirstCol ( bool  b)
inline

Definition at line 46 of file tableproperties.hxx.

References mbFirstCol.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

void oox::drawingml::table::TableProperties::setFirstRow ( bool  b)
inline

Definition at line 44 of file tableproperties.hxx.

References mbFirstRow.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

void oox::drawingml::table::TableProperties::setLastCol ( bool  b)
inline

Definition at line 50 of file tableproperties.hxx.

References mbLastCol.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

void oox::drawingml::table::TableProperties::setLastRow ( bool  b)
inline

Definition at line 48 of file tableproperties.hxx.

References mbLastRow.

Referenced by oox::drawingml::table::TableContext::onCreateContext().

Member Data Documentation

Color oox::drawingml::table::TableProperties::maBgColor
private

Definition at line 69 of file tableproperties.hxx.

Referenced by getBgColor(), and TableProperties().

OUString oox::drawingml::table::TableProperties::maStyleId
private

Definition at line 65 of file tableproperties.hxx.

Referenced by getStyleId().

bool oox::drawingml::table::TableProperties::mbBandCol
private

Definition at line 76 of file tableproperties.hxx.

Referenced by isBandCol(), and setBandCol().

bool oox::drawingml::table::TableProperties::mbBandRow
private

Definition at line 75 of file tableproperties.hxx.

Referenced by isBandRow(), and setBandRow().

bool oox::drawingml::table::TableProperties::mbFirstCol
private

Definition at line 72 of file tableproperties.hxx.

Referenced by isFirstCol(), and setFirstCol().

bool oox::drawingml::table::TableProperties::mbFirstRow
private

Definition at line 71 of file tableproperties.hxx.

Referenced by isFirstRow(), and setFirstRow().

bool oox::drawingml::table::TableProperties::mbLastCol
private

Definition at line 74 of file tableproperties.hxx.

Referenced by isLastCol(), and setLastCol().

bool oox::drawingml::table::TableProperties::mbLastRow
private

Definition at line 73 of file tableproperties.hxx.

Referenced by isLastRow(), and setLastRow().

std::shared_ptr< TableStyle > oox::drawingml::table::TableProperties::mpTableStyle
private

Definition at line 66 of file tableproperties.hxx.

Referenced by getTableStyle(), and getUsedTableStyle().

std::vector< sal_Int32 > oox::drawingml::table::TableProperties::mvTableGrid
private

Definition at line 67 of file tableproperties.hxx.

Referenced by getTableGrid(), and pushToPropSet().

std::vector< TableRow > oox::drawingml::table::TableProperties::mvTableRows
private

Definition at line 68 of file tableproperties.hxx.

Referenced by getTableRows(), and pushToPropSet().


The documentation for this class was generated from the following files: