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

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 EditTextObjectpEditObj
 
const SfxItemPoolpEditPool
 
std::vector< EECharAttribaTextAtrArr
 
std::vector< const EECharAttrib * > aChrTextAtrArr
 
std::vector< rtl_TextEncoding > aChrSetArr
 
sal_Int32 nPara
 
sal_Int32 nCurrentSwPos
 
sal_Int32 nTmpSwPos
 
rtl_TextEncoding eNdChrSet
 
sal_uInt16 nScript
 
sal_uInt8 const mnTyp
 

Additional Inherited Members

- Protected Attributes inherited from MSWordAttrIter
MSWordExportBasem_rExport
 

Detailed Description

Used to export formatted text associated to drawings.

Definition at line 1429 of file wrtww8.hxx.

Constructor & Destructor Documentation

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

Definition at line 1027 of file wrtw8esh.cxx.

References NextPara().

Member Function Documentation

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

Definition at line 1054 of file wrtw8esh.cxx.

References aChrSetArr, and eNdChrSet.

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

rtl_TextEncoding MSWord_SdrAttrIter::GetNodeCharSet ( ) const
inline

Definition at line 1467 of file wrtww8.hxx.

References eNdChrSet.

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

const SfxPoolItem * MSWord_SdrAttrIter::HasTextItem ( sal_uInt16  nWhich) const
overridevirtual
bool MSWord_SdrAttrIter::IsTextAttr ( sal_Int32  nSwPos)
void MSWord_SdrAttrIter::NextPara ( sal_Int32  nPar)
void MSWord_SdrAttrIter::NextPos ( )
inline
MSWord_SdrAttrIter& MSWord_SdrAttrIter::operator= ( const MSWord_SdrAttrIter )
privatedelete
void MSWord_SdrAttrIter::OutAttr ( sal_Int32  nSwPos)
void MSWord_SdrAttrIter::OutEEField ( const SfxPoolItem rHt)
void MSWord_SdrAttrIter::OutParaAttr ( bool  bCharAttr,
const std::set< sal_uInt16 > *  pWhichsToIgnore = nullptr 
)
sal_Int32 MSWord_SdrAttrIter::SearchNext ( sal_Int32  nStartPos)
private

Definition at line 1062 of file wrtw8esh.cxx.

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

Referenced by NextPara(), and NextPos().

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

Definition at line 1084 of file wrtw8esh.cxx.

References aChrSetArr, aChrTextAtrArr, EE_CHAR_FONTINFO, EECharAttrib::pAttr, and SfxPoolItem::Which().

Referenced by SearchNext().

void MSWord_SdrAttrIter::SetItemsThatDifferFromStandard ( bool  bCharAttr,
SfxItemSet rSet 
)
private
sal_Int32 MSWord_SdrAttrIter::WhereNext ( ) const
inline

Member Data Documentation

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

Definition at line 1436 of file wrtww8.hxx.

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

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

Definition at line 1435 of file wrtww8.hxx.

Referenced by NextPara(), and SetCharSet().

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

Definition at line 1434 of file wrtww8.hxx.

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

rtl_TextEncoding MSWord_SdrAttrIter::eNdChrSet
private

Definition at line 1440 of file wrtww8.hxx.

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

sal_uInt8 const MSWord_SdrAttrIter::mnTyp
private

Definition at line 1442 of file wrtww8.hxx.

Referenced by OutEEField().

sal_Int32 MSWord_SdrAttrIter::nCurrentSwPos
private

Definition at line 1438 of file wrtww8.hxx.

Referenced by NextPara(), and WhereNext().

sal_Int32 MSWord_SdrAttrIter::nPara
private

Definition at line 1437 of file wrtww8.hxx.

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

sal_uInt16 MSWord_SdrAttrIter::nScript
private

Definition at line 1441 of file wrtww8.hxx.

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

sal_Int32 MSWord_SdrAttrIter::nTmpSwPos
private

Definition at line 1439 of file wrtww8.hxx.

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

const EditTextObject* MSWord_SdrAttrIter::pEditObj
private

Definition at line 1432 of file wrtww8.hxx.

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

const SfxItemPool* MSWord_SdrAttrIter::pEditPool
private

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