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

#include <tablecell.hxx>

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

Public Member Functions

 TableCell ()
 
sal_Int32 getRowSpan () const
 
void setRowSpan (sal_Int32 nRowSpan)
 
sal_Int32 getGridSpan () const
 
void setGridSpan (sal_Int32 nGridSpan)
 
bool gethMerge () const
 
void sethMerge (bool bhMerge)
 
bool getvMerge () const
 
void setvMerge (bool bvMerge)
 
sal_Int32 getLeftMargin () const
 
void setLeftMargin (sal_Int32 nMargin)
 
sal_Int32 getRightMargin () const
 
void setRightMargin (sal_Int32 nMargin)
 
sal_Int32 getTopMargin () const
 
void setTopMargin (sal_Int32 nMargin)
 
sal_Int32 getBottomMargin () const
 
void setBottomMargin (sal_Int32 nMargin)
 
sal_Int32 getVertToken () const
 
void setVertToken (sal_Int32 nToken)
 
sal_Int32 getAnchorToken () const
 
void setAnchorToken (sal_Int32 nToken)
 
void setAnchorCtr (bool bAnchorCtr)
 
void setHorzOverflowToken (sal_Int32 nToken)
 
void setTextBody (const oox::drawingml::TextBodyPtr &pTextBody)
 
const oox::drawingml::TextBodyPtrgetTextBody () const
 
void pushToXCell (const ::oox::core::XmlFilterBase &rFilterBase, const ::oox::drawingml::TextListStylePtr &pMasterTextListStyle, const css::uno::Reference< css::table::XCell > &rxCell, const TableProperties &rTableProperties, const TableStyle &rTable, sal_Int32 nColumn, sal_Int32 nMaxColumn, sal_Int32 nRow, sal_Int32 nMaxRow)
 

Private Attributes

oox::drawingml::TextBodyPtr mpTextBody
 
oox::drawingml::LineProperties maLinePropertiesLeft
 
oox::drawingml::LineProperties maLinePropertiesRight
 
oox::drawingml::LineProperties maLinePropertiesTop
 
oox::drawingml::LineProperties maLinePropertiesBottom
 
oox::drawingml::LineProperties maLinePropertiesTopLeftToBottomRight
 
oox::drawingml::LineProperties maLinePropertiesBottomLeftToTopRight
 
oox::drawingml::FillProperties maFillProperties
 
sal_Int32 mnRowSpan
 
sal_Int32 mnGridSpan
 
bool mbhMerge
 
bool mbvMerge
 
sal_Int32 mnMarL
 
sal_Int32 mnMarR
 
sal_Int32 mnMarT
 
sal_Int32 mnMarB
 
sal_Int32 mnVertToken
 
sal_Int32 mnAnchorToken
 
bool mbAnchorCtr
 
sal_Int32 mnHorzOverflowToken
 

Friends

class TableCellContext
 

Detailed Description

Definition at line 36 of file tablecell.hxx.

Constructor & Destructor Documentation

oox::drawingml::table::TableCell::TableCell ( )

Definition at line 45 of file tablecell.cxx.

References make_shared(), and mnRowSpan.

Member Function Documentation

sal_Int32 oox::drawingml::table::TableCell::getAnchorToken ( ) const
inline

Definition at line 62 of file tablecell.hxx.

References mnAnchorToken.

Referenced by oox::drawingml::table::applyTableCellProperties().

sal_Int32 oox::drawingml::table::TableCell::getBottomMargin ( ) const
inline

Definition at line 58 of file tablecell.hxx.

References mnMarB.

Referenced by oox::drawingml::table::applyTableCellProperties().

sal_Int32 oox::drawingml::table::TableCell::getGridSpan ( ) const
inline

Definition at line 46 of file tablecell.hxx.

References mnGridSpan.

bool oox::drawingml::table::TableCell::gethMerge ( ) const
inline

Definition at line 48 of file tablecell.hxx.

References mbhMerge.

sal_Int32 oox::drawingml::table::TableCell::getLeftMargin ( ) const
inline

Definition at line 52 of file tablecell.hxx.

References mnMarL.

Referenced by oox::drawingml::table::applyTableCellProperties().

sal_Int32 oox::drawingml::table::TableCell::getRightMargin ( ) const
inline

Definition at line 54 of file tablecell.hxx.

References mnMarR.

Referenced by oox::drawingml::table::applyTableCellProperties().

sal_Int32 oox::drawingml::table::TableCell::getRowSpan ( ) const
inline

Definition at line 44 of file tablecell.hxx.

References mnRowSpan.

