LibreOffice Module writerfilter (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
writerfilter::dmapper::SdtHelper Class Referencefinal

Helper to create form controls from w:sdt tokens. More...

#include <SdtHelper.hxx>

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

Public Member Functions

 SdtHelper (DomainMapper_Impl &rDM_Impl, css::uno::Reference< css::uno::XComponentContext > xContext)
 
 ~SdtHelper () override
 
std::vector< OUString > & getDropDownItems ()
 
std::vector< OUString > & getDropDownDisplayTexts ()
 
OUStringBuffer & getSdtTexts ()
 
OUStringBuffer & getDate ()
 
OUStringBuffer & getDateFormat ()
 
void setDataBindingPrefixMapping (const OUString &sValue)
 
const OUString & GetDataBindingPrefixMapping () const
 
void setDataBindingXPath (const OUString &sValue)
 
const OUString & GetDataBindingXPath () const
 
void setDataBindingStoreItemID (const OUString &sValue)
 
const OUString & GetDataBindingStoreItemID () const
 
void setDateFieldStartRange (const css::uno::Reference< css::text::XTextRange > &xStartRange)
 
OUStringBuffer & getLocale ()
 
bool hasElements () const
 If createControlShape() was ever called. More...
 
void setOutsideAParagraph (bool bOutsideAParagraph)
 
bool isOutsideAParagraph () const
 
SdtControlType getControlType ()
 
void setControlType (SdtControlType aType)
 
void SetSdtType (sal_uInt32 nSdtType)
 
sal_uInt32 GetSdtType () const
 
void createDropDownControl ()
 Create drop-down control from w:sdt's w:dropDownList. More...
 
void createDateContentControl ()
 Create date control from w:sdt's w:date. More...
 
void createPlainTextControl ()
 
void appendToInteropGrabBag (const css::beans::PropertyValue &rValue)
 
css::uno::Sequence< css::beans::PropertyValue > getInteropGrabBagAndClear ()
 
bool isInteropGrabBagEmpty () const
 
bool containedInInteropGrabBag (const OUString &rValueName)
 
sal_Int32 getInteropGrabBagSize () const
 
void SetShowingPlcHdr ()
 
bool GetShowingPlcHdr () const
 
void SetChecked ()
 
bool GetChecked () const
 
void SetCheckedState (const OUString &rCheckedState)
 
const OUString & GetCheckedState () const
 
void SetUncheckedState (const OUString &rUncheckedState)
 
const OUString & GetUncheckedState () const
 
void clear ()
 Clear all collected attributes for further reuse. More...
 
void SetPlaceholderDocPart (const OUString &rPlaceholderDocPart)
 
const OUString & GetPlaceholderDocPart () const
 
void SetColor (const OUString &rColor)
 
const OUString & GetColor () const
 
void SetAppearance (const OUString &rAppearance)
 
const OUString & GetAppearance () const
 
void SetAlias (const OUString &rAlias)
 
const OUString & GetAlias () const
 
void SetTag (const OUString &rTag)
 
const OUString & GetTag () const
 
void SetId (sal_Int32 nId)
 
sal_Int32 GetId () const
 
void SetTabIndex (sal_uInt32 nTabIndex)
 
sal_uInt32 GetTabIndex () const
 
void SetLock (const OUString &rLock)
 
const OUString & GetLock () const
 
std::optional< OUString > getValueFromDataBinding ()
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Member Functions

void createControlShape (css::awt::Size aSize, css::uno::Reference< css::awt::XControlModel > const &xControlModel, const css::uno::Sequence< css::beans::PropertyValue > &rGrabBag)
 Create and append the drawing::XControlShape, containing the various models. More...
 
void loadPropertiesXMLs ()
 

Private Attributes

DomainMapper_Implm_rDM_Impl
 
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext
 
std::vector< OUString > m_aDropDownItems
 Items of the drop-down control: <w:listItem w:value="...">. More...
 
std::vector< OUString > m_aDropDownDisplayTexts
 Display texts of a drop-down control: <w:listItem w:displayText="...">. More...
 
SdtControlType m_aControlType
 Type of sdt control. More...
 
sal_uInt32 m_nSdtType = 0
 
OUStringBuffer m_aSdtTexts
 Pieces of the default text – currently used only by the dropdown control. More...
 
OUStringBuffer m_sDate
 Date ISO string contained in the w:date element, used by the date control. More...
 
OUStringBuffer m_sDateFormat
 Date format string as it comes from the ooxml document. More...
 
OUString m_sDataBindingPrefixMapping
 <w:dataBinding w:prefixMappings=""> More...
 
OUString m_sDataBindingXPath
 <w:dataBinding w:xpath=""> More...
 
OUString m_sDataBindingStoreItemID
 <w:dataBinding w:storeItemID=""> More...
 
css::uno::Reference< css::text::XTextRange > m_xDateFieldStartRange
 Start range of the date field. More...
 
OUStringBuffer m_sLocale
 Locale string as it comes from the ooxml document. More...
 
std::vector< css::beans::PropertyValue > m_aGrabBag
 Grab bag to store unsupported SDTs, aiming to save them back on export. More...
 
bool m_bHasElements
 
bool m_bOutsideAParagraph
 The last stored SDT element is outside paragraphs. More...
 
std::unordered_map< OUString, css::uno::Reference< css::xml::dom::XDocument > > m_xPropertiesXMLs
 Storage for all properties documents as xml::dom::XDocument for later querying xpath for data. More...
 
bool m_bPropertiesXMLsLoaded
 Check if m_xPropertiesXMLs is initialized and loaded (need extra flag to distinguish empty sequence from not yet initialized) More...
 
bool m_bShowingPlcHdr = false
 Current contents are placeholder text. More...
 
bool m_bChecked = false
 If this is a checkbox, is the checkbox checked? More...
 
OUString m_aCheckedState
 If this is a checkbox, the value of a checked checkbox. More...
 
OUString m_aUncheckedState
 If this is a checkbox, the value of an unchecked checkbox. More...
 
OUString m_aPlaceholderDocPart
 <w:placeholder>'s <w:docPart w:val="...">. More...
 
OUString m_aColor
 <w:sdtPr>'s <w15:color w:val="...">. More...
 
OUString m_aAppearance
 <w:sdtPr>'s <w15:appearance w:val="...">. More...
 
OUString m_aAlias
 <w:sdtPr>'s <w:alias w:val="...">. More...
 
OUString m_aTag
 <w:sdtPr>'s <w:tag w:val="...">. More...
 
sal_Int32 m_nId = 0
 <w:sdtPr>'s <w:id w:val="...">. More...
 
sal_uInt32 m_nTabIndex = 0
 <w:sdtPr>'s <w:tabIndex w:val="...">. More...
 
OUString m_aLock
 <w:sdtPr>'s <w:lock w:val="...">. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Helper to create form controls from w:sdt tokens.

w:sdt tokens can't be imported as form fields, as w:sdt supports e.g. date picking as well.

Definition at line 60 of file SdtHelper.hxx.

Constructor & Destructor Documentation

◆ SdtHelper()

writerfilter::dmapper::SdtHelper::SdtHelper ( DomainMapper_Impl rDM_Impl,
css::uno::Reference< css::uno::XComponentContext >  xContext 
)
explicit

Definition at line 81 of file SdtHelper.cxx.

References m_xComponentContext, and writerfilter::dmapper::unknown.

◆ ~SdtHelper()

writerfilter::dmapper::SdtHelper::~SdtHelper ( )
overridedefault

Member Function Documentation

◆ appendToInteropGrabBag()

void writerfilter::dmapper::SdtHelper::appendToInteropGrabBag ( const css::beans::PropertyValue &  rValue)

Definition at line 468 of file SdtHelper.cxx.

References m_aGrabBag.

◆ clear()

void writerfilter::dmapper::SdtHelper::clear ( )

◆ containedInInteropGrabBag()

bool writerfilter::dmapper::SdtHelper::containedInInteropGrabBag ( const OUString &  rValueName)

Definition at line 484 of file SdtHelper.cxx.

References i, and m_aGrabBag.

◆ createControlShape()

void writerfilter::dmapper::SdtHelper::createControlShape ( css::awt::Size  aSize,
css::uno::Reference< css::awt::XControlModel > const &  xControlModel,
const css::uno::Sequence< css::beans::PropertyValue > &  rGrabBag 
)
private

Create and append the drawing::XControlShape, containing the various models.

Definition at line 447 of file SdtHelper.cxx.

References writerfilter::dmapper::DomainMapper_Impl::appendTextContent(), writerfilter::dmapper::DomainMapper_Impl::GetTextFactory(), m_bHasElements, m_rDM_Impl, and UNO_NAME_MISC_OBJ_INTEROPGRABBAG.

Referenced by createDropDownControl().

◆ createDateContentControl()

void writerfilter::dmapper::SdtHelper::createDateContentControl ( )

◆ createDropDownControl()

void writerfilter::dmapper::SdtHelper::createDropDownControl ( )

◆ createPlainTextControl()

void writerfilter::dmapper::SdtHelper::createPlainTextControl ( )

◆ GetAlias()

const OUString & writerfilter::dmapper::SdtHelper::GetAlias ( ) const

Definition at line 550 of file SdtHelper.cxx.

References m_aAlias.

◆ GetAppearance()

const OUString & writerfilter::dmapper::SdtHelper::GetAppearance ( ) const

Definition at line 546 of file SdtHelper.cxx.

References m_aAppearance.

◆ GetChecked()

bool writerfilter::dmapper::SdtHelper::GetChecked ( ) const

Definition at line 497 of file SdtHelper.cxx.

References m_bChecked.

◆ GetCheckedState()

const OUString & writerfilter::dmapper::SdtHelper::GetCheckedState ( ) const

Definition at line 501 of file SdtHelper.cxx.

References m_aCheckedState.

◆ GetColor()

const OUString & writerfilter::dmapper::SdtHelper::GetColor ( ) const

Definition at line 542 of file SdtHelper.cxx.

References m_aColor.

◆ getControlType()

SdtControlType writerfilter::dmapper::SdtHelper::getControlType ( )
inline

Definition at line 188 of file SdtHelper.hxx.

References m_aControlType.

Referenced by createDropDownControl(), and createPlainTextControl().

◆ GetDataBindingPrefixMapping()

const OUString & writerfilter::dmapper::SdtHelper::GetDataBindingPrefixMapping ( ) const
inline

Definition at line 164 of file SdtHelper.hxx.

References m_sDataBindingPrefixMapping.

◆ GetDataBindingStoreItemID()

const OUString & writerfilter::dmapper::SdtHelper::GetDataBindingStoreItemID ( ) const
inline

Definition at line 170 of file SdtHelper.hxx.

References m_sDataBindingStoreItemID.

◆ GetDataBindingXPath()

const OUString & writerfilter::dmapper::SdtHelper::GetDataBindingXPath ( ) const
inline

Definition at line 167 of file SdtHelper.hxx.

References m_sDataBindingXPath.

◆ getDate()

OUStringBuffer & writerfilter::dmapper::SdtHelper::getDate ( )
inline

Definition at line 156 of file SdtHelper.hxx.

References m_sDate.

◆ getDateFormat()

OUStringBuffer & writerfilter::dmapper::SdtHelper::getDateFormat ( )
inline

Definition at line 158 of file SdtHelper.hxx.

References m_sDateFormat.

◆ getDropDownDisplayTexts()

std::vector< OUString > & writerfilter::dmapper::SdtHelper::getDropDownDisplayTexts ( )
inline

Definition at line 153 of file SdtHelper.hxx.

References m_aDropDownDisplayTexts.

◆ getDropDownItems()

std::vector< OUString > & writerfilter::dmapper::SdtHelper::getDropDownItems ( )
inline

Definition at line 152 of file SdtHelper.hxx.

References m_aDropDownItems.

◆ GetId()

sal_Int32 writerfilter::dmapper::SdtHelper::GetId ( ) const

Definition at line 558 of file SdtHelper.cxx.

References m_nId.

◆ getInteropGrabBagAndClear()

uno::Sequence< beans::PropertyValue > writerfilter::dmapper::SdtHelper::getInteropGrabBagAndClear ( )

◆ getInteropGrabBagSize()

sal_Int32 writerfilter::dmapper::SdtHelper::getInteropGrabBagSize ( ) const

Definition at line 482 of file SdtHelper.cxx.

References m_aGrabBag.

◆ getLocale()

OUStringBuffer & writerfilter::dmapper::SdtHelper::getLocale ( )
inline

Definition at line 177 of file SdtHelper.hxx.

References m_sLocale.

◆ GetLock()

const OUString & writerfilter::dmapper::SdtHelper::GetLock ( ) const

Definition at line 566 of file SdtHelper.cxx.

References m_aLock.

◆ GetPlaceholderDocPart()

const OUString & writerfilter::dmapper::SdtHelper::GetPlaceholderDocPart ( ) const

Definition at line 538 of file SdtHelper.cxx.

References m_aPlaceholderDocPart.

◆ getSdtTexts()

OUStringBuffer & writerfilter::dmapper::SdtHelper::getSdtTexts ( )
inline

Definition at line 154 of file SdtHelper.hxx.

References m_aSdtTexts.

◆ GetSdtType()

sal_uInt32 writerfilter::dmapper::SdtHelper::GetSdtType ( ) const
inline

Definition at line 192 of file SdtHelper.hxx.

References m_nSdtType.

◆ GetShowingPlcHdr()

bool writerfilter::dmapper::SdtHelper::GetShowingPlcHdr ( ) const

Definition at line 493 of file SdtHelper.cxx.

References m_bShowingPlcHdr.

◆ GetTabIndex()

sal_uInt32 writerfilter::dmapper::SdtHelper::GetTabIndex ( ) const

Definition at line 562 of file SdtHelper.cxx.

References m_nTabIndex.

◆ GetTag()

const OUString & writerfilter::dmapper::SdtHelper::GetTag ( ) const

Definition at line 554 of file SdtHelper.cxx.

References m_aTag.

◆ GetUncheckedState()

const OUString & writerfilter::dmapper::SdtHelper::GetUncheckedState ( ) const

Definition at line 508 of file SdtHelper.cxx.

References m_aUncheckedState.

◆ getValueFromDataBinding()

std::optional< OUString > writerfilter::dmapper::SdtHelper::getValueFromDataBinding ( )

◆ hasElements()

bool writerfilter::dmapper::SdtHelper::hasElements ( ) const
inline

If createControlShape() was ever called.

Definition at line 179 of file SdtHelper.hxx.

References m_bHasElements.

◆ isInteropGrabBagEmpty()

bool writerfilter::dmapper::SdtHelper::isInteropGrabBagEmpty ( ) const

Definition at line 480 of file SdtHelper.cxx.

References m_aGrabBag.

◆ isOutsideAParagraph()

bool writerfilter::dmapper::SdtHelper::isOutsideAParagraph ( ) const
inline

Definition at line 186 of file SdtHelper.hxx.

References m_bOutsideAParagraph.

◆ loadPropertiesXMLs()

void writerfilter::dmapper::SdtHelper::loadPropertiesXMLs ( )
private

◆ SetAlias()

void writerfilter::dmapper::SdtHelper::SetAlias ( const OUString &  rAlias)

Definition at line 548 of file SdtHelper.cxx.

References m_aAlias.

◆ SetAppearance()

void writerfilter::dmapper::SdtHelper::SetAppearance ( const OUString &  rAppearance)

Definition at line 544 of file SdtHelper.cxx.

References m_aAppearance.

◆ SetChecked()

void writerfilter::dmapper::SdtHelper::SetChecked ( )

Definition at line 495 of file SdtHelper.cxx.

References m_bChecked.

◆ SetCheckedState()

void writerfilter::dmapper::SdtHelper::SetCheckedState ( const OUString &  rCheckedState)

Definition at line 499 of file SdtHelper.cxx.

References m_aCheckedState.

◆ SetColor()

void writerfilter::dmapper::SdtHelper::SetColor ( const OUString &  rColor)

Definition at line 540 of file SdtHelper.cxx.

References m_aColor.

◆ setControlType()

void writerfilter::dmapper::SdtHelper::setControlType ( SdtControlType  aType)
inline

Definition at line 189 of file SdtHelper.hxx.

References m_aControlType.

Referenced by clear().

◆ setDataBindingPrefixMapping()

void writerfilter::dmapper::SdtHelper::setDataBindingPrefixMapping ( const OUString &  sValue)
inline

Definition at line 160 of file SdtHelper.hxx.

References m_sDataBindingPrefixMapping.

◆ setDataBindingStoreItemID()

void writerfilter::dmapper::SdtHelper::setDataBindingStoreItemID ( const OUString &  sValue)
inline

Definition at line 169 of file SdtHelper.hxx.

References m_sDataBindingStoreItemID.

◆ setDataBindingXPath()

void writerfilter::dmapper::SdtHelper::setDataBindingXPath ( const OUString &  sValue)
inline

Definition at line 166 of file SdtHelper.hxx.

References m_sDataBindingXPath.

◆ setDateFieldStartRange()

void writerfilter::dmapper::SdtHelper::setDateFieldStartRange ( const css::uno::Reference< css::text::XTextRange > &  xStartRange)
inline

Definition at line 172 of file SdtHelper.hxx.

References m_xDateFieldStartRange.

◆ SetId()

void writerfilter::dmapper::SdtHelper::SetId ( sal_Int32  nId)

Definition at line 556 of file SdtHelper.cxx.

References m_nId, and nId.

◆ SetLock()

void writerfilter::dmapper::SdtHelper::SetLock ( const OUString &  rLock)

Definition at line 564 of file SdtHelper.cxx.

References m_aLock.

◆ setOutsideAParagraph()

void writerfilter::dmapper::SdtHelper::setOutsideAParagraph ( bool  bOutsideAParagraph)
inline

Definition at line 181 of file SdtHelper.hxx.

References m_bOutsideAParagraph.

◆ SetPlaceholderDocPart()

void writerfilter::dmapper::SdtHelper::SetPlaceholderDocPart ( const OUString &  rPlaceholderDocPart)

Definition at line 533 of file SdtHelper.cxx.

References m_aPlaceholderDocPart.

◆ SetSdtType()

void writerfilter::dmapper::SdtHelper::SetSdtType ( sal_uInt32  nSdtType)
inline

Definition at line 191 of file SdtHelper.hxx.

References m_nSdtType.

◆ SetShowingPlcHdr()

void writerfilter::dmapper::SdtHelper::SetShowingPlcHdr ( )

Definition at line 491 of file SdtHelper.cxx.

References m_bShowingPlcHdr.

◆ SetTabIndex()

void writerfilter::dmapper::SdtHelper::SetTabIndex ( sal_uInt32  nTabIndex)

Definition at line 560 of file SdtHelper.cxx.

References m_nTabIndex.

◆ SetTag()

void writerfilter::dmapper::SdtHelper::SetTag ( const OUString &  rTag)

Definition at line 552 of file SdtHelper.cxx.

References m_aTag.

◆ SetUncheckedState()

void writerfilter::dmapper::SdtHelper::SetUncheckedState ( const OUString &  rUncheckedState)

Definition at line 503 of file SdtHelper.cxx.

References m_aUncheckedState.

Member Data Documentation

◆ m_aAlias

OUString writerfilter::dmapper::SdtHelper::m_aAlias
private

<w:sdtPr>'s <w:alias w:val="...">.

Definition at line 133 of file SdtHelper.hxx.

Referenced by clear(), GetAlias(), and SetAlias().

◆ m_aAppearance

OUString writerfilter::dmapper::SdtHelper::m_aAppearance
private

<w:sdtPr>'s <w15:appearance w:val="...">.

Definition at line 130 of file SdtHelper.hxx.

Referenced by GetAppearance(), and SetAppearance().

◆ m_aCheckedState

OUString writerfilter::dmapper::SdtHelper::m_aCheckedState
private

If this is a checkbox, the value of a checked checkbox.

Definition at line 111 of file SdtHelper.hxx.

Referenced by clear(), GetCheckedState(), and SetCheckedState().

◆ m_aColor

OUString writerfilter::dmapper::SdtHelper::m_aColor
private

<w:sdtPr>'s <w15:color w:val="...">.

Definition at line 127 of file SdtHelper.hxx.

Referenced by clear(), GetColor(), and SetColor().

◆ m_aControlType

SdtControlType writerfilter::dmapper::SdtHelper::m_aControlType
private

Type of sdt control.

Definition at line 70 of file SdtHelper.hxx.

Referenced by getControlType(), and setControlType().

◆ m_aDropDownDisplayTexts

std::vector<OUString> writerfilter::dmapper::SdtHelper::m_aDropDownDisplayTexts
private

Display texts of a drop-down control: <w:listItem w:displayText="...">.

Definition at line 68 of file SdtHelper.hxx.

Referenced by clear(), and getDropDownDisplayTexts().

◆ m_aDropDownItems

std::vector<OUString> writerfilter::dmapper::SdtHelper::m_aDropDownItems
private

Items of the drop-down control: <w:listItem w:value="...">.

Definition at line 66 of file SdtHelper.hxx.

Referenced by clear(), createDropDownControl(), and getDropDownItems().

◆ m_aGrabBag

std::vector<css::beans::PropertyValue> writerfilter::dmapper::SdtHelper::m_aGrabBag
private

Grab bag to store unsupported SDTs, aiming to save them back on export.

Definition at line 91 of file SdtHelper.hxx.

Referenced by appendToInteropGrabBag(), clear(), containedInInteropGrabBag(), getInteropGrabBagAndClear(), getInteropGrabBagSize(), and isInteropGrabBagEmpty().

◆ m_aLock

OUString writerfilter::dmapper::SdtHelper::m_aLock
private

<w:sdtPr>'s <w:lock w:val="...">.

Definition at line 145 of file SdtHelper.hxx.

Referenced by clear(), GetLock(), and SetLock().

◆ m_aPlaceholderDocPart

OUString writerfilter::dmapper::SdtHelper::m_aPlaceholderDocPart
private

<w:placeholder>'s <w:docPart w:val="...">.

Definition at line 124 of file SdtHelper.hxx.

Referenced by clear(), GetPlaceholderDocPart(), and SetPlaceholderDocPart().

◆ m_aSdtTexts

OUStringBuffer writerfilter::dmapper::SdtHelper::m_aSdtTexts
private

Pieces of the default text – currently used only by the dropdown control.

Definition at line 73 of file SdtHelper.hxx.

Referenced by createDropDownControl(), createPlainTextControl(), and getSdtTexts().

◆ m_aTag

OUString writerfilter::dmapper::SdtHelper::m_aTag
private

<w:sdtPr>'s <w:tag w:val="...">.

Definition at line 136 of file SdtHelper.hxx.

Referenced by clear(), GetTag(), and SetTag().

◆ m_aUncheckedState

OUString writerfilter::dmapper::SdtHelper::m_aUncheckedState
private

If this is a checkbox, the value of an unchecked checkbox.

Definition at line 114 of file SdtHelper.hxx.

Referenced by clear(), GetUncheckedState(), and SetUncheckedState().

◆ m_bChecked

bool writerfilter::dmapper::SdtHelper::m_bChecked = false
private

If this is a checkbox, is the checkbox checked?

Definition at line 108 of file SdtHelper.hxx.

Referenced by clear(), GetChecked(), and SetChecked().

◆ m_bHasElements

bool writerfilter::dmapper::SdtHelper::m_bHasElements
private

Definition at line 93 of file SdtHelper.hxx.

Referenced by createControlShape(), createDropDownControl(), and hasElements().

◆ m_bOutsideAParagraph

bool writerfilter::dmapper::SdtHelper::m_bOutsideAParagraph
private

The last stored SDT element is outside paragraphs.

Definition at line 95 of file SdtHelper.hxx.

Referenced by isOutsideAParagraph(), and setOutsideAParagraph().

◆ m_bPropertiesXMLsLoaded

bool writerfilter::dmapper::SdtHelper::m_bPropertiesXMLsLoaded
private

Check if m_xPropertiesXMLs is initialized and loaded (need extra flag to distinguish empty sequence from not yet initialized)

Definition at line 102 of file SdtHelper.hxx.

Referenced by getValueFromDataBinding(), and loadPropertiesXMLs().

◆ m_bShowingPlcHdr

bool writerfilter::dmapper::SdtHelper::m_bShowingPlcHdr = false
private

Current contents are placeholder text.

Definition at line 105 of file SdtHelper.hxx.

Referenced by clear(), GetShowingPlcHdr(), and SetShowingPlcHdr().

◆ m_nId

sal_Int32 writerfilter::dmapper::SdtHelper::m_nId = 0
private

<w:sdtPr>'s <w:id w:val="...">.

Definition at line 139 of file SdtHelper.hxx.

Referenced by clear(), GetId(), and SetId().

◆ m_nSdtType

sal_uInt32 writerfilter::dmapper::SdtHelper::m_nSdtType = 0
private

Definition at line 71 of file SdtHelper.hxx.

Referenced by clear(), GetSdtType(), and SetSdtType().

◆ m_nTabIndex

sal_uInt32 writerfilter::dmapper::SdtHelper::m_nTabIndex = 0
private

<w:sdtPr>'s <w:tabIndex w:val="...">.

Definition at line 142 of file SdtHelper.hxx.

Referenced by clear(), GetTabIndex(), and SetTabIndex().

◆ m_rDM_Impl

DomainMapper_Impl& writerfilter::dmapper::SdtHelper::m_rDM_Impl
private

◆ m_sDataBindingPrefixMapping

OUString writerfilter::dmapper::SdtHelper::m_sDataBindingPrefixMapping
private

<w:dataBinding w:prefixMappings="">

Definition at line 80 of file SdtHelper.hxx.

Referenced by clear(), GetDataBindingPrefixMapping(), getValueFromDataBinding(), and setDataBindingPrefixMapping().

◆ m_sDataBindingStoreItemID

OUString writerfilter::dmapper::SdtHelper::m_sDataBindingStoreItemID
private

<w:dataBinding w:storeItemID="">

Definition at line 84 of file SdtHelper.hxx.

Referenced by clear(), GetDataBindingStoreItemID(), getValueFromDataBinding(), and setDataBindingStoreItemID().

◆ m_sDataBindingXPath

OUString writerfilter::dmapper::SdtHelper::m_sDataBindingXPath
private

<w:dataBinding w:xpath="">

Definition at line 82 of file SdtHelper.hxx.

Referenced by clear(), GetDataBindingXPath(), getValueFromDataBinding(), and setDataBindingXPath().

◆ m_sDate

OUStringBuffer writerfilter::dmapper::SdtHelper::m_sDate
private

Date ISO string contained in the w:date element, used by the date control.

Definition at line 75 of file SdtHelper.hxx.

Referenced by createDateContentControl(), and getDate().

◆ m_sDateFormat

OUStringBuffer writerfilter::dmapper::SdtHelper::m_sDateFormat
private

Date format string as it comes from the ooxml document.

Definition at line 77 of file SdtHelper.hxx.

Referenced by createDateContentControl(), and getDateFormat().

◆ m_sLocale

OUStringBuffer writerfilter::dmapper::SdtHelper::m_sLocale
private

Locale string as it comes from the ooxml document.

Definition at line 89 of file SdtHelper.hxx.

Referenced by createDateContentControl(), and getLocale().

◆ m_xComponentContext

css::uno::Reference<css::uno::XComponentContext> writerfilter::dmapper::SdtHelper::m_xComponentContext
private

Definition at line 63 of file SdtHelper.hxx.

Referenced by getValueFromDataBinding(), and loadPropertiesXMLs().

◆ m_xDateFieldStartRange

css::uno::Reference<css::text::XTextRange> writerfilter::dmapper::SdtHelper::m_xDateFieldStartRange
private

Start range of the date field.

Definition at line 87 of file SdtHelper.hxx.

Referenced by createDateContentControl(), and setDateFieldStartRange().

◆ m_xPropertiesXMLs

std::unordered_map<OUString, css::uno::Reference<css::xml::dom::XDocument> > writerfilter::dmapper::SdtHelper::m_xPropertiesXMLs
private

Storage for all properties documents as xml::dom::XDocument for later querying xpath for data.

Definition at line 98 of file SdtHelper.hxx.

Referenced by getValueFromDataBinding(), and loadPropertiesXMLs().


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