LibreOffice Module sw (master) 1
|
#include <section.hxx>
Public Member Functions | |
SwSectionData (SectionType const eType, OUString aName) | |
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) |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
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 60 of file section.hxx.
SwSectionData::SwSectionData | ( | SectionType const | eType, |
OUString | aName | ||
) |
Definition at line 95 of file section.cxx.
|
explicit |
Definition at line 108 of file section.cxx.
References IsHidden(), and m_eType.
SwSectionData::SwSectionData | ( | SwSectionData const & | rOther | ) |
Definition at line 126 of file section.cxx.
References m_eType.
void SwSectionData::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 180 of file section.cxx.
References m_sSectionName.
Referenced by SwSection::dumpAsXml().
|
inline |
Definition at line 114 of file section.hxx.
Referenced by SwSection::GetCondition(), IMPL_LINK(), and SwDoc::InsertSwSection().
|
inline |
Definition at line 117 of file section.hxx.
Referenced by SwSection::CreateLink(), SectRepr::GetFile(), SwSection::GetLinkFileName(), SectRepr::GetSubRegion(), SectRepr::SetFile(), SectRepr::SetFilter(), SectRepr::SetSubRegion(), SwInsertSectionTabPage::SetWrtShell(), and SwDoc::UpdateSection().
|
inline |
Definition at line 123 of file section.hxx.
Referenced by SwSection::GetLinkFilePassword(), and SwInsertSectionTabPage::SetWrtShell().
|
inline |
Definition at line 126 of file section.hxx.
Referenced by SwEditRegionDlg::CheckPasswd(), SwSection::GetPassword(), and IMPL_LINK().
|
inline |
Definition at line 93 of file section.hxx.
Referenced by SwSection::GetSectionName(), SwDoc::InsertSwSection(), SwEditRegionDlg::SelectSection(), SwInsertSectionTabPage::SetWrtShell(), and SwDoc::UpdateSection().
|
inline |
Definition at line 95 of file section.hxx.
References m_eType.
Referenced by SwSection::CreateLink(), SectRepr::GetFile(), SwSection::GetLinkFileName(), SwSection::GetType(), IMPL_LINK(), lcl_IsTOXSection(), lcl_RemoveSectionLinks(), and SwSection::~SwSection().
|
inline |
Definition at line 112 of file section.hxx.
Referenced by SwSection::IsCondHidden(), SwSection::Notify(), SwSection::SetCondHidden(), SwSection::SetHidden(), and SwSection::SetSectionData().
|
inline |
Definition at line 133 of file section.hxx.
Referenced by SwSection::IsConnectFlag().
|
inline |
Definition at line 107 of file section.hxx.
Referenced by SwSection::DataEquals(), IMPL_LINK(), SwSection::IsEditInReadonlyFlag(), SwSection::SetSectionData(), and SwSection::SwSection().
|
inline |
Definition at line 98 of file section.hxx.
Referenced by IMPL_LINK(), SwDoc::InsertSwSection(), SwSection::IsHidden(), SwSection::Notify(), SwSection::SetCondHidden(), SwSection::SetHidden(), SwSection::SetSectionData(), and SwDoc::UpdateSection().
|
inline |
Definition at line 101 of file section.hxx.
Referenced by SwSection::ImplSetHiddenFlag(), and SwSection::IsHiddenFlag().
|
inline |
Definition at line 130 of file section.hxx.
References DdeLink, FileLink, and m_eType.
Referenced by SwDoc::InsertSwSection(), SwSection::IsLinkType(), and SwDoc::UpdateSection().
|
inline |
Definition at line 104 of file section.hxx.
Referenced by SwSection::DataEquals(), IMPL_LINK(), IMPL_LINK_NOARG(), SwSection::IsProtectFlag(), SwSection::SetSectionData(), and SwInsertSectionTabPage::SetWrtShell().
SwSectionData & SwSectionData::operator= | ( | SwSectionData const & | rOther | ) |
Definition at line 144 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 166 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 111 of file section.hxx.
Referenced by SwSection::SetCondHidden().
|
inline |
Definition at line 115 of file section.hxx.
Referenced by SwXTextSection::attach(), SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwDoc::RemoveInvisibleContent(), and SwSection::SetCondition().
|
inline |
Definition at line 134 of file section.hxx.
Referenced by SwSection::SetConnectFlag().
|
inline |
Definition at line 108 of file section.hxx.
Referenced by SwXTextSection::attach(), SwSection::DataEquals(), SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), SwSection::Notify(), SwSection::SetEditInReadonly(), and SwSection::SwSection().
|
inline |
Definition at line 99 of file section.hxx.
Referenced by SwXTextSection::attach(), SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), SwBaseShell::InsertRegionDialog(), lcl_CheckEmptyLayFrame(), SwDoc::RemoveInvisibleContent(), and SwSection::SetHidden().
|
inline |
Definition at line 103 of file section.hxx.
Referenced by SwSection::Notify().
|
inline |
Definition at line 118 of file section.hxx.
Referenced by SwXTextSection::attach(), wwSectionManager::CreateSep(), SwInsertSectionTabPage::FillItemSet(), SwSection::GetLinkFileName(), IMPL_LINK(), SwModule::InsertLab(), SwBaseShell::InsertRegionDialog(), lcl_RemoveSectionLinks(), 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 124 of file section.hxx.
Referenced by SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), and SwSection::SetLinkFilePassword().
|
inline |
Definition at line 128 of file section.hxx.
Referenced by SwXTextSection::attach(), SwEditRegionDlg::ChangePasswd(), SwInsertSectionTabPage::FillItemSet(), and IMPL_LINK_NOARG().
|
inline |
Definition at line 106 of file section.hxx.
Referenced by SwXTextSection::attach(), wwSectionManager::CreateSep(), SwSection::DataEquals(), SwInsertSectionTabPage::FillItemSet(), IMPL_LINK(), SwModule::InsertLab(), SwBaseShell::InsertRegionDialog(), wwSectionManager::InsertSection(), SwWrtShell::NavigatorPaste(), SwHTMLParser::NewDivision(), SwSection::Notify(), SwTransferable::PasteDDE(), SwTransferable::PasteFileName(), SwWW8ImplReader::Read_F_IncludeText(), SwSection::SetProtect(), SwEditShell::SetTOXBaseReadonly(), SwDoc::SplitDoc(), and SwSection::SwSection().
|
inline |
Definition at line 94 of file section.hxx.
Referenced by IMPL_LINK_NOARG(), SwXTextSection::setName(), and SwSection::SetSectionName().
|
inline |
Definition at line 96 of file section.hxx.
References m_eType.
Referenced by SwInsertSectionTabPage::FillItemSet(), 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 82 of file section.hxx.
Referenced by operator=().
|
private |
Definition at line 83 of file section.hxx.
Referenced by operator=().
|
private |
Definition at line 79 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Section is hidden, unless condition evaluates ‘false’.
Definition at line 81 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
It seems this flag caches the current final "hidden" state.
Definition at line 72 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 77 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 63 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 69 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Hide condition.
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 68 of file section.hxx.
Referenced by operator=(), and operator==().
|
private |
Definition at line 65 of file section.hxx.
Referenced by dumpAsXml(), operator=(), and operator==().