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

#include <section.hxx>

Collaboration diagram for SwSectionData:
[legend]

Public Member Functions

 SwSectionData (SectionType const eType, OUString const &rName)
 
 SwSectionData (SwSection const &)
 
 SwSectionData (SwSectionData const &)
 
SwSectionDataoperator= (SwSectionData const &)
 
bool operator== (SwSectionData const &) const
 
const OUString & GetSectionName () const
 
void SetSectionName (OUString const &rName)
 
SectionType GetType () const
 
void SetType (SectionType const eNew)
 
bool IsHidden () const
 
void SetHidden (bool const bFlag)
 
bool IsHiddenFlag () const
 
SAL_DLLPRIVATE void SetHiddenFlag (bool const bFlag)
 
bool IsProtectFlag () const
 
SAL_DLLPRIVATE void SetProtectFlag (bool const bFlag)
 
bool IsEditInReadonlyFlag () const
 
void SetEditInReadonlyFlag (bool const bFlag)
 
void SetCondHidden (bool const bFlag)
 
bool IsCondHidden () const
 
const OUString & GetCondition () const
 
void SetCondition (OUString const &rNew)
 
const OUString & GetLinkFileName () const
 
void SetLinkFileName (OUString const &rNew)
 
const OUString & GetLinkFilePassword () const
 
void SetLinkFilePassword (OUString const &rS)
 
css::uno::Sequence< sal_Int8 > const & GetPassword () const
 
void SetPassword (css::uno::Sequence< sal_Int8 > const &rNew)
 
bool IsLinkType () const
 
bool IsConnectFlag () const
 
void SetConnectFlag (bool const bFlag)
 

Static Public Member Functions

static OUString CollapseWhiteSpaces (const OUString &sName)
 

Private Attributes

SectionType m_eType
 
OUString m_sSectionName
 
OUString m_sCondition
 
OUString m_sLinkFileName
 
OUString m_sLinkFilePassword
 
css::uno::Sequence< sal_Int8m_Password
 
bool m_bHiddenFlag: 1
 It seems this flag caches the current final "hidden" state. More...
 
bool m_bProtectFlag: 1
 Flags that correspond to attributes in the format: may have different value than format attribute: format attr has value for this section, while flag is effectively ORed with parent sections! More...
 
bool m_bEditInReadonlyFlag: 1
 
bool m_bHidden: 1
 
bool m_bCondHiddenFlag: 1
 
bool m_bConnectFlag: 1
 

Detailed Description

Definition at line 60 of file section.hxx.

Constructor & Destructor Documentation

SwSectionData::SwSectionData ( SectionType const  eType,
OUString const &  rName 
)

Definition at line 95 of file section.cxx.

References m_eType.

SwSectionData::SwSectionData ( SwSection const &  rSection)
explicit

Definition at line 108 of file section.cxx.

References m_eType.

SwSectionData::SwSectionData ( SwSectionData const &  rOther)

Definition at line 126 of file section.cxx.

References m_eType.

Member Function Documentation

OUString SwSectionData::CollapseWhiteSpaces ( const OUString &  sName)
static

Definition at line 180 of file section.cxx.

References aBuf, and i.

Referenced by SwSection::CreateLink(), SwInsertSectionTabPage::FillItemSet(), and IMPL_LINK().

const OUString& SwSectionData::GetCondition ( ) const
inline

Definition at line 114 of file section.hxx.

Referenced by SwSection::GetCondition(), and SwDoc::InsertSwSection().

const OUString& SwSectionData::GetLinkFileName ( ) const
inline
const OUString& SwSectionData::GetLinkFilePassword ( ) const
inline

Definition at line 123 of file section.hxx.

Referenced by SwSection::GetLinkFilePassword().

css::uno::Sequence<sal_Int8> const& SwSectionData::GetPassword ( ) const
inline

Definition at line 126 of file section.hxx.

Referenced by SwEditRegionDlg::CheckPasswd(), and SwSection::GetPassword().

const OUString& SwSectionData::GetSectionName ( ) const
inline
SectionType SwSectionData::GetType ( ) const
inline
bool SwSectionData::IsCondHidden ( ) const
inline
bool SwSectionData::IsConnectFlag ( ) const
inline

