LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
DocxSdrExport::Impl Struct Reference

Holds data used by DocxSdrExport only. More...

Collaboration diagram for DocxSdrExport::Impl:
[legend]

Public Member Functions

 Impl (DocxExport &rExport, sax_fastparser::FSHelperPtr pSerializer, oox::drawingml::DrawingML *pDrawingML)
 
void textFrameShadow (const SwFrameFormat &rFrameFormat)
 Writes wp wrapper code around an SdrObject, which itself is written using drawingML syntax. More...
 
void setSerializer (const sax_fastparser::FSHelperPtr &pSerializer)
 
const sax_fastparser::FSHelperPtrgetSerializer ()
 
void setFlyFrameSize (const Size *pFlyFrameSize)
 
const SizegetFlyFrameSize () const
 
void setTextFrameSyntax (bool bTextFrameSyntax)
 
bool getTextFrameSyntax () const
 
void setDMLTextFrameSyntax (bool bDMLTextFrameSyntax)
 
bool getDMLTextFrameSyntax () const
 
void setFlyAttrList (const rtl::Reference< sax_fastparser::FastAttributeList > &pFlyAttrList)
 
rtl::Reference< sax_fastparser::FastAttributeList > & getFlyAttrList ()
 
void setTextboxAttrList (const rtl::Reference< sax_fastparser::FastAttributeList > &pTextboxAttrList)
 
rtl::Reference< sax_fastparser::FastAttributeList > & getTextboxAttrList ()
 
OStringBuffer & getTextFrameStyle ()
 
void setDrawingOpen (bool bDrawingOpen)
 
bool getDrawingOpen ()
 
void setParagraphSdtOpen (bool bParagraphSdtOpen)
 
bool getParagraphSdtOpen () const
 
void setDMLAndVMLDrawingOpen (bool bDMLAndVMLDrawingOpen)
 
bool getDMLAndVMLDrawingOpen () const
 
void setParagraphHasDrawing (bool bParagraphHasDrawing)
 
bool getParagraphHasDrawing () const
 
rtl::Reference< sax_fastparser::FastAttributeList > & getFlyFillAttrList ()
 
void setFlyWrapAttrList (sax_fastparser::FastAttributeList *pFlyWrapAttrList)
 
sax_fastparser::FastAttributeListgetFlyWrapAttrList () const
 
void setBodyPrAttrList (sax_fastparser::FastAttributeList *pBodyPrAttrList)
 
sax_fastparser::FastAttributeListgetBodyPrAttrList () const
 
rtl::Reference< sax_fastparser::FastAttributeList > & getDashLineStyleAttr ()
 
bool getFlyFrameGraphic () const
 
oox::drawingml::DrawingMLgetDrawingML () const
 
DocxExportgetExport () const
 
void setDMLandVMLTextFrameRotation (sal_Int32 nDMLandVMLTextFrameRotation)
 
sal_Int32 & getDMLandVMLTextFrameRotation ()
 

Static Public Member Functions

static bool isSupportedDMLShape (const uno::Reference< drawing::XShape > &xShape)
 

Public Attributes

bool m_bFlyFrameGraphic = false
 

Private Attributes

DocxExportm_rExport
 
sax_fastparser::FSHelperPtr m_pSerializer
 
oox::drawingml::DrawingMLm_pDrawingML
 
const Sizem_pFlyFrameSize
 
bool m_bTextFrameSyntax
 
bool m_bDMLTextFrameSyntax
 
rtl::Reference< sax_fastparser::FastAttributeListm_pFlyAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pTextboxAttrList
 
OStringBuffer m_aTextFrameStyle
 
bool m_bDrawingOpen
 
bool m_bParagraphSdtOpen
 
bool m_bParagraphHasDrawing
 
rtl::Reference< sax_fastparser::FastAttributeListm_pFlyFillAttrList
 Flag for checking drawing in a paragraph. More...
 
sax_fastparser::FastAttributeListm_pFlyWrapAttrList
 
sax_fastparser::FastAttributeListm_pBodyPrAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pDashLineStyleAttr
 
bool m_bDMLAndVMLDrawingOpen
 
sal_Int32 m_nDMLandVMLTextFrameRotation
 List of TextBoxes in this document: they are exported as part of their shape, never alone. More...
 

Detailed Description

Holds data used by DocxSdrExport only.

Definition at line 127 of file docxsdrexport.cxx.

Constructor & Destructor Documentation

DocxSdrExport::Impl::Impl ( DocxExport rExport,
sax_fastparser::FSHelperPtr  pSerializer,
oox::drawingml::DrawingML pDrawingML 
)
inline

Definition at line 154 of file docxsdrexport.cxx.

Member Function Documentation

sax_fastparser::FastAttributeList* DocxSdrExport::Impl::getBodyPrAttrList ( ) const
inline

Definition at line 258 of file docxsdrexport.cxx.

References m_pBodyPrAttrList.

rtl::Reference<sax_fastparser::FastAttributeList>& DocxSdrExport::Impl::getDashLineStyleAttr ( )
inline

Definition at line 260 of file docxsdrexport.cxx.

References m_pDashLineStyleAttr.

bool DocxSdrExport::Impl::getDMLAndVMLDrawingOpen ( ) const
inline

Definition at line 232 of file docxsdrexport.cxx.

References m_bDMLAndVMLDrawingOpen.

sal_Int32& DocxSdrExport::Impl::getDMLandVMLTextFrameRotation ( )
inline

Definition at line 276 of file docxsdrexport.cxx.

References m_nDMLandVMLTextFrameRotation.

bool DocxSdrExport::Impl::getDMLTextFrameSyntax ( ) const
inline

Definition at line 197 of file docxsdrexport.cxx.

References m_bDMLTextFrameSyntax.

oox::drawingml::DrawingML* DocxSdrExport::Impl::getDrawingML ( ) const
inline

Definition at line 267 of file docxsdrexport.cxx.

References m_pDrawingML.

bool DocxSdrExport::Impl::getDrawingOpen ( )
inline

Definition at line 221 of file docxsdrexport.cxx.

References m_bDrawingOpen.

DocxExport& DocxSdrExport::Impl::getExport ( ) const
inline

Definition at line 269 of file docxsdrexport.cxx.

References m_rExport.

rtl::Reference<sax_fastparser::FastAttributeList>& DocxSdrExport::Impl::getFlyAttrList ( )
inline

Definition at line 204 of file docxsdrexport.cxx.

References m_pFlyAttrList.

rtl::Reference<sax_fastparser::FastAttributeList>& DocxSdrExport::Impl::getFlyFillAttrList ( )
inline

Definition at line 241 of file docxsdrexport.cxx.

References m_pFlyFillAttrList.

bool DocxSdrExport::Impl::getFlyFrameGraphic ( ) const
inline

Definition at line 265 of file docxsdrexport.cxx.

References m_bFlyFrameGraphic.

const Size* DocxSdrExport::Impl::getFlyFrameSize ( ) const
inline

Definition at line 186 of file docxsdrexport.cxx.

References m_pFlyFrameSize.

sax_fastparser::FastAttributeList* DocxSdrExport::Impl::getFlyWrapAttrList ( ) const
inline

Definition at line 251 of file docxsdrexport.cxx.

References m_pFlyWrapAttrList.

bool DocxSdrExport::Impl::getParagraphHasDrawing ( ) const
inline

Definition at line 239 of file docxsdrexport.cxx.

References m_bParagraphHasDrawing.

bool DocxSdrExport::Impl::getParagraphSdtOpen ( ) const
inline

Definition at line 225 of file docxsdrexport.cxx.

References m_bParagraphSdtOpen.

const sax_fastparser::FSHelperPtr& DocxSdrExport::Impl::getSerializer ( )
inline

Definition at line 182 of file docxsdrexport.cxx.

References m_pSerializer.

rtl::Reference<sax_fastparser::FastAttributeList>& DocxSdrExport::Impl::getTextboxAttrList ( )
inline

Definition at line 212 of file docxsdrexport.cxx.

References m_pTextboxAttrList.

OStringBuffer& DocxSdrExport::Impl::getTextFrameStyle ( )
inline

Definition at line 217 of file docxsdrexport.cxx.

References m_aTextFrameStyle.

bool DocxSdrExport::Impl::getTextFrameSyntax ( ) const
inline

Definition at line 190 of file docxsdrexport.cxx.

References m_bTextFrameSyntax.

bool DocxSdrExport::Impl::isSupportedDMLShape ( const uno::Reference< drawing::XShape > &  xShape)
static
void DocxSdrExport::Impl::setBodyPrAttrList ( sax_fastparser::FastAttributeList pBodyPrAttrList)
inline

Definition at line 253 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setDMLAndVMLDrawingOpen ( bool  bDMLAndVMLDrawingOpen)
inline

Definition at line 227 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setDMLandVMLTextFrameRotation ( sal_Int32  nDMLandVMLTextFrameRotation)
inline

Definition at line 271 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setDMLTextFrameSyntax ( bool  bDMLTextFrameSyntax)
inline

Definition at line 192 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setDrawingOpen ( bool  bDrawingOpen)
inline

Definition at line 219 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setFlyAttrList ( const rtl::Reference< sax_fastparser::FastAttributeList > &  pFlyAttrList)
inline

Definition at line 199 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setFlyFrameSize ( const Size pFlyFrameSize)
inline

Definition at line 184 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setFlyWrapAttrList ( sax_fastparser::FastAttributeList pFlyWrapAttrList)
inline

Definition at line 246 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setParagraphHasDrawing ( bool  bParagraphHasDrawing)
inline

Definition at line 234 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setParagraphSdtOpen ( bool  bParagraphSdtOpen)
inline

Definition at line 223 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setSerializer ( const sax_fastparser::FSHelperPtr pSerializer)
inline

Definition at line 177 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setTextboxAttrList ( const rtl::Reference< sax_fastparser::FastAttributeList > &  pTextboxAttrList)
inline

Definition at line 207 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setTextFrameSyntax ( bool  bTextFrameSyntax)
inline

Definition at line 188 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::textFrameShadow ( const SwFrameFormat rFrameFormat)

Writes wp wrapper code around an SdrObject, which itself is written using drawingML syntax.

Definition at line 926 of file docxsdrexport.cxx.

References msfilter::util::ConvertColor(), SvxShadowItem::GetColor(), SvxShadowItem::GetLocation(), SwFormat::GetShadow(), SvxShadowItem::GetWidth(), and m_pSerializer.

Member Data Documentation

OStringBuffer DocxSdrExport::Impl::m_aTextFrameStyle
private

Definition at line 138 of file docxsdrexport.cxx.

Referenced by getTextFrameStyle().

bool DocxSdrExport::Impl::m_bDMLAndVMLDrawingOpen
private

Definition at line 146 of file docxsdrexport.cxx.

Referenced by getDMLAndVMLDrawingOpen().

bool DocxSdrExport::Impl::m_bDMLTextFrameSyntax
private

Definition at line 135 of file docxsdrexport.cxx.

Referenced by getDMLTextFrameSyntax().

bool DocxSdrExport::Impl::m_bDrawingOpen
private

Definition at line 139 of file docxsdrexport.cxx.

Referenced by getDrawingOpen().

bool DocxSdrExport::Impl::m_bFlyFrameGraphic = false

Definition at line 152 of file docxsdrexport.cxx.

Referenced by getFlyFrameGraphic().

bool DocxSdrExport::Impl::m_bParagraphHasDrawing
private

Definition at line 141 of file docxsdrexport.cxx.

Referenced by getParagraphHasDrawing().

bool DocxSdrExport::Impl::m_bParagraphSdtOpen
private

Definition at line 140 of file docxsdrexport.cxx.

Referenced by getParagraphSdtOpen().

bool DocxSdrExport::Impl::m_bTextFrameSyntax
private

Definition at line 134 of file docxsdrexport.cxx.

Referenced by getTextFrameSyntax().

sal_Int32 DocxSdrExport::Impl::m_nDMLandVMLTextFrameRotation
private

List of TextBoxes in this document: they are exported as part of their shape, never alone.

Preserved rotation for TextFrames.

Definition at line 149 of file docxsdrexport.cxx.

Referenced by getDMLandVMLTextFrameRotation().

sax_fastparser::FastAttributeList* DocxSdrExport::Impl::m_pBodyPrAttrList
private

Definition at line 144 of file docxsdrexport.cxx.

Referenced by getBodyPrAttrList().

rtl::Reference<sax_fastparser::FastAttributeList> DocxSdrExport::Impl::m_pDashLineStyleAttr
private

Definition at line 145 of file docxsdrexport.cxx.

Referenced by getDashLineStyleAttr().

oox::drawingml::DrawingML* DocxSdrExport::Impl::m_pDrawingML
private

Definition at line 132 of file docxsdrexport.cxx.

Referenced by getDrawingML().

rtl::Reference<sax_fastparser::FastAttributeList> DocxSdrExport::Impl::m_pFlyAttrList
private

Definition at line 136 of file docxsdrexport.cxx.

Referenced by getFlyAttrList().

rtl::Reference<sax_fastparser::FastAttributeList> DocxSdrExport::Impl::m_pFlyFillAttrList
private

Flag for checking drawing in a paragraph.

Definition at line 142 of file docxsdrexport.cxx.

Referenced by getFlyFillAttrList().

const Size* DocxSdrExport::Impl::m_pFlyFrameSize
private

Definition at line 133 of file docxsdrexport.cxx.

Referenced by getFlyFrameSize().

sax_fastparser::FastAttributeList* DocxSdrExport::Impl::m_pFlyWrapAttrList
private

Definition at line 143 of file docxsdrexport.cxx.

Referenced by getFlyWrapAttrList().

sax_fastparser::FSHelperPtr DocxSdrExport::Impl::m_pSerializer
private

Definition at line 131 of file docxsdrexport.cxx.

Referenced by getSerializer(), and textFrameShadow().

rtl::Reference<sax_fastparser::FastAttributeList> DocxSdrExport::Impl::m_pTextboxAttrList
private

Definition at line 137 of file docxsdrexport.cxx.

Referenced by getTextboxAttrList().

DocxExport& DocxSdrExport::Impl::m_rExport
private

Definition at line 130 of file docxsdrexport.cxx.

Referenced by getExport().


The documentation for this struct was generated from the following file: