LibreOffice Module sw (master) 1
|
#include <unosection.hxx>
Classes | |
class | Impl |
Public Member Functions | |
SwSectionFormat * | GetFormat () const |
virtual ::sfx2::Metadatable * | GetCoreObject () override |
virtual css::uno::Reference< css::frame::XModel > | GetModel () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &rServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &rPropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &rPropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &rPropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &rPropertyName) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &rName) override |
virtual void SAL_CALL | attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getAnchor () override |
virtual css::uno::Reference< css::text::XTextSection > SAL_CALL | getParentSection () override |
virtual css::uno::Sequence< css::uno::Reference< css::text::XTextSection > > SAL_CALL | getChildSections () override |
Static Public Member Functions | |
static rtl::Reference< SwXTextSection > | CreateXTextSection (SwSectionFormat *const pFormat, const bool bIndexHeader=false) |
Private Member Functions | |
SwXTextSection (SwSectionFormat *const pFormat, const bool bIndexHeader) | |
virtual | ~SwXTextSection () override |
Private Attributes | |
::sw::UnoImplPtr< Impl > | m_pImpl |
Definition at line 48 of file unosection.hxx.
|
private |
Definition at line 218 of file unosect.cxx.
Referenced by CreateXTextSection().
|
overrideprivatevirtual |
Definition at line 224 of file unosect.cxx.
|
overridevirtual |
Definition at line 479 of file unosect.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1283 of file unosect.cxx.
|
overridevirtual |
Definition at line 1304 of file unosect.cxx.
|
overridevirtual |
Definition at line 1320 of file unosect.cxx.
|
overridevirtual |
Definition at line 261 of file unosect.cxx.
References Connect, Content, SwSection::CreateLink(), sfx2::cTokenSeparator, DdeLink, eType, FileLink, SwDoc::GetAttrPool(), SwDoc::GetCurTOX(), SwXTextRange::GetDoc(), SwSection::GetFormat(), GetFormat(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetUniqueSectionName(), i, SwDoc::InsertSwSection(), INSSECTION, SwSection::IsConnected(), m_pImpl, nCount, RES_BACKGROUND(), RES_COL(), RES_FRAMEDIR(), RES_FTN_AT_TXTEND(), RES_LR_SPACE(), RES_UNKNOWNATR_CONTAINER(), SwSection::SetCondHidden(), SwSectionData::SetCondition(), SwSectionData::SetEditInReadonlyFlag(), SwSectionData::SetHidden(), SwSectionData::SetLinkFileName(), SwSectionData::SetPassword(), SwSectionData::SetProtectFlag(), SwSection::SetUpdateType(), SwFrameFormat::SetXObject(), SwPaM::Start(), ToxHeader, and sw::XTextRangeToSwPaM().
|
static |
Definition at line 194 of file unosect.cxx.
References SwSectionFormat::GetXTextSection(), SwSectionFormat::SetXTextSection(), and SwXTextSection().
Referenced by getChildSections(), SwXTextSections::GetObject(), getParentSection(), SwXDocumentIndex::getPropertyValue(), SwXServiceProvider::MakeInstance(), and SwSectionFormat::MakeUnoObject().
|
overridevirtual |
Definition at line 468 of file unosect.cxx.
References SwDoc::DelSectionFormat(), SwFormat::GetDoc(), and m_pImpl.
|
overridevirtual |
Definition at line 1296 of file unosect.cxx.
|
overridevirtual |
Definition at line 421 of file unosect.cxx.
References sw::CreateParentXText(), SwXTextRange::CreateXTextRange(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwFormat::GetDoc(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), SwSectionFormat::GetSection(), GoInContent(), SwNodes::IsDocNodes(), SwNode::IsSectionNode(), m_pImpl, SwPaM::Move(), and SwPaM::Start().
|
overridevirtual |
Definition at line 242 of file unosect.cxx.
References aSeq, CreateXTextSection(), SwSectionFormat::GetChildSections(), i, m_pImpl, and Not.
|
override |
Definition at line 1712 of file unosect.cxx.
References m_pImpl.
SwSectionFormat * SwXTextSection::GetFormat | ( | ) | const |
Definition at line 188 of file unosect.cxx.
References m_pImpl.
Referenced by attach(), SwXText::insertTextContentAfter(), SwXText::insertTextContentBefore(), SwXText::removeTextContentAfter(), and SwXText::removeTextContentBefore().
|
overridevirtual |
Definition at line 1691 of file unosect.cxx.
|
overridevirtual |
Definition at line 1718 of file unosect.cxx.
References SwFormat::GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), and m_pImpl.
|
overridevirtual |
Definition at line 1622 of file unosect.cxx.
References SwSectionFormat::GetSection(), SwSection::GetSectionName(), and m_pImpl.
|
overridevirtual |
Definition at line 229 of file unosect.cxx.
References CreateXTextSection(), SwSectionFormat::GetParent(), and m_pImpl.
|
overridevirtual |
Definition at line 1569 of file unosect.cxx.
References FN_PARAM_LINK_DISPLAY_NAME, FN_UNO_ANCHOR_TYPE, FN_UNO_ANCHOR_TYPES, FN_UNO_TEXT_WRAP, SwDoc::GetAttrPool(), SfxItemPool::GetDefaultItem(), sw::GetDefaultTextContentValue(), SwFormat::GetDoc(), SfxItemPool::IsWhich(), m_pImpl, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SfxPoolItem::QueryValue(), u, WID_SECT_CONDITION, WID_SECT_DDE_AUTOUPDATE, WID_SECT_DDE_ELEMENT, WID_SECT_DDE_FILE, WID_SECT_DDE_TYPE, WID_SECT_EDIT_IN_READONLY, WID_SECT_LINK, WID_SECT_PROTECTED, WID_SECT_REGION, and WID_SECT_VISIBLE.
|
overridevirtual |
Definition at line 496 of file unosect.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1336 of file unosect.cxx.
References getPropertyStates().
|
overridevirtual |
Definition at line 1345 of file unosect.cxx.
References FN_PARAM_LINK_DISPLAY_NAME, FN_UNO_ANCHOR_TYPE, FN_UNO_ANCHOR_TYPES, FN_UNO_TEXT_WRAP, SwFormat::GetAttrSet(), i, m_pImpl, SfxItemPropertyMapEntry::nWID, RES_COL(), WID_SECT_CONDITION, WID_SECT_DDE_AUTOUPDATE, WID_SECT_DDE_ELEMENT, WID_SECT_DDE_FILE, WID_SECT_DDE_TYPE, WID_SECT_EDIT_IN_READONLY, WID_SECT_LINK, WID_SECT_PROTECTED, WID_SECT_REGION, and WID_SECT_VISIBLE.
Referenced by getPropertyState().
|
overridevirtual |
Definition at line 1275 of file unosect.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1247 of file unosect.cxx.
References cppu::getCaughtException(), and m_pImpl.
|
overridevirtual |
Definition at line 1702 of file unosect.cxx.
|
overridevirtual |
Definition at line 487 of file unosect.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1290 of file unosect.cxx.
|
overridevirtual |
Definition at line 1312 of file unosect.cxx.
|
overridevirtual |
Definition at line 1328 of file unosect.cxx.
|
overridevirtual |
Definition at line 1643 of file unosect.cxx.
References SwFormat::GetDoc(), SwSectionFormat::GetSection(), SwDoc::GetSections(), i, m_pImpl, SwSectionData::SetSectionName(), SwVectorModifyBase< Value >::size(), and SwDoc::UpdateSection().
|
overridevirtual |
Definition at line 1427 of file unosect.cxx.
References SfxItemSet::ClearItem(), Content, FN_UNO_ANCHOR_TYPE, FN_UNO_ANCHOR_TYPES, FN_UNO_TEXT_WRAP, SwFormat::GetAttrSet(), SfxItemSet::GetPool(), SwSectionFormat::GetSection(), SfxItemPool::IsWhich(), lcl_UpdateSection(), m_pImpl, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nWID, RES_BACKGROUND(), RES_COL(), WID_SECT_CONDITION, WID_SECT_DDE_AUTOUPDATE, WID_SECT_DDE_ELEMENT, WID_SECT_DDE_FILE, WID_SECT_DDE_TYPE, WID_SECT_EDIT_IN_READONLY, WID_SECT_LINK, WID_SECT_PROTECTED, WID_SECT_REGION, and WID_SECT_VISIBLE.
|
overridevirtual |
Definition at line 933 of file unosect.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 912 of file unosect.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1696 of file unosect.cxx.
References cppu::supportsService().
|
private |
Definition at line 55 of file unosection.hxx.
Referenced by addEventListener(), attach(), dispose(), getAnchor(), getChildSections(), GetCoreObject(), GetFormat(), GetModel(), getName(), getParentSection(), getPropertyDefault(), getPropertySetInfo(), getPropertyStates(), getPropertyValue(), getPropertyValues(), removeEventListener(), setName(), setPropertyToDefault(), setPropertyValue(), and setPropertyValues().