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) |
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_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 |
bool | m_bCondHiddenFlag: 1 |
bool | m_bConnectFlag: 1 |
Definition at line 59 of file section.hxx.
SwSectionData::SwSectionData | ( | SectionType const | eType, |
OUString const & | rName | ||
) |
Definition at line 94 of file section.cxx.
References m_eType.
|
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.
|
static |
Definition at line 179 of file section.cxx.
Referenced by SwSection::CreateLink(), SwInsertSectionTabPage::FillItemSet(), and IMPL_LINK().
|
inline |
Definition at line 113 of file section.hxx.
Referenced by SwSection::GetCondition(), and SwDoc::InsertSwSection().
|
inline |
Definition at line 116 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 122 of file section.hxx.
Referenced by SwSection::GetLinkFilePassword().
|
inline |
Definition at line 125 of file section.hxx.
Referenced by SwEditRegionDlg::CheckPasswd(), and SwSection::GetPassword().
|
inline |
Definition at line 92 of file section.hxx.
Referenced by SwSection::GetSectionName(), SwDoc::InsertSwSection(), SwEditRegionDlg::SelectSection(), and SwDoc::UpdateSection().
|
inline |
Definition at line 94 of file section.hxx.
Referenced by SwSection::CreateLink(), SectRepr::GetFile(), SwSection::GetLinkFileName(), SwSection::GetType(), lcl_IsTOXSection(), and SwSection::~SwSection().
|
inline |
Definition at line 111 of file section.hxx.
Referenced by SwSection::IsCondHidden(), SwSection::SetCondHidden(), SwSection::SetHidden(), and SwSection::SwClientNotify().
|
inline |
Definition at line 132 of file section.hxx.
Referenced by SwSection::IsConnectFlag().
|
inline |
Definition at line 106 of file section.hxx.
Referenced by SwSection::DataEquals(), SwSection::IsEditInReadonlyFlag(), and SwSection::SwSection().
|
inline |
Definition at line 97 of file section.hxx.
Referenced by SwDoc::InsertSwSection(), SwSection::IsHidden(), SwSection::SetCondHidden(), SwSection::SetHidden(), SwSection::SetSectionData(), SwSection::SwClientNotify(), and SwDoc::UpdateSection().
|
inline |
Definition at line 100 of file section.hxx.
Referenced by SwSection::ImplSetHiddenFlag(), and SwSection::IsHiddenFlag().
|
inline |
Definition at line 129 of file section.hxx.
References DdeLink, and FileLink.
Referenced by SwDoc::InsertSwSection(), SwSection::IsLinkType(), and SwDoc::UpdateSection().
|
inline |
Definition at line 103 of file section.hxx.
Referenced by SwSection::DataEquals(), IMPL_LINK_NOARG(), SwSection::IsProtectFlag(), and SwSection::SwSection().
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 110 of file section.hxx.
Referenced by SwSection::SetCondHidden().
|
inline |
Definition at line 114 of file section.hxx.
Referenced by SwXTextSection::attach(), SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwDoc::RemoveInvisibleContent(), and SwSection::SetCondition().
|
inline |
Definition at line 133 of file section.hxx.
Referenced by SwSection::SetConnectFlag().
|
inline |
Definition at line 107 of file section.hxx.
Referenced by SwSection::DataEquals(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwSection::SetEditInReadonly(), SwSection::SwClientNotify(), and SwSection::SwSection().
|
inline |
Definition at line 98 of file section.hxx.
Referenced by IMPL_LINK(), SwBaseShell::InsertRegionDialog(), lcl_CheckEmptyLayFrame(), SwDoc::RemoveInvisibleContent(), and SwSection::SetHidden().
|
inline |
Definition at line 102 of file section.hxx.
Referenced by SwSection::SwClientNotify().
|
inline |
Definition at line 117 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 123 of file section.hxx.
Referenced by IMPL_LINK(), and SwSection::SetLinkFilePassword().
Definition at line 127 of file section.hxx.
Referenced by SwEditRegionDlg::ChangePasswd(), and IMPL_LINK_NOARG().
|
inline |
Definition at line 105 of file section.hxx.
Referenced by wwSectionManager::CreateSep(), SwSection::DataEquals(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwWrtShell::NavigatorPaste(), SwHTMLParser::NewDivision(), SwTransferable::PasteDDE(), SwSection::SetProtect(), SwDoc::SplitDoc(), SwSection::SwClientNotify(), and SwSection::SwSection().
|
inline |
Definition at line 93 of file section.hxx.
Referenced by IMPL_LINK_NOARG(), SwXTextSection::setName(), and SwSection::SetSectionName().
|
inline |
Definition at line 95 of file section.hxx.
Referenced by IMPL_LINK(), SwBaseShell::InsertRegionDialog(), lcl_RemoveSectionLinks(), SwWrtShell::NavigatorPaste(), SectRepr::SetFile(), SectRepr::SetFilter(), SectRepr::SetSubRegion(), and SwSection::SetType().
|
private |
Definition at line 81 of file section.hxx.
Referenced by operator=().
|
private |
Definition at line 82 of file section.hxx.
Referenced by operator=().
|
private |
Definition at line 78 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 80 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
It seems this flag caches the current final "hidden" state.
Definition at line 71 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!
Definition at line 76 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 62 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 68 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 67 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 64 of file section.hxx.
Referenced by operator=(), and operator==().