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 sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &rIdentifier) 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 |
Static Public Member Functions | |
static css::uno::Reference< css::text::XTextContent > | CreateXParagraph (SwDoc &rDoc, SwTextNode *pTextNode, css::uno::Reference< css::text::XText > const &xParentText=nullptr, const sal_Int32 nSelStart=-1, const sal_Int32 nSelEnd=-1) |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
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 63 of file unoparagraph.hxx.
|
overrideprivatevirtual |
Definition at line 219 of file unoparagraph.cxx.
|
private |
|
private |
|
overridevirtual |
Definition at line 1238 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 592 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 876 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 892 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1199 of file unoparagraph.cxx.
void SwXParagraph::attachToText | ( | SwXText & | rParent, |
SwTextNode & | rTextNode | ||
) |
for SwXText
Definition at line 332 of file unoparagraph.cxx.
References sw::BroadcasterMixin::GetNotifier(), m_pImpl, setString(), and SwTextNode::SetXParagraph().
Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().
|
overridevirtual |
Definition at line 1375 of file unoparagraph.cxx.
References SwXParaFrameEnumeration::Create(), m_pImpl, and PARAFRAME_PORTION_PARAGRAPH.
|
overridevirtual |
Definition at line 1253 of file unoparagraph.cxx.
References m_pImpl.
|
static |
Definition at line 234 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().
Definition at line 1224 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 605 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1209 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1394 of file unoparagraph.cxx.
|
override |
Definition at line 1401 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 723 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1267 of file unoparagraph.cxx.
References cppu::UnoType< class >::get().
|
overridevirtual |
Definition at line 1304 of file unoparagraph.cxx.
References SwPaM::End(), getText(), and m_pImpl.
|
overridevirtual |
Definition at line 305 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1407 of file unoparagraph.cxx.
References SfxObjectShell::GetModel(), and m_pImpl.
|
overridevirtual |
Definition at line 1164 of file unoparagraph.cxx.
References sw::GetDefaultTextContentValue(), m_pImpl, SfxItemPropertySimpleEntry::nMemberId, SfxItemPropertySimpleEntry::nWID, SfxPoolItem::QueryValue(), RES_FRMATR_END(), and XATTR_FILL_LAST().
|
overridevirtual |
Definition at line 352 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1013 of file unoparagraph.cxx.
References lcl_SwXParagraph_getPropertyState(), and m_pImpl.
|
overridevirtual |
Definition at line 1035 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), i, isATR(), lcl_SwXParagraph_getPropertyState(), m_pImpl, and SfxItemPropertySimpleEntry::nWID.
|
overridevirtual |
Definition at line 373 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 566 of file unoparagraph.cxx.
References cppu::getCaughtException(), and m_pImpl.
|
overridevirtual |
Definition at line 707 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 299 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1287 of file unoparagraph.cxx.
References getText(), m_pImpl, and SwPaM::Start().
|
overridevirtual |
Definition at line 1320 of file unoparagraph.cxx.
References SwUnoCursorHelper::GetTextFromPam(), GetTextNode(), m_pImpl, and SAL_WARN.
|
overridevirtual |
Definition at line 317 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1279 of file unoparagraph.cxx.
References m_pImpl.
Referenced by getEnd(), and getStart().
const SwTextNode * SwXParagraph::GetTextNode | ( | ) | const |
Definition at line 223 of file unoparagraph.cxx.
References m_pImpl.
Referenced by SwXShape::attach(), getString(), SwXTextViewCursor::gotoRange(), hasElements(), SelectPaM(), and setString().
|
static |
Definition at line 293 of file unoparagraph.cxx.
References sw::proofreadingiterator::get().
Referenced by SwXShape::attach(), and SwXTextViewCursor::gotoRange().
|
overridevirtual |
Definition at line 1272 of file unoparagraph.cxx.
References GetTextNode().
bool SwXParagraph::IsDescriptor | ( | ) | const |
Definition at line 228 of file unoparagraph.cxx.
References m_pImpl.
Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().
|
overridevirtual |
Definition at line 1245 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 599 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 884 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 900 of file unoparagraph.cxx.
bool SwXParagraph::SelectPaM | ( | SwPaM & | rPaM | ) |
make rPaM select the paragraph
Definition at line 272 of file unoparagraph.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), SwTextNode::GetText(), GetTextNode(), SwPosition::nContent, and SwPaM::SetMark().
Referenced by sw::XTextRangeToSwPaM().
|
overridevirtual |
Definition at line 1076 of file unoparagraph.cxx.
References SwDoc::CreateUnoCursor(), SwPaM::End(), fnParaEnd, fnParaStart, SwPaM::GetDoc(), GoCurrPara(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), SwUnoCursorHelper::IsEndOfPara(), SwUnoCursorHelper::IsStartOfPara(), m_pImpl, SfxItemPropertySimpleEntry::nFlags, SfxItemPropertySimpleEntry::nWID, OWN_ATTR_FILLBMP_MODE, RES_FRMATR_END(), RES_PARATR_BEGIN(), SwDoc::ResetAttrs(), SwUnoCursorHelper::resetCursorPropertyValue(), SwUnoCursorHelper::SelectPam(), SwPaM::Start(), UNO_NAME_TEXT_WRAP, XATTR_FILL_LAST(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
|
overridevirtual |
Definition at line 362 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 418 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 615 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), i, m_pImpl, SfxItemPropertySimpleEntry::nFlags, SwUnoCursorHelper::SetPropertyValue(), and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 1345 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 311 of file unoparagraph.cxx.
References cppu::supportsService().
|
private |
Definition at line 69 of file unoparagraph.hxx.
Referenced by addEventListener(), attachToText(), createContentEnumeration(), createEnumeration(), 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().