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

field stack element More...

#include <DomainMapper_Impl.hxx>

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

Public Member Functions

 FieldContext (css::uno::Reference< css::text::XTextRange > xStart)
 
 ~FieldContext () override
 
const css::uno::Reference< css::text::XTextRange > & GetStartRange () const
 
void AppendCommand (std::u16string_view rPart)
 
const OUString & GetCommand () const
 
bool GetCommandIsEmpty (bool bType) const
 
void SetCommandType (bool cType)
 
void SetFieldId (FieldId eFieldId)
 
std::optional< FieldId > const & GetFieldId () const
 
void AppendResult (std::u16string_view rResult)
 
const OUString & GetResult () const
 
void CacheVariableValue (const css::uno::Any &rAny)
 
const OUString & GetVariableValue ()
 
void SetCommandCompleted ()
 
bool IsCommandCompleted () const
 
void SetFieldLocked ()
 
bool IsFieldLocked () const
 
const css::uno::Reference< css::beans::XPropertySet > & GetCustomField () const
 
void SetCustomField (css::uno::Reference< css::beans::XPropertySet > const &xCustomField)
 
const css::uno::Reference< css::text::XTextField > & GetTextField () const
 
void SetTextField (css::uno::Reference< css::text::XTextField > const &xTextField)
 
const css::uno::Reference< css::text::XFormField > & GetFormField () const
 
void SetFormField (css::uno::Reference< css::text::XFormField > const &xFormField)
 
void SetTOC (css::uno::Reference< css::beans::XPropertySet > const &xTOC)
 
const css::uno::Reference< css::beans::XPropertySet > & GetTOC () const
 
void SetTC (css::uno::Reference< css::beans::XPropertySet > const &xTC)
 
const css::uno::Reference< css::beans::XPropertySet > & GetTC () const
 
void SetHyperlinkURL (const OUString &rURL)
 
const OUString & GetHyperlinkURL () const
 
void SetHyperlinkTarget (const OUString &rTarget)
 
const OUString & GetHyperlinkTarget () const
 
void setFFDataHandler (FFDataHandler::Pointer_t pFFDataHandler)
 
const FFDataHandler::Pointer_tgetFFDataHandler () const
 
void setFormControlHelper (FormControlHelper::Pointer_t pFormControlHelper)
 
const FormControlHelper::Pointer_tgetFormControlHelper () const
 
const PropertyMapPtrgetProperties () const
 
::std::vector< OUString > GetCommandParts () const
 
std::vector< FieldParagraph > & GetParagraphsToFinish ()
 
- 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 Attributes

bool m_bFieldCommandCompleted
 
css::uno::Reference< css::text::XTextRange > m_xStartRange
 
OUString m_sCommand [2]
 
OUString m_sResult
 
OUString m_sVariableValue
 
std::optional< FieldIdm_eFieldId
 
bool m_bFieldLocked
 
bool m_bCommandType
 
css::uno::Reference< css::text::XTextField > m_xTextField
 
css::uno::Reference< css::text::XFormField > m_xFormField
 
css::uno::Reference< css::beans::XPropertySetm_xTOC
 
css::uno::Reference< css::beans::XPropertySetm_xTC
 
css::uno::Reference< css::beans::XPropertySetm_xCustomField
 
OUString m_sHyperlinkURL
 
OUString m_sHyperlinkTarget
 A frame for the hyperlink when one exists. More...
 
FFDataHandler::Pointer_t m_pFFDataHandler
 
FormControlHelper::Pointer_t m_pFormControlHelper
 
PropertyMapPtr m_pProperties
 (Character) properties of the field itself. More...
 
std::vector< FieldParagraphm_aParagraphsToFinish
 

Additional Inherited Members

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

Detailed Description

field stack element

Definition at line 175 of file DomainMapper_Impl.hxx.

Constructor & Destructor Documentation

◆ FieldContext()

writerfilter::dmapper::FieldContext::FieldContext ( css::uno::Reference< css::text::XTextRange >  xStart)
explicit

Definition at line 5595 of file DomainMapper_Impl.cxx.

References m_pProperties.

◆ ~FieldContext()

writerfilter::dmapper::FieldContext::~FieldContext ( )
override

Definition at line 5605 of file DomainMapper_Impl.cxx.

Member Function Documentation

◆ AppendCommand()

void writerfilter::dmapper::FieldContext::AppendCommand ( std::u16string_view  rPart)

Definition at line 5629 of file DomainMapper_Impl.cxx.

