LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
InsCaptionOpt Class Reference

#include <caption.hxx>

Collaboration diagram for InsCaptionOpt:
[legend]

Public Member Functions

 InsCaptionOpt (const SwCapObjType eType=FRAME_CAP, const SvGlobalName *pOleId=nullptr)
 
bool & UseCaption ()
 
bool UseCaption () const
 
SwCapObjType GetObjType () const
 
const SvGlobalNameGetOleId () const
 
const OUString & GetCategory () const
 
void SetCategory (const OUString &rCat)
 
sal_uInt16 GetNumType () const
 
void SetNumType (const sal_uInt16 nNT)
 
const OUString & GetNumSeparator () const
 
void SetNumSeparator (const OUString &rSet)
 
const OUString & GetCaption () const
 
void SetCaption (const OUString &rCap)
 
sal_uInt16 GetPos () const
 
void SetPos (const sal_uInt16 nP)
 
sal_uInt16 GetLevel () const
 
void SetLevel (const sal_uInt16 nLvl)
 
const OUString & GetSeparator () const
 
void SetSeparator (const OUString &rSep)
 
const OUString & GetCharacterStyle () const
 
void SetCharacterStyle (const OUString &rStyle)
 
bool & IgnoreSeqOpts ()
 
bool IgnoreSeqOpts () const
 
bool & CopyAttributes ()
 
bool CopyAttributes () const
 

Private Attributes

bool m_bUseCaption
 
SwCapObjType m_eObjType
 
SvGlobalName m_aOleId
 
OUString m_sCategory
 
sal_uInt16 m_nNumType
 
OUString m_sNumberSeparator
 
OUString m_sCaption
 
sal_uInt16 m_nPos
 
sal_uInt16 m_nLevel
 
OUString m_sSeparator
 
OUString m_sCharacterStyle
 
bool m_bIgnoreSeqOpts
 
bool m_bCopyAttributes
 

Detailed Description

Definition at line 27 of file caption.hxx.

Constructor & Destructor Documentation

◆ InsCaptionOpt()

InsCaptionOpt::InsCaptionOpt ( const SwCapObjType  eType = FRAME_CAP,
const SvGlobalName pOleId = nullptr 
)

Definition at line 24 of file caption.cxx.

References eType, m_aOleId, m_nLevel, m_nPos, and SVX_NUM_ARABIC.

Member Function Documentation

◆ CopyAttributes() [1/2]

bool & InsCaptionOpt::CopyAttributes ( )
inline

◆ CopyAttributes() [2/2]

bool InsCaptionOpt::CopyAttributes ( ) const
inline

Definition at line 84 of file caption.hxx.

◆ GetCaption()

const OUString & InsCaptionOpt::GetCaption ( ) const
inline

Definition at line 64 of file caption.hxx.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetCategory()

const OUString & InsCaptionOpt::GetCategory ( ) const
inline

Definition at line 55 of file caption.hxx.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetCharacterStyle()

const OUString & InsCaptionOpt::GetCharacterStyle ( ) const
inline

Definition at line 76 of file caption.hxx.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetLevel()

sal_uInt16 InsCaptionOpt::GetLevel ( ) const
inline

Definition at line 70 of file caption.hxx.

References m_nLevel.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetNumSeparator()

const OUString & InsCaptionOpt::GetNumSeparator ( ) const
inline

Definition at line 61 of file caption.hxx.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetNumType()

sal_uInt16 InsCaptionOpt::GetNumType ( ) const
inline

Definition at line 58 of file caption.hxx.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetObjType()

SwCapObjType InsCaptionOpt::GetObjType ( ) const
inline

◆ GetOleId()

const SvGlobalName & InsCaptionOpt::GetOleId ( ) const
inline

Definition at line 53 of file caption.hxx.

Referenced by InsCaptionOptArr::Find(), and SwModuleOptions::SetCapOption().

◆ GetPos()

sal_uInt16 InsCaptionOpt::GetPos ( ) const
inline

Definition at line 67 of file caption.hxx.

References m_nPos.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ GetSeparator()

const OUString & InsCaptionOpt::GetSeparator ( ) const
inline