const oox::drawingml::TextBodyPtr& oox::drawingml::table::TableCell::getTextBody ( ) const
inline

Definition at line 68 of file tablecell.hxx.

References mpTextBody.

Referenced by pushToXCell().

sal_Int32 oox::drawingml::table::TableCell::getTopMargin ( ) const
inline

Definition at line 56 of file tablecell.hxx.

References mnMarT.

Referenced by oox::drawingml::table::applyTableCellProperties().

sal_Int32 oox::drawingml::table::TableCell::getVertToken ( ) const
inline

Definition at line 60 of file tablecell.hxx.

References mnVertToken.

Referenced by pushToXCell().

bool oox::drawingml::table::TableCell::getvMerge ( ) const
inline

Definition at line 50 of file tablecell.hxx.

References mbvMerge.

void oox::drawingml::table::TableCell::pushToXCell ( const ::oox::core::XmlFilterBase rFilterBase,
const ::oox::drawingml::TextListStylePtr pMasterTextListStyle,
const css::uno::Reference< css::table::XCell > &  rxCell,
const TableProperties rTableProperties,
const TableStyle rTable,
sal_Int32  nColumn,
sal_Int32  nMaxColumn,
sal_Int32  nRow,
sal_Int32  nMaxRow 
)

Definition at line 215 of file tablecell.cxx.

References Any, oox::API_RGB_TRANSPARENT, oox::drawingml::table::applyLineAttributes(), oox::drawingml::table::applyTableCellProperties(), oox::drawingml::table::applyTableStylePart(), oox::drawingml::LineProperties::assignUsed(), oox::drawingml::FillProperties::assignUsed(), oox::drawingml::Color::clearTransformations(), oox::OptValue< Type >::get(), oox::drawingml::table::TableStyle::getBackgroundFillProperties(), oox::drawingml::table::TableStyle::getBackgroundFillStyleRef(), oox::drawingml::table::TableStyle::getBand1H(), oox::drawingml::table::TableStyle::getBand1V(), oox::drawingml::table::TableStyle::getBand2H(), oox::drawingml::table::TableStyle::getBand2V(), oox::drawingml::FillProperties::getBestSolidColor(), oox::drawingml::table::TableProperties::getBgColor(), oox::drawingml::Color::getColor(), oox::drawingml::table::TableStyle::getFirstCol(), oox::drawingml::table::TableStyle::getFirstRow(), oox::drawingml::table::TableStyle::getLastCol(), oox::drawingml::table::TableStyle::getLastRow(), oox::drawingml::table::TableStyle::getNeCell(), oox::drawingml::table::TableStyle::getNwCell(), oox::drawingml::table::TableStyle::getSeCell(), oox::drawingml::table::TableStyle::getSwCell(), getTextBody(), oox::drawingml::Color::getTransparency(), getVertToken(), oox::drawingml::table::TableStyle::getWholeTbl(), oox::OptValue< Type >::has(), basegfx::interpolate(), oox::drawingml::table::TableProperties::isBandCol(), oox::drawingml::table::TableProperties::isBandRow(), oox::drawingml::table::TableProperties::isFirstCol(), oox::drawingml::table::TableProperties::isFirstRow(), oox::drawingml::table::TableProperties::isLastCol(), oox::drawingml::table::TableProperties::isLastRow(), oox::drawingml::Color::isUsed(), oox::drawingml::FillProperties::maFillColor, maFillProperties, maLinePropertiesBottom, maLinePropertiesBottomLeftToTopRight, maLinePropertiesLeft, maLinePropertiesRight, maLinePropertiesTop, maLinePropertiesTopLeftToBottomRight, oox::drawingml::FillProperties::moFillType, oox::drawingml::FillProperties::pushToPropMap(), oox::OptValue< Type >::set(), oox::PropertySet::setProperties(), and oox::drawingml::Color::setSrgbClr().

void oox::drawingml::table::TableCell::setAnchorCtr ( bool  bAnchorCtr)
inline

Definition at line 64 of file tablecell.hxx.

References mbAnchorCtr.

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

void oox::drawingml::table::TableCell::setAnchorToken ( sal_Int32  nToken)
inline

Definition at line 63 of file tablecell.hxx.

References mnAnchorToken.

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

void oox::drawingml::table::TableCell::setBottomMargin ( sal_Int32  nMargin)
inline

Definition at line 59 of file tablecell.hxx.

References mnMarB.

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

void oox::drawingml::table::TableCell::setGridSpan ( sal_Int32  nGridSpan)
inline

Definition at line 47 of file tablecell.hxx.

References mnGridSpan.