References m_bCommandType, and m_sCommand.

◆ AppendResult()

void writerfilter::dmapper::FieldContext::AppendResult ( std::u16string_view  rResult)
inline

Definition at line 222 of file DomainMapper_Impl.hxx.

References m_sResult.

◆ CacheVariableValue()

void writerfilter::dmapper::FieldContext::CacheVariableValue ( const css::uno::Any &  rAny)

Definition at line 5624 of file DomainMapper_Impl.cxx.

References m_sVariableValue.

◆ GetCommand()

const OUString & writerfilter::dmapper::FieldContext::GetCommand ( ) const
inline

Definition at line 215 of file DomainMapper_Impl.hxx.

References m_bCommandType, and m_sCommand.

Referenced by GetCommandParts().

◆ GetCommandIsEmpty()

bool writerfilter::dmapper::FieldContext::GetCommandIsEmpty ( bool  bType) const
inline

Definition at line 216 of file DomainMapper_Impl.hxx.

References m_sCommand.

◆ GetCommandParts()

std::vector< OUString > writerfilter::dmapper::FieldContext::GetCommandParts ( ) const

Definition at line 5634 of file DomainMapper_Impl.cxx.

References GetCommand(), and nIndex.

◆ GetCustomField()

const css::uno::Reference< css::beans::XPropertySet > & writerfilter::dmapper::FieldContext::GetCustomField ( ) const
inline

Definition at line 234 of file DomainMapper_Impl.hxx.

References m_xCustomField.

◆ getFFDataHandler()

const FFDataHandler::Pointer_t & writerfilter::dmapper::FieldContext::getFFDataHandler ( ) const
inline

Definition at line 253 of file DomainMapper_Impl.hxx.

References m_pFFDataHandler.

◆ GetFieldId()

std::optional< FieldId > const & writerfilter::dmapper::FieldContext::GetFieldId ( ) const
inline

Definition at line 220 of file DomainMapper_Impl.hxx.

References m_eFieldId.

◆ getFormControlHelper()

const FormControlHelper::Pointer_t & writerfilter::dmapper::FieldContext::getFormControlHelper ( ) const
inline

Definition at line 256 of file DomainMapper_Impl.hxx.

References m_pFormControlHelper.

◆ GetFormField()

const css::uno::Reference< css::text::XFormField > & writerfilter::dmapper::FieldContext::GetFormField ( ) const
inline

Definition at line 238 of file DomainMapper_Impl.hxx.

References m_xFormField.

◆ GetHyperlinkTarget()

const OUString & writerfilter::dmapper::FieldContext::GetHyperlinkTarget ( ) const
inline

Definition at line 250 of file DomainMapper_Impl.hxx.

References m_sHyperlinkTarget.

◆ GetHyperlinkURL()

const OUString & writerfilter::dmapper::FieldContext::GetHyperlinkURL ( ) const
inline

Definition at line 248 of file DomainMapper_Impl.hxx.

References m_sHyperlinkURL.

◆ GetParagraphsToFinish()

std::vector< FieldParagraph > & writerfilter::dmapper::FieldContext::GetParagraphsToFinish ( )
inline

Definition at line 261 of file DomainMapper_Impl.hxx.

References m_aParagraphsToFinish.

◆ getProperties()

const PropertyMapPtr & writerfilter::dmapper::FieldContext::getProperties ( ) const
inline

Definition at line 257 of file DomainMapper_Impl.hxx.

References m_pProperties.

◆ GetResult()

const OUString & writerfilter::dmapper::FieldContext::GetResult ( ) const
inline

Definition at line 223 of file DomainMapper_Impl.hxx.

References m_sResult.

◆ GetStartRange()

const css::uno::Reference< css::text::XTextRange > & writerfilter::dmapper::FieldContext::GetStartRange ( ) const
inline

Definition at line 212 of file DomainMapper_Impl.hxx.

References m_xStartRange.

◆ GetTC()

const css::uno::Reference< css::beans::XPropertySet > & writerfilter::dmapper::FieldContext::GetTC ( ) const
inline

Definition at line 245 of file DomainMapper_Impl.hxx.

References m_xTC.

◆ GetTextField()

const css::uno::Reference< css::text::XTextField > & writerfilter::dmapper::FieldContext::GetTextField ( ) const
inline

Definition at line 236 of file DomainMapper_Impl.hxx.

References m_xTextField.

◆ GetTOC()

const css::uno::Reference< css::beans::XPropertySet > & writerfilter::dmapper::FieldContext::GetTOC ( ) const
inline

