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

#include <section.hxx>

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)
 

Private Attributes

SectionType m_eType
 
OUString m_sSectionName
 
OUString m_sCondition
 Hide condition. More...
 
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
 Section is hidden, unless condition evaluates `false'. More...
 
bool m_bCondHiddenFlag: 1
 Hide condition evaluated `true'. More...
 
bool m_bConnectFlag: 1
 

Detailed Description

Definition at line 58 of file section.hxx.

Constructor & Destructor Documentation

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

Definition at line 94 of file section.cxx.

References false, and m_eType.

SwSectionData::SwSectionData ( SwSection const &  rSection)
explicit

Definition at line 107 of file section.cxx.

References IsHidden(), and m_eType.

SwSectionData::SwSectionData ( SwSectionData const &  rOther)

Definition at line 125 of file section.cxx.

References m_eType.

Member Function Documentation

const OUString& SwSectionData::GetCondition ( ) const
inline

Definition at line 112 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 121 of file section.hxx.

Referenced by SwSection::GetLinkFilePassword().

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

Definition at line 124 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 131 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 99 of file section.hxx.

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

bool SwSectionData::IsLinkType ( ) const
inline

Definition at line 128 of file section.hxx.

References DdeLink, and FileLink.

Referenced by SwDoc::InsertSwSection(), SwSection::IsLinkType(), and SwDoc::UpdateSection().

bool SwSectionData::IsProtectFlag ( ) const
inline

Definition at line 102 of file section.hxx.

Referenced by SwSection::DataEquals(), IMPL_LINK_NOARG(), and SwSection::IsProtectFlag().

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

Definition at line 109 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 132 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 101 of file section.hxx.

Referenced by SwSection::Notify().

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

Definition at line 122 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 126 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 92 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

Hide condition evaluated `true'.

Definition at line 80 of file section.hxx.

Referenced by operator=().

bool SwSectionData::m_bConnectFlag
private

Definition at line 81 of file section.hxx.

Referenced by operator=().

bool SwSectionData::m_bEditInReadonlyFlag
private

Definition at line 77 of file section.hxx.

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

bool SwSectionData::m_bHidden
private

Section is hidden, unless condition evaluates `false'.

Definition at line 79 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 70 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!

protect flag is no longer inherited

Definition at line 75 of file section.hxx.

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

SectionType SwSectionData::m_eType
private

Definition at line 61 of file section.hxx.

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

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

Definition at line 67 of file section.hxx.

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

OUString SwSectionData::m_sCondition
private

Hide condition.

Definition at line 64 of file section.hxx.

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

OUString SwSectionData::m_sLinkFileName
private

Definition at line 65 of file section.hxx.

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

OUString SwSectionData::m_sLinkFilePassword
private

Definition at line 66 of file section.hxx.

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

OUString SwSectionData::m_sSectionName
private

Definition at line 63 of file section.hxx.

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


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