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 maLinePropertiesInsideH
 
oox::drawingml::LineProperties maLinePropertiesInsideV
 
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

◆ TableCell()

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

Definition at line 50 of file tablecell.cxx.

References make_shared(), and mnRowSpan.

Member Function Documentation

◆ getAnchorToken()

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().

◆ getBottomMargin()

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().

◆ getGridSpan()

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

Definition at line 46 of file tablecell.hxx.

References mnGridSpan.

Referenced by oox::drawingml::table::TableProperties::pushToPropSet().

◆ gethMerge()

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

Definition at line 48 of file tablecell.hxx.

References mbhMerge.

Referenced by oox::drawingml::table::TableProperties::pushToPropSet().

◆ getLeftMargin()

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().

◆ getRightMargin()

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().

◆ getRowSpan()

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

Definition at line 44 of file tablecell.hxx.

References mnRowSpan.

Referenced by oox::drawingml::table::TableProperties::pushToPropSet().

◆ getTextBody()

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

Definition at line 68 of file tablecell.hxx.

References mpTextBody.

Referenced by pushToXCell().

◆ getTopMargin()

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().

◆ getVertToken()

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

Definition at line 60 of file tablecell.hxx.

References mnVertToken.

Referenced by pushToXCell().

◆ getvMerge()

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

Definition at line 50 of file tablecell.hxx.

References mbvMerge.

Referenced by oox::drawingml::table::TableProperties::pushToPropSet().

◆ pushToXCell()

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 265 of file tablecell.cxx.

References Any, oox::API_RGB_TRANSPARENT, oox::drawingml::table::applyLineAttributes(), oox::drawingml::table::applyTableCellProperties(), oox::drawingml::table::applyTableStylePart(), oox::drawingml::FillProperties::assignUsed(), oox::drawingml::LineProperties::assignUsed(), oox::drawingml::TextCharacterProperties::assignUsed(), oox::drawingml::Color::clearTransformations(), 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(), Color::getBColor(), 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(), Color::GetRGBColor(), oox::drawingml::table::TableStyle::getSeCell(), oox::drawingml::table::TableStyle::getSwCell(), getTextBody(), oox::drawingml::Color::getTransparency(), oox::TokenMap::getUtf8TokenName(), getVertToken(), oox::drawingml::table::TableStyle::getWholeTbl(), 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, comphelper::makePropertyValue(), maLinePropertiesBottom, maLinePropertiesBottomLeftToTopRight, maLinePropertiesInsideH, maLinePropertiesInsideV, maLinePropertiesLeft, maLinePropertiesRight, maLinePropertiesTop, maLinePropertiesTopLeftToBottomRight, oox::drawingml::ShapeStyleRef::maPhClr, oox::drawingml::ShapeStyleRef::mnThemedIdx, oox::drawingml::FillProperties::moFillType, nLength, PROP_BottomBorder, PROP_LeftBorder, PROP_RightBorder, PROP_TopBorder, oox::drawingml::FillProperties::pushToPropMap(), oox::drawingml::Color::setSrgbClr(), and oox::StaticTokenMap().

Referenced by oox::drawingml::table::TableProperties::pushToPropSet().

◆ setAnchorCtr()

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().

◆ setAnchorToken()

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

Definition at line 63 of file tablecell.hxx.

References mnAnchorToken, and nToken.

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

◆ setBottomMargin()

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().

◆ setGridSpan()

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().

◆ sethMerge()

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().

◆ setHorzOverflowToken()

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

Definition at line 65 of file tablecell.hxx.

References mnHorzOverflowToken, and nToken.

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

◆ setLeftMargin()

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().

◆ setRightMargin()

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().

◆ setRowSpan()

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().

◆ setTextBody()

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().

◆ setTopMargin()

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().

◆ setVertToken()

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

Definition at line 61 of file tablecell.hxx.

References mnVertToken, and nToken.

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

◆ setvMerge()

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

◆ TableCellContext

friend class TableCellContext
friend

Definition at line 38 of file tablecell.hxx.

Member Data Documentation

◆ maFillProperties

oox::drawingml::FillProperties oox::drawingml::table::TableCell::maFillProperties
private

◆ maLinePropertiesBottom

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesBottom
private

◆ maLinePropertiesBottomLeftToTopRight

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesBottomLeftToTopRight
private

◆ maLinePropertiesInsideH

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesInsideH
private

Definition at line 85 of file tablecell.hxx.

Referenced by pushToXCell().

◆ maLinePropertiesInsideV

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesInsideV
private

Definition at line 86 of file tablecell.hxx.

Referenced by pushToXCell().

◆ maLinePropertiesLeft

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesLeft
private

◆ maLinePropertiesRight

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesRight
private

◆ maLinePropertiesTop

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesTop
private

◆ maLinePropertiesTopLeftToBottomRight

oox::drawingml::LineProperties oox::drawingml::table::TableCell::maLinePropertiesTopLeftToBottomRight
private

◆ mbAnchorCtr

bool oox::drawingml::table::TableCell::mbAnchorCtr
private

Definition at line 103 of file tablecell.hxx.

Referenced by setAnchorCtr().

◆ mbhMerge

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

Definition at line 94 of file tablecell.hxx.

Referenced by gethMerge(), and sethMerge().

◆ mbvMerge

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

Definition at line 95 of file tablecell.hxx.

Referenced by getvMerge(), and setvMerge().

◆ mnAnchorToken

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

Definition at line 102 of file tablecell.hxx.

Referenced by getAnchorToken(), and setAnchorToken().

◆ mnGridSpan

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

Definition at line 93 of file tablecell.hxx.

Referenced by getGridSpan(), and setGridSpan().

◆ mnHorzOverflowToken

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

Definition at line 104 of file tablecell.hxx.

Referenced by setHorzOverflowToken().

◆ mnMarB

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

Definition at line 100 of file tablecell.hxx.

Referenced by getBottomMargin(), and setBottomMargin().

◆ mnMarL

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

Definition at line 97 of file tablecell.hxx.

Referenced by getLeftMargin(), and setLeftMargin().

◆ mnMarR

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

Definition at line 98 of file tablecell.hxx.

Referenced by getRightMargin(), and setRightMargin().

◆ mnMarT

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

Definition at line 99 of file tablecell.hxx.

Referenced by getTopMargin(), and setTopMargin().

◆ mnRowSpan

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

Definition at line 92 of file tablecell.hxx.

Referenced by getRowSpan(), and setRowSpan().

◆ mnVertToken

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

Definition at line 101 of file tablecell.hxx.

Referenced by getVertToken(), and setVertToken().

◆ mpTextBody

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: