LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | 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...
 
bool checkFrameBtlr (SwNode *pStartNode, bool bDML)
 Undo the text direction mangling done by the frame btLr handler in writerfilter::dmapper::DomainMapper::lcl_startCharacterGroup() 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 setFrameBtLr (bool bFrameBtLr)
 
bool getFrameBtLr ()
 
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 ()
 
void setFlyFrameGraphic (bool bFlyFrameGraphic)
 
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)
 

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_bFrameBtLr
 
bool m_bDrawingOpen
 
bool m_bParagraphSdtOpen
 
bool m_bParagraphHasDrawing
 
bool m_bFlyFrameGraphic
 Flag for checking drawing in a paragraph. More...
 
rtl::Reference< sax_fastparser::FastAttributeListm_pFlyFillAttrList
 
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 141 of file docxsdrexport.cxx.

Constructor & Destructor Documentation

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

Definition at line 168 of file docxsdrexport.cxx.

Member Function Documentation

bool DocxSdrExport::Impl::checkFrameBtlr ( SwNode pStartNode,
bool  bDML 
)
sax_fastparser::FastAttributeList* DocxSdrExport::Impl::getBodyPrAttrList ( ) const
inline

Definition at line 280 of file docxsdrexport.cxx.

References m_pBodyPrAttrList.

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

Definition at line 282 of file docxsdrexport.cxx.

References m_pDashLineStyleAttr.

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

Definition at line 254 of file docxsdrexport.cxx.

References m_bDMLAndVMLDrawingOpen.

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

Definition at line 300 of file docxsdrexport.cxx.

References m_nDMLandVMLTextFrameRotation.

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

Definition at line 215 of file docxsdrexport.cxx.

References m_bDMLTextFrameSyntax.

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

Definition at line 291 of file docxsdrexport.cxx.

References m_pDrawingML.

bool DocxSdrExport::Impl::getDrawingOpen ( )
inline

Definition at line 243 of file docxsdrexport.cxx.

References m_bDrawingOpen.

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

Definition at line 293 of file docxsdrexport.cxx.

References m_rExport.

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

Definition at line 222 of file docxsdrexport.cxx.

References m_pFlyAttrList.

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

Definition at line 263 of file docxsdrexport.cxx.

References m_pFlyFillAttrList.

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

Definition at line 289 of file docxsdrexport.cxx.

References m_bFlyFrameGraphic.

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

Definition at line 204 of file docxsdrexport.cxx.

References m_pFlyFrameSize.

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

Definition at line 273 of file docxsdrexport.cxx.

References m_pFlyWrapAttrList.

bool DocxSdrExport::Impl::getFrameBtLr ( )
inline

Definition at line 239 of file docxsdrexport.cxx.

References m_bFrameBtLr.

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

Definition at line 261 of file docxsdrexport.cxx.

References m_bParagraphHasDrawing.

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

Definition at line 247 of file docxsdrexport.cxx.

References m_bParagraphSdtOpen.

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

Definition at line 200 of file docxsdrexport.cxx.

References m_pSerializer.

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

Definition at line 230 of file docxsdrexport.cxx.

References m_pTextboxAttrList.

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

Definition at line 235 of file docxsdrexport.cxx.

References m_aTextFrameStyle.

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

Definition at line 208 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 275 of file docxsdrexport.cxx.

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

Definition at line 249 of file docxsdrexport.cxx.

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

Definition at line 295 of file docxsdrexport.cxx.

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

Definition at line 210 of file docxsdrexport.cxx.

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

Definition at line 241 of file docxsdrexport.cxx.

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

Definition at line 217 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setFlyFrameGraphic ( bool  bFlyFrameGraphic)
inline

Definition at line 287 of file docxsdrexport.cxx.

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

Definition at line 202 of file docxsdrexport.cxx.

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

Definition at line 268 of file docxsdrexport.cxx.

void DocxSdrExport::Impl::setFrameBtLr ( bool  bFrameBtLr)
inline

Definition at line 237 of file docxsdrexport.cxx.

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

Definition at line 256 of file docxsdrexport.cxx.

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

Definition at line 245 of file docxsdrexport.cxx.

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

Definition at line 195 of file docxsdrexport.cxx.

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

Definition at line 225 of file docxsdrexport.cxx.

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

Definition at line 206 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 952 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 152 of file docxsdrexport.cxx.

Referenced by getTextFrameStyle().

bool DocxSdrExport::Impl::m_bDMLAndVMLDrawingOpen
private

Definition at line 162 of file docxsdrexport.cxx.

Referenced by getDMLAndVMLDrawingOpen().

bool DocxSdrExport::Impl::m_bDMLTextFrameSyntax
private

Definition at line 149 of file docxsdrexport.cxx.

Referenced by getDMLTextFrameSyntax().

bool DocxSdrExport::Impl::m_bDrawingOpen
private

Definition at line 154 of file docxsdrexport.cxx.

Referenced by getDrawingOpen().

bool DocxSdrExport::Impl::m_bFlyFrameGraphic
private

Flag for checking drawing in a paragraph.

Definition at line 157 of file docxsdrexport.cxx.

Referenced by getFlyFrameGraphic().

bool DocxSdrExport::Impl::m_bFrameBtLr
private

Definition at line 153 of file docxsdrexport.cxx.

Referenced by getFrameBtLr().

bool DocxSdrExport::Impl::m_bParagraphHasDrawing
private

Definition at line 156 of file docxsdrexport.cxx.

Referenced by getParagraphHasDrawing().

bool DocxSdrExport::Impl::m_bParagraphSdtOpen
private

Definition at line 155 of file docxsdrexport.cxx.

Referenced by getParagraphSdtOpen().

bool DocxSdrExport::Impl::m_bTextFrameSyntax
private

Definition at line 148 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 165 of file docxsdrexport.cxx.

Referenced by getDMLandVMLTextFrameRotation().

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

Definition at line 160 of file docxsdrexport.cxx.

Referenced by getBodyPrAttrList().

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

Definition at line 161 of file docxsdrexport.cxx.

Referenced by getDashLineStyleAttr().

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

Definition at line 146 of file docxsdrexport.cxx.

Referenced by getDrawingML().

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

Definition at line 150 of file docxsdrexport.cxx.

Referenced by getFlyAttrList().

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

Definition at line 158 of file docxsdrexport.cxx.

Referenced by getFlyFillAttrList().

const Size* DocxSdrExport::Impl::m_pFlyFrameSize
private

Definition at line 147 of file docxsdrexport.cxx.

Referenced by getFlyFrameSize().

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

Definition at line 159 of file docxsdrexport.cxx.

Referenced by getFlyWrapAttrList().

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

Definition at line 145 of file docxsdrexport.cxx.

Referenced by getSerializer(), and textFrameShadow().

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

Definition at line 151 of file docxsdrexport.cxx.

Referenced by getTextboxAttrList().

DocxExport& DocxSdrExport::Impl::m_rExport
private

Definition at line 144 of file docxsdrexport.cxx.

Referenced by getExport().


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