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 80 of file datanavi.hxx.

Constructor & Destructor Documentation

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

Definition at line 93 of file datanavi.hxx.

References SvxResId().

Member Function Documentation

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 114 of file datanavi.hxx.

References m_sDoc_API, m_sInstance_API, and m_sNone_API.

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 102 of file datanavi.hxx.

References m_sDoc_UI, m_sInstance_UI, and m_sNone_UI.

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

Member Data Documentation

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

Definition at line 86 of file datanavi.hxx.

Referenced by toAPI().

OUString svxform::ReplaceString::m_sDoc_UI
private

Definition at line 82 of file datanavi.hxx.

Referenced by toUI().

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

Definition at line 87 of file datanavi.hxx.

Referenced by toAPI().

OUString svxform::ReplaceString::m_sInstance_UI
private

Definition at line 83 of file datanavi.hxx.

Referenced by toUI().

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

Definition at line 88 of file datanavi.hxx.

Referenced by toAPI().

OUString svxform::ReplaceString::m_sNone_UI
private

Definition at line 84 of file datanavi.hxx.

Referenced by toUI().


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