LibreOffice Module sw (master)
1
|
#include <section.hxx>
Public Member Functions | |
SwSectionData (SectionType const eType, OUString const &rName) | |
SwSectionData (SwSection const &) | |
SwSectionData (SwSectionData const &) | |
SwSectionData & | operator= (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_Int8 > | m_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 |
Definition at line 58 of file section.hxx.
SwSectionData::SwSectionData | ( | SectionType const | eType, |
OUString const & | rName | ||
) |
Definition at line 94 of file section.cxx.
|
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.
|
inline |
Definition at line 112 of file section.hxx.
Referenced by SwSection::GetCondition(), and SwDoc::InsertSwSection().
|
inline |
Definition at line 115 of file section.hxx.
Referenced by SwSection::CreateLink(), SectRepr::GetFile(), SwSection::GetLinkFileName(), SectRepr::GetSubRegion(), SectRepr::SetFile(), SectRepr::SetFilter(), SectRepr::SetSubRegion(), and SwDoc::UpdateSection().
|
inline |
Definition at line 121 of file section.hxx.
Referenced by SwSection::GetLinkFilePassword().
|
inline |
Definition at line 124 of file section.hxx.
Referenced by SwEditRegionDlg::CheckPasswd(), and SwSection::GetPassword().
|
inline |
Definition at line 91 of file section.hxx.
Referenced by SwSection::GetSectionName(), SwDoc::InsertSwSection(), SwEditRegionDlg::SelectSection(), and SwDoc::UpdateSection().
|
inline |
Definition at line 93 of file section.hxx.
Referenced by SwSection::CreateLink(), SectRepr::GetFile(), SwSection::GetLinkFileName(), SwSection::GetType(), lcl_IsTOXSection(), and SwSection::~SwSection().
|
inline |
Definition at line 110 of file section.hxx.
Referenced by SwSection::IsCondHidden(), SwSection::Notify(), SwSection::SetCondHidden(), and SwSection::SetHidden().
|
inline |
Definition at line 131 of file section.hxx.
Referenced by SwSection::IsConnectFlag().
|
inline |
Definition at line 105 of file section.hxx.
Referenced by SwSection::DataEquals(), SwSection::IsEditInReadonlyFlag(), and SwSection::SwSection().
|
inline |
Definition at line 96 of file section.hxx.
Referenced by SwDoc::InsertSwSection(), SwSection::IsHidden(), SwSection::Notify(), SwSection::SetCondHidden(), SwSection::SetHidden(), SwSection::SetSectionData(), and SwDoc::UpdateSection().
|
inline |
Definition at line 99 of file section.hxx.
Referenced by SwSection::ImplSetHiddenFlag(), and SwSection::IsHiddenFlag().
|
inline |
Definition at line 128 of file section.hxx.
References DdeLink, and FileLink.
Referenced by SwDoc::InsertSwSection(), SwSection::IsLinkType(), and SwDoc::UpdateSection().
|
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 | ) |
Definition at line 143 of file section.cxx.
References m_bCondHiddenFlag, m_bConnectFlag, m_bEditInReadonlyFlag, m_bHidden, m_bProtectFlag, m_eType, m_Password, m_sCondition, m_sLinkFileName, m_sLinkFilePassword, and m_sSectionName.
bool SwSectionData::operator== | ( | SwSectionData const & | rOther | ) | const |
Definition at line 165 of file section.cxx.
References m_bEditInReadonlyFlag, m_bHidden, m_bProtectFlag, m_eType, m_Password, m_sCondition, m_sLinkFileName, m_sLinkFilePassword, and m_sSectionName.
|
inline |
Definition at line 109 of file section.hxx.
Referenced by SwSection::SetCondHidden().
|
inline |
Definition at line 113 of file section.hxx.
Referenced by SwXTextSection::attach(), SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwDoc::RemoveInvisibleContent(), and SwSection::SetCondition().
|
inline |
Definition at line 132 of file section.hxx.
Referenced by SwSection::SetConnectFlag().
|
inline |
Definition at line 106 of file section.hxx.
Referenced by SwSection::DataEquals(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwSection::Notify(), SwSection::SetEditInReadonly(), and SwSection::SwSection().
|
inline |
Definition at line 97 of file section.hxx.
Referenced by IMPL_LINK(), SwBaseShell::InsertRegionDialog(), lcl_CheckEmptyLayFrame(), SwHTMLParser::NewDivision(), SwDoc::RemoveInvisibleContent(), and SwSection::SetHidden().
|
inline |
Definition at line 101 of file section.hxx.
Referenced by SwSection::Notify().
|
inline |
Definition at line 116 of file section.hxx.
Referenced by wwSectionManager::CreateSep(), SwSection::GetLinkFileName(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwWrtShell::NavigatorPaste(), SwHTMLParser::NewDivision(), SwTransferable::PasteDDE(), SwTransferable::PasteFileName(), SwWW8ImplReader::Read_F_IncludeText(), SectRepr::SetFile(), SectRepr::SetFilter(), SwSection::SetLinkFileName(), SectRepr::SetSubRegion(), and SwDoc::SplitDoc().
|
inline |
Definition at line 122 of file section.hxx.
Referenced by IMPL_LINK(), and SwSection::SetLinkFilePassword().
Definition at line 126 of file section.hxx.
Referenced by SwEditRegionDlg::ChangePasswd(), and IMPL_LINK_NOARG().
|
inline |
Definition at line 104 of file section.hxx.
Referenced by wwSectionManager::CreateSep(), SwSection::DataEquals(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwWrtShell::NavigatorPaste(), SwHTMLParser::NewDivision(), SwSection::Notify(), SwTransferable::PasteDDE(), SwSection::SetProtect(), SwDoc::SplitDoc(), and SwSection::SwSection().
|
inline |
Definition at line 92 of file section.hxx.
Referenced by IMPL_LINK_NOARG(), SwXTextSection::setName(), and SwSection::SetSectionName().
|
inline |
Definition at line 94 of file section.hxx.
Referenced by IMPL_LINK(), SwBaseShell::InsertRegionDialog(), lcl_RemoveSectionLinks(), SwWrtShell::NavigatorPaste(), SectRepr::SetFile(), SectRepr::SetFilter(), SectRepr::SetSubRegion(), and SwSection::SetType().
|
private |
Hide condition evaluated `true'.
Definition at line 80 of file section.hxx.
Referenced by operator=().
|
private |
Definition at line 81 of file section.hxx.
Referenced by operator=().
|
private |
Definition at line 77 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Section is hidden, unless condition evaluates `false'.
Definition at line 79 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
It seems this flag caches the current final "hidden" state.
Definition at line 70 of file section.hxx.
|
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==().
|
private |
Definition at line 61 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 67 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Hide condition.
Definition at line 64 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 65 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 66 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 63 of file section.hxx.
Referenced by operator=(), and operator==().