LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MSWord_SdrAttrIter Class Reference

Used to export formatted text associated to drawings. More...

#include <wrtww8.hxx>

Inheritance diagram for MSWord_SdrAttrIter:
[legend]
Collaboration diagram for MSWord_SdrAttrIter:
[legend]

Public Member Functions

 MSWord_SdrAttrIter (MSWordExportBase &rWr, const EditTextObject &rEditObj, sal_uInt8 nType)
 
void NextPara (sal_Int32 nPar)
 
void OutParaAttr (bool bCharAttr, const std::set< sal_uInt16 > *pWhichsToIgnore=nullptr)
 
void OutEEField (const SfxPoolItem &rHt)
 
bool IsTextAttr (sal_Int32 nSwPos)
 
void NextPos ()
 
void OutAttr (sal_Int32 nSwPos)
 
virtual const SfxPoolItemHasTextItem (sal_uInt16 nWhich) const override
 
virtual const SfxPoolItemGetItem (sal_uInt16 nWhich) const override
 
sal_Int32 WhereNext () const
 
rtl_TextEncoding GetNextCharSet () const
 
rtl_TextEncoding GetNodeCharSet () const
 
- Public Member Functions inherited from MSWordAttrIter
 MSWordAttrIter (MSWordExportBase &rExport)
 
virtual ~MSWordAttrIter ()
 
virtual const SfxPoolItemHasTextItem (sal_uInt16 nWhich) const =0
 
template<class T >
const T * HasTextItem (TypedWhichId< T > nWhich) const
 
virtual const SfxPoolItemGetItem (sal_uInt16 nWhich) const =0
 

Private Member Functions

sal_Int32 SearchNext (sal_Int32 nStartPos)
 
void SetCharSet (const EECharAttrib &rTextAttr, bool bStart)
 
void SetItemsThatDifferFromStandard (bool bCharAttr, SfxItemSet &rSet)
 
 MSWord_SdrAttrIter (const MSWord_SdrAttrIter &)=delete
 
MSWord_SdrAttrIteroperator= (const MSWord_SdrAttrIter &)=delete
 

Private Attributes

const EditTextObjectm_pEditObj
 
const SfxItemPoolm_pEditPool
 
std::vector< EECharAttribm_aTextAtrArr
 
std::vector< const EECharAttrib * > m_aChrTextAtrArr
 
std::vector< rtl_TextEncoding > m_aChrSetArr
 
sal_Int32 m_nPara
 
sal_Int32 m_nCurrentSwPos
 
sal_Int32 m_nTmpSwPos
 
rtl_TextEncoding m_eNdChrSet
 
sal_uInt16 m_nScript
 
sal_uInt8 mnTyp
 

Additional Inherited Members

- Protected Attributes inherited from MSWordAttrIter
MSWordExportBasem_rExport
 

Detailed Description

Used to export formatted text associated to drawings.

Definition at line 1464 of file wrtww8.hxx.

Constructor & Destructor Documentation

◆ MSWord_SdrAttrIter() [1/2]

MSWord_SdrAttrIter::MSWord_SdrAttrIter ( const MSWord_SdrAttrIter )
privatedelete

◆ MSWord_SdrAttrIter() [2/2]

MSWord_SdrAttrIter::MSWord_SdrAttrIter ( MSWordExportBase rWr,
const EditTextObject rEditObj,
sal_uInt8  nType 
)

Definition at line 1007 of file wrtw8esh.cxx.

References NextPara().

Member Function Documentation

◆ GetItem()

const SfxPoolItem & MSWord_SdrAttrIter::GetItem ( sal_uInt16  nWhich) const
overridevirtual

◆ GetNextCharSet()

rtl_TextEncoding MSWord_SdrAttrIter::GetNextCharSet ( ) const

Definition at line 1034 of file wrtw8esh.cxx.

References m_aChrSetArr, and m_eNdChrSet.

Referenced by DocxExport::WriteOutliner(), and RtfSdrExport::WriteOutliner().

◆ GetNodeCharSet()

rtl_TextEncoding MSWord_SdrAttrIter::GetNodeCharSet ( ) const
inline

Definition at line 1502 of file wrtww8.hxx.

References m_eNdChrSet.

Referenced by OutEEField(), DocxExport::WriteOutliner(), and RtfSdrExport::WriteOutliner().

◆ HasTextItem()