Referenced by oox::drawingml::table::TableCellContext::TableCellContext().

void oox::drawingml::table::TableCell::sethMerge ( bool  bhMerge)
inline

Definition at line 49 of file tablecell.hxx.

References mbhMerge.

Referenced by oox::drawingml::table::TableCellContext::TableCellContext().

void oox::drawingml::table::TableCell::setHorzOverflowToken ( sal_Int32  nToken)
inline
void oox::drawingml::table::TableCell::setLeftMargin ( sal_Int32  nMargin)
inline

Definition at line 53 of file tablecell.hxx.

References mnMarL.

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

void oox::drawingml::table::TableCell::setRightMargin ( sal_Int32  nMargin)
inline

Definition at line 55 of file tablecell.hxx.

References mnMarR.

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

void oox::drawingml::table::TableCell::setRowSpan ( sal_Int32  nRowSpan)
inline

Definition at line 45 of file tablecell.hxx.

References mnRowSpan.

Referenced by oox::drawingml::table::TableCellContext::TableCellContext().

void oox::drawingml::table::TableCell::setTextBody ( const oox::drawingml::TextBodyPtr pTextBody)
inline

Definition at line 67 of file tablecell.hxx.

References mpTextBody.

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

void oox::drawingml::table::TableCell::setTopMargin ( sal_Int32  nMargin)
inline

Definition at line 57 of file tablecell.hxx.

References mnMarT.

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

void oox::drawingml::table::TableCell::setVertToken ( sal_Int32  nToken)
inline

Definition at line 61 of file tablecell.hxx.

References mnVertToken.

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

void oox::drawingml::table::TableCell::setvMerge ( bool  bvMerge)
inline

Definition at line 51 of file tablecell.hxx.

References mbvMerge.

Referenced by oox::drawingml::table::TableCellContext::TableCellContext().

Friends And Related Function Documentation

friend class TableCellContext
friend

Definition at line 38 of file tablecell.hxx.

Member Data Documentation

oox::drawingml::FillProperties oox::drawingml::table::TableCell::maFillProperties
private
oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesBottom
private
oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesBottomLeftToTopRight
private
oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesLeft
private
oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesRight
private
oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesTop
private
oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesTopLeftToBottomRight
private
bool oox::drawingml::table::TableCell::mbAnchorCtr
private

Definition at line 101 of file tablecell.hxx.

Referenced by setAnchorCtr().

bool oox::drawingml::table::TableCell::mbhMerge
private

Definition at line 92 of file tablecell.hxx.

Referenced by gethMerge(), and sethMerge().

bool oox::drawingml::table::TableCell::mbvMerge
private

Definition at line 93 of file tablecell.hxx.

Referenced by getvMerge(), and setvMerge().

sal_Int32 oox::drawingml::table::TableCell::mnAnchorToken
private

Definition at line 100 of file tablecell.hxx.

Referenced by getAnchorToken(), and setAnchorToken().

sal_Int32 oox::drawingml::table::TableCell::mnGridSpan
private

Definition at line 91 of file tablecell.hxx.

Referenced by getGridSpan(), and setGridSpan().

sal_Int32 oox::drawingml::table::TableCell::mnHorzOverflowToken
private

Definition at line 102 of file tablecell.hxx.

Referenced by setHorzOverflowToken().

sal_Int32 oox::drawingml::table::TableCell::mnMarB
private

Definition at line 98 of file tablecell.hxx.

Referenced by getBottomMargin(), and setBottomMargin().

sal_Int32 oox::drawingml::table::TableCell::mnMarL
private

Definition at line 95 of file tablecell.hxx.

Referenced by getLeftMargin(), and setLeftMargin().

sal_Int32 oox::drawingml::table::TableCell::mnMarR
private

Definition at line 96 of file tablecell.hxx.

Referenced by getRightMargin(), and setRightMargin().

sal_Int32 oox::drawingml::table::TableCell::mnMarT
private

Definition at line 97 of file tablecell.hxx.

Referenced by getTopMargin(), and setTopMargin().

sal_Int32 oox::drawingml::table::TableCell::mnRowSpan
private

Definition at line 90 of file tablecell.hxx.

Referenced by getRowSpan(), and setRowSpan().

sal_Int32 oox::drawingml::table::TableCell::mnVertToken
private

Definition at line 99 of file tablecell.hxx.

Referenced by getVertToken(), and setVertToken().

oox::drawingml::TextBodyPtr oox::drawingml::table::TableCell::mpTextBody
private

Definition at line 79 of file tablecell.hxx.

Referenced by getTextBody(), and setTextBody().


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