LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
svxform::ReplaceString Class Reference

#include <datanavi.hxx>

Public Member Functions

 ReplaceString ()
 
OUString const & toUI (std::u16string_view rStr) const
 convert submission replace string from API value to UI value. More...
 
OUString toAPI (std::u16string_view rStr) const
 convert submission replace string from UI to API. More...
 

Private Member Functions

 ReplaceString (const ReplaceString &)=delete
 

Private Attributes

OUString m_sDoc_UI
 
OUString m_sInstance_UI
 
OUString m_sNone_UI
 

Static Private Attributes

static constexpr OUStringLiteral m_sDoc_API = u"all"
 
static constexpr OUStringLiteral m_sInstance_API = u"instance"
 
static constexpr OUStringLiteral m_sNone_API = u"none"
 

Detailed Description

Definition at line 81 of file datanavi.hxx.

Constructor & Destructor Documentation

◆ ReplaceString() [1/2]

svxform::ReplaceString::ReplaceString ( const ReplaceString )
privatedelete

◆ ReplaceString() [2/2]

svxform::ReplaceString::ReplaceString ( )
inline

Definition at line 94 of file datanavi.hxx.

References m_sDoc_UI, m_sInstance_UI, m_sNone_UI, and SvxResId().

Member Function Documentation

◆ toAPI()

OUString svxform::ReplaceString::toAPI ( std::u16string_view  rStr) const
inline

convert submission replace string from UI to API.

Use 'none' as default.

Definition at line 115 of file datanavi.hxx.

References m_sDoc_API, m_sDoc_UI, m_sInstance_API, m_sInstance_UI, and m_sNone_API.

◆ toUI()

OUString const & svxform::ReplaceString::toUI ( std::u16string_view  rStr) const
inline

convert submission replace string from API value to UI value.

Use 'none' as default.

Definition at line 103 of file datanavi.hxx.

References m_sDoc_API, m_sDoc_UI, m_sInstance_API, m_sInstance_UI, and m_sNone_UI.

Referenced by svxform::XFormsPage::EditEntry(), and svxform::AddSubmissionDialog::FillAllBoxes().

Member Data Documentation

◆ m_sDoc_API

constexpr OUStringLiteral svxform::ReplaceString::m_sDoc_API = u"all"
staticconstexprprivate

Definition at line 87 of file datanavi.hxx.

Referenced by toAPI(), and toUI().

◆ m_sDoc_UI

OUString svxform::ReplaceString::m_sDoc_UI
private

Definition at line 83 of file datanavi.hxx.

Referenced by ReplaceString(), toAPI(), and toUI().

◆ m_sInstance_API

constexpr OUStringLiteral svxform::ReplaceString::m_sInstance_API = u"instance"
staticconstexprprivate

Definition at line 88 of file datanavi.hxx.

Referenced by toAPI(), and toUI().

◆ m_sInstance_UI

OUString svxform::ReplaceString::m_sInstance_UI
private

Definition at line 84 of file datanavi.hxx.

Referenced by ReplaceString(), toAPI(), and toUI().

◆ m_sNone_API

constexpr OUStringLiteral svxform::ReplaceString::m_sNone_API = u"none"
staticconstexprprivate

Definition at line 89 of file datanavi.hxx.

Referenced by toAPI().

◆ m_sNone_UI

OUString svxform::ReplaceString::m_sNone_UI
private

Definition at line 85 of file datanavi.hxx.

Referenced by ReplaceString(), and toUI().


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