19#ifndef INCLUDED_SW_INC_UNOCRSRHELPER_HXX
20#define INCLUDED_SW_INC_UNOCRSRHELPER_HXX
47 enum class PropertyState;
51 class XFlatParagraphIterator;
69 std::map<sal_uInt32, css::uno::Any>
m_Map;
72 void SetValue( sal_uInt16 nWhichId, sal_uInt16 nMemberId,
const css::uno::Any& rAny );
73 bool FillValue( sal_uInt16 nWhichId, sal_uInt16 nMemberId,
const css::uno::Any*& pAny );
76 css::uno::Reference< css::text::XTextContent >
83 , css::beans::PropertyState& eState
100 const css::uno::Sequence< css::beans::PropertyValue >& rOptions);
104 css::beans::PropertyState& eState,
105 css::uno::Any *pAny );
108 const css::uno::Any& rValue,
113 css::beans::PropertyState& eState);
116 const SwPaM &rNewCursor, std::u16string_view aText,
117 const bool bForceExpandHints );
121 const css::uno::Sequence< css::beans::PropertyValue >& RedlineProperties );
126 const css::uno::Sequence< css::beans::PropertyValue >& RedlineProperties );
131 const css::uno::Sequence< css::beans::PropertyValue >& RedlineProperties );
136 const bool bTableMode =
false);
138 const bool bOnlyTextAttr =
false,
139 const bool bGetFromChrFormat =
true);
146 css::uno::Sequence< css::beans::PropertyValue >
149 const css::uno::Sequence< css::beans::PropertyValue >& rDescriptor,
160 const OUString & rPropertyName,
161 const css::uno::Any & rValue,
171 const css::uno::Sequence< css::beans::PropertyValue > &
185 std::u16string_view rPropertyName);
191 const css::uno::Sequence< OUString >&
200 const OUString & rPropertyName);
206 std::u16string_view rPropertyName);
213 std::u16string_view rPropertyName);
216 const css::uno::Any& rValue,
226 css::uno::Any
const& rValue,
233 css::uno::Reference<css::uno::XInterface>
const& xIfc,
235 SwPaM *& o_rpPaM, std::pair<OUString, FlyCntType> & o_rFrame,
238 std::vector<SdrObject *> & o_rSdrObjects);
240 css::uno::Reference<css::text::XFlatParagraphIterator>
virtual sal_Int32 Len() const
PaM is Point and Mark: a selection of the document model.
SwContentNode * GetPointContentNode() const
const SwPosition * GetPoint() const
The root element of a Writer document layout.
SwTableBox is one table cell in the document model.
SwTableLine is one table row in the document model.
SwTextNode is a paragraph in the document model.
bool FillValue(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const css::uno::Any *&pAny)
std::map< sal_uInt32, css::uno::Any > m_Map
void SetValue(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const css::uno::Any &rAny)
void makeTableCellRedline(SwTableBox &rTableBox, std::u16string_view rRedlineType, const uno::Sequence< beans::PropertyValue > &rRedlineProperties)
void GetCurPageStyle(SwPaM const &rPaM, OUString &rString)
void SetPropertyValue(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const OUString &rPropertyName, const css::uno::Any &rValue, const SetAttrMode nAttrMode=SetAttrMode::DEFAULT)
void SetPropertyValues(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const css::uno::Sequence< css::beans::PropertyValue > &rPropertyValues, const SetAttrMode nAttrMode=SetAttrMode::DEFAULT)
bool SetCursorPropertyValue(SfxItemPropertyMapEntry const &rEntry, css::uno::Any const &rValue, SwPaM &rPam, SfxItemSet &rItemSet)
sal_Int16 IsNodeNumStart(SwPaM const &rPam, PropertyState &eState)
SwFormatColl * GetCurTextFormatColl(SwPaM &rPam, const bool bConditional)
void SetCursorAttr(SwPaM &rPam, const SfxItemSet &rSet, const SetAttrMode nAttrMode, const bool bTableMode=false)
void setNumberingProperty(const Any &rValue, SwPaM &rPam)
void getNumberingProperty(SwPaM &rPam, PropertyState &eState, Any *pAny)
css::beans::PropertyState GetPropertyState(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const OUString &rPropertyName)
uno::Reference< text::XTextContent > GetNestedTextContent(SwTextNode const &rTextNode, sal_Int32 const nIndex, bool const bParent)
void makeRedline(SwPaM const &rPaM, std::u16string_view rRedlineType, const uno::Sequence< beans::PropertyValue > &rRedlineProperties)
css::uno::Sequence< css::beans::PropertyValue > CreateSortDescriptor(const bool bFromTable)
void GetCursorAttr(SwPaM &rPam, SfxItemSet &rSet, const bool bOnlyTextAttr=false, const bool bGetFromChrFormat=true)
bool DocInsertStringSplitCR(SwDoc &rDoc, const SwPaM &rNewCursor, std::u16string_view rText, const bool bForceExpandHints)
void SetPropertyToDefault(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, std::u16string_view rPropertyName)
void SetTextFormatColl(const css::uno::Any &rAny, SwPaM &rPaM)
void makeTableRowRedline(SwTableLine &rTableLine, std::u16string_view rRedlineType, const uno::Sequence< beans::PropertyValue > &rRedlineProperties)
bool IsStartOfPara(SwPaM &rUnoCursor)
void SetString(SwCursor &rCursor, std::u16string_view aString)
css::uno::Any GetPropertyValue(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, std::u16string_view rPropertyName)
bool getCursorPropertyValue(const SfxItemPropertyMapEntry &rEntry, SwPaM &rPam, Any *pAny, PropertyState &eState, const SwTextNode *pNode)
uno::Reference< text::XFlatParagraphIterator > CreateFlatParagraphIterator(SwDoc &rDoc, sal_Int32 const nTextMarkupType, bool const bAutomatic)
void GetTextFromPam(SwPaM &rPam, OUString &rBuffer, SwRootFrame const *pLayout=nullptr)
bool ConvertSortProperties(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor, SwSortOptions &rSortOpt)
bool IsEndOfPara(SwPaM &rUnoCursor)
void resetCursorPropertyValue(const SfxItemPropertyMapEntry &rEntry, SwPaM &rPam)
css::uno::Sequence< css::beans::PropertyState > GetPropertyStates(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const css::uno::Sequence< OUString > &rPropertyNames, const SwGetPropertyStatesCaller eCaller=SW_PROPERTY_STATE_CALLER_DEFAULT)
void SelectPam(SwPaM &rPam, const bool bExpand)
void InsertFile(SwUnoCursor *pUnoCursor, const OUString &rURL, const uno::Sequence< beans::PropertyValue > &rOptions)
void GetSelectableFromAny(uno::Reference< uno::XInterface > const &xIfc, SwDoc &rTargetDoc, SwPaM *&o_rpPaM, std::pair< OUString, FlyCntType > &o_rFrame, OUString &o_rTableName, SwUnoTableCursor const *&o_rpTableCursor, ::sw::mark::IMark const *&o_rpMark, std::vector< SdrObject * > &o_rSdrObjects)
css::uno::Any GetPropertyDefault(SwPaM const &rPaM, const SfxItemPropertySet &rPropSet, std::u16string_view rPropertyName)
bool SetPageDesc(const css::uno::Any &rValue, SwDoc &rDoc, SfxItemSet &rSet)
sal_Int32 GetContentIndex() const
SwGetPropertyStatesCaller
@ SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION_TOLERANT
@ SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION
@ SW_PROPERTY_STATE_CALLER_SINGLE_VALUE_ONLY
@ SW_PROPERTY_STATE_CALLER_DEFAULT