Definition at line 73 of file caption.hxx.

Referenced by SwView::InsertCaption(), lcl_WriteOpt(), and SwCaptionOptPage::UpdateEntry().

◆ IgnoreSeqOpts() [1/2]

bool & InsCaptionOpt::IgnoreSeqOpts ( )
inline

Definition at line 80 of file caption.hxx.

Referenced by SwCaptionDialog::Apply(), and SwView::InsertCaption().

◆ IgnoreSeqOpts() [2/2]

bool InsCaptionOpt::IgnoreSeqOpts ( ) const
inline

Definition at line 81 of file caption.hxx.

◆ SetCaption()

void InsCaptionOpt::SetCaption ( const OUString &  rCap)
inline

Definition at line 65 of file caption.hxx.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetCategory()

void InsCaptionOpt::SetCategory ( const OUString &  rCat)
inline

Definition at line 56 of file caption.hxx.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetCharacterStyle()

void InsCaptionOpt::SetCharacterStyle ( const OUString &  rStyle)
inline

Definition at line 77 of file caption.hxx.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetLevel()

void InsCaptionOpt::SetLevel ( const sal_uInt16  nLvl)
inline

Definition at line 71 of file caption.hxx.

References m_nLevel.

Referenced by lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetNumSeparator()

void InsCaptionOpt::SetNumSeparator ( const OUString &  rSet)
inline

Definition at line 62 of file caption.hxx.

References rSet.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetNumType()

void InsCaptionOpt::SetNumType ( const sal_uInt16  nNT)
inline

Definition at line 59 of file caption.hxx.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetPos()

void InsCaptionOpt::SetPos ( const sal_uInt16  nP)
inline

Definition at line 68 of file caption.hxx.

References m_nPos.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ SetSeparator()

void InsCaptionOpt::SetSeparator ( const OUString &  rSep)
inline

Definition at line 74 of file caption.hxx.

Referenced by SwCaptionDialog::Apply(), lcl_ReadOpt(), and SwCaptionOptPage::SaveEntry().

◆ UseCaption() [1/2]

bool & InsCaptionOpt::UseCaption ( )
inline

◆ UseCaption() [2/2]

bool InsCaptionOpt::UseCaption ( ) const
inline

Definition at line 49 of file caption.hxx.

Member Data Documentation

◆ m_aOleId

SvGlobalName InsCaptionOpt::m_aOleId
private

Definition at line 32 of file caption.hxx.

Referenced by InsCaptionOpt().

◆ m_bCopyAttributes

bool InsCaptionOpt::m_bCopyAttributes
private

Definition at line 43 of file caption.hxx.

◆ m_bIgnoreSeqOpts

bool InsCaptionOpt::m_bIgnoreSeqOpts
private

Definition at line 42 of file caption.hxx.

◆ m_bUseCaption

bool InsCaptionOpt::m_bUseCaption
private

Definition at line 30 of file caption.hxx.

◆ m_eObjType

SwCapObjType InsCaptionOpt::m_eObjType
private

Definition at line 31 of file caption.hxx.

◆ m_nLevel

sal_uInt16 InsCaptionOpt::m_nLevel
private

Definition at line 38 of file caption.hxx.

◆ m_nNumType

sal_uInt16 InsCaptionOpt::m_nNumType
private

Definition at line 34 of file caption.hxx.

◆ m_nPos

sal_uInt16 InsCaptionOpt::m_nPos
private

Definition at line 37 of file caption.hxx.

◆ m_sCaption

OUString InsCaptionOpt::m_sCaption
private

Definition at line 36 of file caption.hxx.

◆ m_sCategory

OUString InsCaptionOpt::m_sCategory
private

Definition at line 33 of file caption.hxx.

◆ m_sCharacterStyle

OUString InsCaptionOpt::m_sCharacterStyle
private

Definition at line 40 of file caption.hxx.

◆ m_sNumberSeparator

OUString InsCaptionOpt::m_sNumberSeparator
private

Definition at line 35 of file caption.hxx.

◆ m_sSeparator

OUString InsCaptionOpt::m_sSeparator
private

Definition at line 39 of file caption.hxx.


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