Definition at line 242 of file DomainMapper_Impl.hxx.

References m_xTOC.

◆ GetVariableValue()

const OUString & writerfilter::dmapper::FieldContext::GetVariableValue ( )
inline

Definition at line 226 of file DomainMapper_Impl.hxx.

References m_sVariableValue.

◆ IsCommandCompleted()

bool writerfilter::dmapper::FieldContext::IsCommandCompleted ( ) const
inline

Definition at line 229 of file DomainMapper_Impl.hxx.

References m_bFieldCommandCompleted.

◆ IsFieldLocked()

bool writerfilter::dmapper::FieldContext::IsFieldLocked ( ) const
inline

Definition at line 232 of file DomainMapper_Impl.hxx.

References m_bFieldLocked.

◆ SetCommandCompleted()

void writerfilter::dmapper::FieldContext::SetCommandCompleted ( )
inline

Definition at line 228 of file DomainMapper_Impl.hxx.

References m_bFieldCommandCompleted.

◆ SetCommandType()

void writerfilter::dmapper::FieldContext::SetCommandType ( bool  cType)
inline

Definition at line 217 of file DomainMapper_Impl.hxx.

References m_bCommandType.

◆ SetCustomField()

void writerfilter::dmapper::FieldContext::SetCustomField ( css::uno::Reference< css::beans::XPropertySet > const &  xCustomField)
inline

Definition at line 235 of file DomainMapper_Impl.hxx.

References m_xCustomField.

◆ setFFDataHandler()

void writerfilter::dmapper::FieldContext::setFFDataHandler ( FFDataHandler::Pointer_t  pFFDataHandler)
inline

Definition at line 252 of file DomainMapper_Impl.hxx.

References m_pFFDataHandler.

◆ SetFieldId()

void writerfilter::dmapper::FieldContext::SetFieldId ( FieldId  eFieldId)
inline

Definition at line 219 of file DomainMapper_Impl.hxx.

References eFieldId, and m_eFieldId.

◆ SetFieldLocked()

void writerfilter::dmapper::FieldContext::SetFieldLocked ( )
inline

Definition at line 231 of file DomainMapper_Impl.hxx.

References m_bFieldLocked.

◆ setFormControlHelper()

void writerfilter::dmapper::FieldContext::setFormControlHelper ( FormControlHelper::Pointer_t  pFormControlHelper)
inline

Definition at line 255 of file DomainMapper_Impl.hxx.

References m_pFormControlHelper.

◆ SetFormField()

void writerfilter::dmapper::FieldContext::SetFormField ( css::uno::Reference< css::text::XFormField > const &  xFormField)
inline

Definition at line 239 of file DomainMapper_Impl.hxx.

References m_xFormField.

◆ SetHyperlinkTarget()

void writerfilter::dmapper::FieldContext::SetHyperlinkTarget ( const OUString &  rTarget)
inline

Definition at line 249 of file DomainMapper_Impl.hxx.

References m_sHyperlinkTarget, and rTarget.

◆ SetHyperlinkURL()

void writerfilter::dmapper::FieldContext::SetHyperlinkURL ( const OUString &  rURL)
inline

Definition at line 247 of file DomainMapper_Impl.hxx.

References m_sHyperlinkURL.

◆ SetTC()

void writerfilter::dmapper::FieldContext::SetTC ( css::uno::Reference< css::beans::XPropertySet > const &  xTC)
inline

Definition at line 244 of file DomainMapper_Impl.hxx.

References m_xTC.

◆ SetTextField()

void writerfilter::dmapper::FieldContext::SetTextField ( css::uno::Reference< css::text::XTextField > const &  xTextField)

Definition at line 5609 of file DomainMapper_Impl.cxx.

References m_xTextField.

◆ SetTOC()

void writerfilter::dmapper::FieldContext::SetTOC ( css::uno::Reference< css::beans::XPropertySet > const &  xTOC)
inline

Definition at line 241 of file DomainMapper_Impl.hxx.

References m_xTOC.

Member Data Documentation

◆ m_aParagraphsToFinish

std::vector<FieldParagraph> writerfilter::dmapper::FieldContext::m_aParagraphsToFinish
private

Definition at line 206 of file DomainMapper_Impl.hxx.

Referenced by GetParagraphsToFinish().

◆ m_bCommandType

bool writerfilter::dmapper::FieldContext::m_bCommandType
private

Definition at line 189 of file DomainMapper_Impl.hxx.