Definition at line 133 of file section.hxx.

Referenced by SwSection::IsConnectFlag().

bool SwSectionData::IsEditInReadonlyFlag ( ) const
inline
bool SwSectionData::IsHidden ( ) const
inline
bool SwSectionData::IsHiddenFlag ( ) const
inline

Definition at line 101 of file section.hxx.

Referenced by SwSection::ImplSetHiddenFlag(), and SwSection::IsHiddenFlag().

bool SwSectionData::IsLinkType ( ) const
inline
bool SwSectionData::IsProtectFlag ( ) const
inline
SwSectionData & SwSectionData::operator= ( SwSectionData const &  rOther)
bool SwSectionData::operator== ( SwSectionData const &  rOther) const
void SwSectionData::SetCondHidden ( bool const  bFlag)
inline

Definition at line 111 of file section.hxx.

Referenced by SwSection::SetCondHidden().

void SwSectionData::SetCondition ( OUString const &  rNew)
inline
void SwSectionData::SetConnectFlag ( bool const  bFlag)
inline

Definition at line 134 of file section.hxx.

Referenced by SwSection::SetConnectFlag().

void SwSectionData::SetEditInReadonlyFlag ( bool const  bFlag)
inline
void SwSectionData::SetHidden ( bool const  bFlag)
inline
SAL_DLLPRIVATE void SwSectionData::SetHiddenFlag ( bool const  bFlag)
inline

Definition at line 103 of file section.hxx.

Referenced by SwSection::Modify().

void SwSectionData::SetLinkFileName ( OUString const &  rNew)
inline
void SwSectionData::SetLinkFilePassword ( OUString const &  rS)
inline

Definition at line 124 of file section.hxx.

Referenced by IMPL_LINK(), and SwSection::SetLinkFilePassword().

void SwSectionData::SetPassword ( css::uno::Sequence< sal_Int8 > const &  rNew)
inline

Definition at line 128 of file section.hxx.

Referenced by SwEditRegionDlg::ChangePasswd(), and IMPL_LINK_NOARG().

SAL_DLLPRIVATE void SwSectionData::SetProtectFlag ( bool const  bFlag)
inline
void SwSectionData::SetSectionName ( OUString const &  rName)
inline

Definition at line 94 of file section.hxx.

Referenced by IMPL_LINK_NOARG(), SwXTextSection::setName(), and SwSection::SetSectionName().

void SwSectionData::SetType ( SectionType const  eNew)
inline

Member Data Documentation

bool SwSectionData::m_bCondHiddenFlag
private

Definition at line 82 of file section.hxx.

Referenced by operator=().

bool SwSectionData::m_bConnectFlag
private

Definition at line 83 of file section.hxx.

Referenced by operator=().

bool SwSectionData::m_bEditInReadonlyFlag
private

Definition at line 79 of file section.hxx.

Referenced by operator=(), and operator==().

bool SwSectionData::m_bHidden
private

Definition at line 81 of file section.hxx.

Referenced by operator=(), and operator==().

bool SwSectionData::m_bHiddenFlag
private

It seems this flag caches the current final "hidden" state.

Definition at line 72 of file section.hxx.

bool SwSectionData::m_bProtectFlag
private

Flags that correspond to attributes in the format: may have different value than format attribute: format attr has value for this section, while flag is effectively ORed with parent sections!

Definition at line 77 of file section.hxx.

Referenced by operator=(), and operator==().

SectionType SwSectionData::m_eType
private

Definition at line 63 of file section.hxx.

Referenced by operator=(), and operator==().

css::uno::Sequence<sal_Int8> SwSectionData::m_Password
private

Definition at line 69 of file section.hxx.

Referenced by operator=(), and operator==().

OUString SwSectionData::m_sCondition
private

Definition at line 66 of file section.hxx.

Referenced by operator=(), and operator==().

OUString SwSectionData::m_sLinkFileName
private

Definition at line 67 of file section.hxx.

Referenced by operator=(), and operator==().

OUString SwSectionData::m_sLinkFilePassword
private

Definition at line 68 of file section.hxx.

Referenced by operator=(), and operator==().

OUString SwSectionData::m_sSectionName
private

Definition at line 65 of file section.hxx.

Referenced by operator=(), and operator==().


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