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 229 of file unoparagraph.cxx.
|
private |
|
private |
|
overridevirtual |
Definition at line 1233 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 580 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 861 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 877 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1194 of file unoparagraph.cxx.
void SwXParagraph::attachToText | ( | SwXText & | rParent, |
SwTextNode & | rTextNode | ||
) |
for SwXText
Definition at line 326 of file unoparagraph.cxx.
References m_pImpl, setString(), and SwTextNode::SetXParagraph().
Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().
|
overridevirtual |
Definition at line 1384 of file unoparagraph.cxx.
References SwXParaFrameEnumeration::Create(), m_pImpl, and PARAFRAME_PORTION_PARAGRAPH.
|
overridevirtual |
Definition at line 1250 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 1265 of file unoparagraph.cxx.
References m_pImpl.
|
static |
Definition at line 244 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 1218 of file unoparagraph.cxx.
References IDocumentContentOperations::DelFullPara(), SwNode::GetDoc(), SwDoc::getIDocumentContentOperations(), and m_pImpl.
|
overridevirtual |
Definition at line 593 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1203 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1402 of file unoparagraph.cxx.
|
override |
Definition at line 1409 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 711 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1276 of file unoparagraph.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 1313 of file unoparagraph.cxx.
References SwPaM::End(), getText(), and m_pImpl.
|
overridevirtual |
Definition at line 299 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1415 of file unoparagraph.cxx.
References SwNode::GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), and m_pImpl.
|
overridevirtual |
Definition at line 1159 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 346 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1008 of file unoparagraph.cxx.
References lcl_SwXParagraph_getPropertyState(), and m_pImpl.
|
overridevirtual |
Definition at line 1030 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), i, isATR(), lcl_SwXParagraph_getPropertyState(), m_pImpl, and SfxItemPropertyMapEntry::nWID.
|
overridevirtual |
Definition at line 364 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 554 of file unoparagraph.cxx.
References cppu::getCaughtException(), and m_pImpl.
|
overridevirtual |
Definition at line 695 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 1296 of file unoparagraph.cxx.
References getText(), m_pImpl, and SwPaM::Start().
|
overridevirtual |
Definition at line 1329 of file unoparagraph.cxx.
References SwUnoCursorHelper::GetTextFromPam(), GetTextNode(), m_pImpl, and SAL_WARN.
|
overridevirtual |
Definition at line 311 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 1288 of file unoparagraph.cxx.
References m_pImpl.
Referenced by getEnd(), and getStart().
const SwTextNode * SwXParagraph::GetTextNode | ( | ) | const |
Definition at line 233 of file unoparagraph.cxx.
References m_pImpl.
Referenced by SwXShape::attach(), getString(), SwXTextViewCursor::gotoRange(), hasElements(), SelectPaM(), and setString().
|
overridevirtual |
Definition at line 1281 of file unoparagraph.cxx.
References GetTextNode().
bool SwXParagraph::IsDescriptor | ( | ) | const |
Definition at line 238 of file unoparagraph.cxx.
References m_pImpl.
Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().
|
overridevirtual |
Definition at line 1241 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 587 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 869 of file unoparagraph.cxx.
|
overridevirtual |
Definition at line 885 of file unoparagraph.cxx.
bool SwXParagraph::SelectPaM | ( | SwPaM & | rPaM | ) |
make rPaM select the paragraph
Definition at line 282 of file unoparagraph.cxx.
References SwPosition::Assign(), SwPaM::GetMark(), SwPaM::GetPoint(), SwTextNode::GetText(), GetTextNode(), SwPosition::SetContent(), and SwPaM::SetMark().
Referenced by sw::XTextRangeToSwPaM().
|
overridevirtual |
Definition at line 1071 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 356 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 403 of file unoparagraph.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 603 of file unoparagraph.cxx.
References SfxItemPropertyMap::getByName(), i, m_pImpl, SfxItemPropertyMapEntry::nFlags, SwUnoCursorHelper::SetPropertyValue(), and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 1354 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 305 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().