LibreOffice Module writerfilter (master) 1
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
writerfilter::dmapper::TablePropertyMap Class Reference

#include <PropertyMap.hxx>

Inheritance diagram for writerfilter::dmapper::TablePropertyMap:
[legend]
Collaboration diagram for writerfilter::dmapper::TablePropertyMap:
[legend]

Classes

struct  ValidValue
 

Public Types

enum  TablePropertyMapTarget {
  TablePropertyMapTarget_START ,
  CELL_MAR_LEFT = TablePropertyMapTarget_START ,
  CELL_MAR_RIGHT ,
  CELL_MAR_TOP ,
  CELL_MAR_BOTTOM ,
  TABLE_WIDTH ,
  TABLE_WIDTH_TYPE ,
  LEFT_MARGIN ,
  HORI_ORIENT ,
  TablePropertyMapTarget_MAX
}
 

Public Member Functions

 TablePropertyMap ()
 
bool getValue (TablePropertyMapTarget eWhich, sal_Int32 &nFill)
 
void setValue (TablePropertyMapTarget eWhich, sal_Int32 nSet)
 
virtual void insertTableProperties (const PropertyMap *, const bool bOverwrite=true) override
 
- Public Member Functions inherited from oox::PropertyMap
 PropertyMap ()
 
bool hasProperty (sal_Int32 nPropId) const
 
bool setAnyProperty (sal_Int32 nPropId, const css::uno::Any &rValue)
 
bool setProperty (sal_Int32 nPropId, Type &&rValue)
 
bool setProperty (sal_Int32, const css::uno::Any &)=delete
 
css::uno::Any getProperty (sal_Int32 nPropId)
 
void erase (sal_Int32 nPropId)
 
bool empty () const
 
void assignUsed (const PropertyMap &rPropMap)
 
void assignAll (const PropertyMap &rPropMap)
 
css::uno::Sequence< css::beans::PropertyValue > makePropertyValueSequence () const
 
void fillSequences (css::uno::Sequence< OUString > &rNames, css::uno::Sequence< css::uno::Any > &rValues) const
 
void fillPropertyNameMap (PropertyNameMap &rMap) const
 
css::uno::Reference< css::beans::XPropertySetmakePropertySet () const
 

Private Attributes

ValidValue m_aValidValues [TablePropertyMapTarget_MAX]
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::PropertyMap
static const OUString & getPropertyName (sal_Int32 nPropId)
 
static sal_Int32 getPropertyId (std::u16string_view sPropName)
 
static void dump (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
static void dumpCode (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
static void dumpData (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 

Detailed Description

Definition at line 563 of file PropertyMap.hxx.

Member Enumeration Documentation

◆ TablePropertyMapTarget

Enumerator
TablePropertyMapTarget_START 
CELL_MAR_LEFT 
CELL_MAR_RIGHT 
CELL_MAR_TOP 
CELL_MAR_BOTTOM 
TABLE_WIDTH 
TABLE_WIDTH_TYPE 
LEFT_MARGIN 
HORI_ORIENT 
TablePropertyMapTarget_MAX 

Definition at line 567 of file PropertyMap.hxx.

Constructor & Destructor Documentation

◆ TablePropertyMap()

writerfilter::dmapper::TablePropertyMap::TablePropertyMap ( )
inlineexplicit

Definition at line 597 of file PropertyMap.hxx.

Member Function Documentation

◆ getValue()

bool writerfilter::dmapper::TablePropertyMap::getValue ( TablePropertyMapTarget  eWhich,
sal_Int32 &  nFill 
)

◆ insertTableProperties()

void writerfilter::dmapper::TablePropertyMap::insertTableProperties ( const PropertyMap pMap,
const bool  bOverwrite = true 
)
overridevirtual

◆ setValue()

void writerfilter::dmapper::TablePropertyMap::setValue ( TablePropertyMapTarget  eWhich,
sal_Int32  nSet 
)

Member Data Documentation

◆ m_aValidValues

ValidValue writerfilter::dmapper::TablePropertyMap::m_aValidValues[TablePropertyMapTarget_MAX]
private

Definition at line 594 of file PropertyMap.hxx.

Referenced by getValue(), insertTableProperties(), and setValue().


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