const SfxPoolItem * MSWord_SdrAttrIter::HasTextItem ( sal_uInt16  nWhich) const
overridevirtual

◆ IsTextAttr()

bool MSWord_SdrAttrIter::IsTextAttr ( sal_Int32  nSwPos)

◆ NextPara()

void MSWord_SdrAttrIter::NextPara ( sal_Int32  nPar)

◆ NextPos()

void MSWord_SdrAttrIter::NextPos ( )
inline

◆ operator=()

MSWord_SdrAttrIter & MSWord_SdrAttrIter::operator= ( const MSWord_SdrAttrIter )
privatedelete

◆ OutAttr()

void MSWord_SdrAttrIter::OutAttr ( sal_Int32  nSwPos)

◆ OutEEField()

void MSWord_SdrAttrIter::OutEEField ( const SfxPoolItem rHt)

◆ OutParaAttr()

void MSWord_SdrAttrIter::OutParaAttr ( bool  bCharAttr,
const std::set< sal_uInt16 > *  pWhichsToIgnore = nullptr 
)

◆ SearchNext()

sal_Int32 MSWord_SdrAttrIter::SearchNext ( sal_Int32  nStartPos)
private

Definition at line 1042 of file wrtw8esh.cxx.

References m_aTextAtrArr, nPos, SAL_MAX_INT32, and SetCharSet().

Referenced by NextPara(), and NextPos().

◆ SetCharSet()

void MSWord_SdrAttrIter::SetCharSet ( const EECharAttrib rTextAttr,
bool  bStart 
)
private

◆ SetItemsThatDifferFromStandard()

void MSWord_SdrAttrIter::SetItemsThatDifferFromStandard ( bool  bCharAttr,
SfxItemSet rSet 
)
private

◆ WhereNext()

sal_Int32 MSWord_SdrAttrIter::WhereNext ( ) const
inline

Member Data Documentation

◆ m_aChrSetArr

std::vector<rtl_TextEncoding> MSWord_SdrAttrIter::m_aChrSetArr
private

Definition at line 1471 of file wrtww8.hxx.

Referenced by GetNextCharSet(), NextPara(), and SetCharSet().

◆ m_aChrTextAtrArr

std::vector<const EECharAttrib*> MSWord_SdrAttrIter::m_aChrTextAtrArr
private

Definition at line 1470 of file wrtww8.hxx.

Referenced by NextPara(), and SetCharSet().

◆ m_aTextAtrArr

std::vector<EECharAttrib> MSWord_SdrAttrIter::m_aTextAtrArr
private

Definition at line 1469 of file wrtww8.hxx.

Referenced by HasTextItem(), IsTextAttr(), NextPara(), OutAttr(), and SearchNext().

◆ m_eNdChrSet

rtl_TextEncoding MSWord_SdrAttrIter::m_eNdChrSet
private

Definition at line 1475 of file wrtww8.hxx.

Referenced by GetNextCharSet(), GetNodeCharSet(), and NextPara().

◆ m_nCurrentSwPos

sal_Int32 MSWord_SdrAttrIter::m_nCurrentSwPos
private

Definition at line 1473 of file wrtww8.hxx.

Referenced by NextPara(), NextPos(), and WhereNext().

◆ m_nPara

sal_Int32 MSWord_SdrAttrIter::m_nPara
private

Definition at line 1472 of file wrtww8.hxx.

Referenced by GetItem(), NextPara(), and OutParaAttr().

◆ m_nScript

sal_uInt16 MSWord_SdrAttrIter::m_nScript
private

Definition at line 1476 of file wrtww8.hxx.

Referenced by NextPara(), OutAttr(), and OutParaAttr().

◆ m_nTmpSwPos

sal_Int32 MSWord_SdrAttrIter::m_nTmpSwPos
private

Definition at line 1474 of file wrtww8.hxx.

Referenced by HasTextItem(), NextPara(), and OutAttr().

◆ m_pEditObj

const EditTextObject* MSWord_SdrAttrIter::m_pEditObj
private

Definition at line 1467 of file wrtww8.hxx.

Referenced by GetItem(), NextPara(), and OutParaAttr().

◆ m_pEditPool

const SfxItemPool* MSWord_SdrAttrIter::m_pEditPool
private

◆ mnTyp

sal_uInt8 MSWord_SdrAttrIter::mnTyp
private

Definition at line 1477 of file wrtww8.hxx.

Referenced by OutEEField().


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