Referenced by AppendCommand(), GetCommand(), and SetCommandType().

◆ m_bFieldCommandCompleted

bool writerfilter::dmapper::FieldContext::m_bFieldCommandCompleted
private

Definition at line 177 of file DomainMapper_Impl.hxx.

Referenced by IsCommandCompleted(), and SetCommandCompleted().

◆ m_bFieldLocked

bool writerfilter::dmapper::FieldContext::m_bFieldLocked
private

Definition at line 187 of file DomainMapper_Impl.hxx.

Referenced by IsFieldLocked(), and SetFieldLocked().

◆ m_eFieldId

std::optional<FieldId> writerfilter::dmapper::FieldContext::m_eFieldId
private

Definition at line 186 of file DomainMapper_Impl.hxx.

Referenced by GetFieldId(), and SetFieldId().

◆ m_pFFDataHandler

FFDataHandler::Pointer_t writerfilter::dmapper::FieldContext::m_pFFDataHandler
private

Definition at line 201 of file DomainMapper_Impl.hxx.

Referenced by getFFDataHandler(), and setFFDataHandler().

◆ m_pFormControlHelper

FormControlHelper::Pointer_t writerfilter::dmapper::FieldContext::m_pFormControlHelper
private

Definition at line 202 of file DomainMapper_Impl.hxx.

Referenced by getFormControlHelper(), and setFormControlHelper().

◆ m_pProperties

PropertyMapPtr writerfilter::dmapper::FieldContext::m_pProperties
private

(Character) properties of the field itself.

Definition at line 204 of file DomainMapper_Impl.hxx.

Referenced by FieldContext(), and getProperties().

◆ m_sCommand

OUString writerfilter::dmapper::FieldContext::m_sCommand[2]
private

Definition at line 183 of file DomainMapper_Impl.hxx.

Referenced by AppendCommand(), GetCommand(), and GetCommandIsEmpty().

◆ m_sHyperlinkTarget

OUString writerfilter::dmapper::FieldContext::m_sHyperlinkTarget
private

A frame for the hyperlink when one exists.

Definition at line 199 of file DomainMapper_Impl.hxx.

Referenced by GetHyperlinkTarget(), and SetHyperlinkTarget().

◆ m_sHyperlinkURL

OUString writerfilter::dmapper::FieldContext::m_sHyperlinkURL
private

Definition at line 197 of file DomainMapper_Impl.hxx.

Referenced by GetHyperlinkURL(), and SetHyperlinkURL().

◆ m_sResult

OUString writerfilter::dmapper::FieldContext::m_sResult
private

Definition at line 184 of file DomainMapper_Impl.hxx.

Referenced by AppendResult(), and GetResult().

◆ m_sVariableValue

OUString writerfilter::dmapper::FieldContext::m_sVariableValue
private

Definition at line 185 of file DomainMapper_Impl.hxx.

Referenced by CacheVariableValue(), and GetVariableValue().

◆ m_xCustomField

css::uno::Reference<css::beans::XPropertySet> writerfilter::dmapper::FieldContext::m_xCustomField
private

Definition at line 195 of file DomainMapper_Impl.hxx.

Referenced by GetCustomField(), and SetCustomField().

◆ m_xFormField

css::uno::Reference<css::text::XFormField> writerfilter::dmapper::FieldContext::m_xFormField
private

Definition at line 192 of file DomainMapper_Impl.hxx.

Referenced by GetFormField(), and SetFormField().

◆ m_xStartRange

css::uno::Reference<css::text::XTextRange> writerfilter::dmapper::FieldContext::m_xStartRange
private

Definition at line 178 of file DomainMapper_Impl.hxx.

Referenced by GetStartRange().

◆ m_xTC

css::uno::Reference<css::beans::XPropertySet> writerfilter::dmapper::FieldContext::m_xTC
private

Definition at line 194 of file DomainMapper_Impl.hxx.

Referenced by GetTC(), and SetTC().

◆ m_xTextField

css::uno::Reference<css::text::XTextField> writerfilter::dmapper::FieldContext::m_xTextField
private

Definition at line 191 of file DomainMapper_Impl.hxx.

Referenced by GetTextField(), and SetTextField().

◆ m_xTOC

css::uno::Reference<css::beans::XPropertySet> writerfilter::dmapper::FieldContext::m_xTOC
private

Definition at line 193 of file DomainMapper_Impl.hxx.

Referenced by GetTOC(), and SetTOC().


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