LibreOffice Module sw (master) 1
|
#include <unoparagraph.hxx>
Classes | |
class | Impl |
Public Member Functions | |
const SwTextNode * | GetTextNode () const |
bool | IsDescriptor () const |
bool | SelectPaM (SwPaM &rPaM) |
make rPaM select the paragraph More... | |
void | attachToText (SwXText &rParent, SwTextNode &rTextNode) |
for SwXText More... | |
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 css::uno::Sequence< css::beans::SetPropertyTolerantFailed > SAL_CALL | setPropertyValuesTolerant (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rValues) override |
virtual css::uno::Sequence< css::beans::GetPropertyTolerantResult > SAL_CALL | getPropertyValuesTolerant (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > SAL_CALL | getDirectPropertyValuesTolerant (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createContentEnumeration (const OUString &rServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getAvailableServiceNames () 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::XText > SAL_CALL | getText () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &rString) override |
rtl::Reference< SwXTextPortionEnumeration > | createTextFieldsEnumeration () |
tries to return less data, but may return more than just text fields More... | |
Static Public Member Functions | |
static rtl::Reference< SwXParagraph > | CreateXParagraph (SwDoc &rDoc, SwTextNode *pTextNode, css::uno::Reference< css::text::XText > const &xParentText=nullptr, const sal_Int32 nSelStart=-1, const sal_Int32 nSelEnd=- 1) |
Private Member Functions | |
virtual | ~SwXParagraph () override |
SwXParagraph (css::uno::Reference< css::text::XText > const &xParent, SwTextNode &rTextNode, const sal_Int32 nSelStart, const sal_Int32 nSelEnd) | |
SwXParagraph () | |
descriptor More... | |
Private Attributes | |
::sw::UnoImplPtr< Impl > | m_pImpl |
Definition at line 62 of file unoparagraph.hxx.
|
overrideprivatevirtual |
Definition at line 230 of file unoparagraph.cxx.
|
private |
|
private |
|
overridevirtual |
Definition at line 1246 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 603 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 884 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 900 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1207 of file unoparagraph.cxx.
void SwXParagraph::attachToText | ( | SwXText & | rParent, |
SwTextNode & | rTextNode | ||
) |
for SwXText
Definition at line 327 of file unoparagraph.cxx.
References m_pImpl, setString(), and SwTextNode::SetXParagraph().
Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().
|
overridevirtual |
Definition at line 1397 of file unoparagraph.cxx.
References SwXParaFrameEnumeration::Create(), m_pImpl, and PARAFRAME_PORTION_PARAGRAPH.
|
overridevirtual |
Definition at line 1263 of file unoparagraph.cxx.
References m_pImpl.
rtl::Reference< SwXTextPortionEnumeration > SwXParagraph::createTextFieldsEnumeration | ( | ) |
tries to return less data, but may return more than just text fields
Definition at line 1278 of file unoparagraph.cxx.
References m_pImpl.
|
static |
Definition at line 245 of file unoparagraph.cxx.
References sw::CreateParentXText(), SwTextNode::GetXParagraph(), m_pImpl, Pos, SwTextNode::SetXParagraph(), and SwXParagraph().
Referenced by SwRDFHelper::addTextNodeStatement(), SwEditShell::ApplyParagraphClassification(), SwEditShell::CollectParagraphClassification(), SwXText::Impl::finishOrAppendParagraph(), SwUnoCursorHelper::getCursorPropertyValue(), SwRDFHelper::getTextNodeStatements(), SwXServiceProvider::MakeInstance(), SwTextNode::MakeUnoObject(), SwRDFHelper::removeTextNodeStatement(), SwEditShell::SignParagraph(), SwRDFHelper::updateTextNodeStatement(), and SwEditShell::ValidateParagraphSignatures().
|
overridevirtual |
Definition at line 1231 of file unoparagraph.cxx.
References IDocumentContentOperations::DelFullPara(), SwNode::GetDoc(), SwDoc::getIDocumentContentOperations(), and m_pImpl.
|
overridevirtual |
Definition at line 616 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1216 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1415 of file unoparagraph.cxx.
|
override |
Definition at line 1422 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 734 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1289 of file unoparagraph.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 1326 of file unoparagraph.cxx.
References SwPaM::End(), getText(), and m_pImpl.
|
overridevirtual |
Definition at line 300 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1428 of file unoparagraph.cxx.
References SwNode::GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), and m_pImpl.
|
overridevirtual |
Definition at line 1172 of file unoparagraph.cxx.
References SwDoc::GetAttrPool(), SfxItemPool::GetDefaultItem(), sw::GetDefaultTextContentValue(), SwNode::GetDoc(), m_pImpl, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SfxPoolItem::QueryValue(), RES_FRMATR_END(), and XATTR_FILL_LAST().
|
overridevirtual |
Definition at line 347 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1021 of file unoparagraph.cxx.
References lcl_SwXParagraph_getPropertyState(), and m_pImpl.
|
overridevirtual |
Definition at line 1043 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), i, isATR(), lcl_SwXParagraph_getPropertyState(), m_pImpl, and SfxItemPropertyMapEntry::nWID.
|
overridevirtual |
Definition at line 365 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 577 of file unoparagraph.cxx.
References cppu::getCaughtException(), and m_pImpl.
|
overridevirtual |
Definition at line 718 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1309 of file unoparagraph.cxx.
References getText(), m_pImpl, and SwPaM::Start().
|
overridevirtual |
Definition at line 1342 of file unoparagraph.cxx.
References SwUnoCursorHelper::GetTextFromPam(), GetTextNode(), m_pImpl, and SAL_WARN.
|
overridevirtual |
Definition at line 312 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1301 of file unoparagraph.cxx.
References m_pImpl.
Referenced by getEnd(), and getStart().
const SwTextNode * SwXParagraph::GetTextNode | ( | ) | const |
Definition at line 234 of file unoparagraph.cxx.
References m_pImpl.
Referenced by SwXShape::attach(), getString(), SwXTextViewCursor::gotoRange(), hasElements(), SelectPaM(), and setString().
|
overridevirtual |
Definition at line 1294 of file unoparagraph.cxx.
References GetTextNode().
bool SwXParagraph::IsDescriptor | ( | ) | const |
Definition at line 239 of file unoparagraph.cxx.
References m_pImpl.
Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().
|
overridevirtual |
Definition at line 1254 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 610 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 892 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 908 of file unoparagraph.cxx.
bool SwXParagraph::SelectPaM | ( | SwPaM & | rPaM | ) |
make rPaM select the paragraph
Definition at line 283 of file unoparagraph.cxx.
References SwPosition::Assign(), SwPaM::GetMark(), SwPaM::GetPoint(), SwTextNode::GetText(), GetTextNode(), SwPosition::SetContent(), and SwPaM::SetMark().
|
overridevirtual |
Definition at line 1084 of file unoparagraph.cxx.
References SwDoc::CreateUnoCursor(), SwPaM::End(), fnParaEnd, fnParaStart, SwPaM::GetDoc(), GoCurrPara(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwUnoCursorHelper::IsEndOfPara(), SwUnoCursorHelper::IsStartOfPara(), m_pImpl, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nWID, OWN_ATTR_FILLBMP_MODE, RES_FRMATR_END(), RES_PARATR_BEGIN(), SwDoc::ResetAttrs(), SwUnoCursorHelper::resetCursorPropertyValue(), SwUnoCursorHelper::SelectPam(), SwPaM::Start(), UNO_NAME_ANCHOR_TYPE, UNO_NAME_ANCHOR_TYPES, UNO_NAME_TEXT_WRAP, XATTR_FILL_LAST(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
|
overridevirtual |
Definition at line 357 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 404 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 626 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), i, m_pImpl, SfxItemPropertyMapEntry::nFlags, SwUnoCursorHelper::SetPropertyValue(), and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 1367 of file unoparagraph.cxx.
References fnParaEnd, fnParaStart, SwTextNode::GetText(), GetTextNode(), GoCurrPara(), SwUnoCursorHelper::IsStartOfPara(), m_pImpl, SwCursor::MovePara(), SwUnoCursorHelper::SelectPam(), and SwUnoCursorHelper::SetString().
Referenced by attachToText().
|
overridevirtual |
Definition at line 306 of file unoparagraph.cxx.
References cppu::supportsService().
|
private |
Definition at line 69 of file unoparagraph.hxx.
Referenced by addEventListener(), attachToText(), createContentEnumeration(), createEnumeration(), createTextFieldsEnumeration(), CreateXParagraph(), dispose(), getAnchor(), GetCoreObject(), getDirectPropertyValuesTolerant(), getEnd(), GetModel(), getPropertyDefault(), getPropertySetInfo(), getPropertyState(), getPropertyStates(), getPropertyValue(), getPropertyValues(), getPropertyValuesTolerant(), getStart(), getString(), getText(), GetTextNode(), IsDescriptor(), removeEventListener(), setPropertyToDefault(), setPropertyValue(), setPropertyValues(), setPropertyValuesTolerant(), and setString().