LibreOffice Module sw (master) 1
Classes | Namespaces | Enumerations | Functions
unocrsrhelper.hxx File Reference
#include "swtypes.hxx"
#include "flyenum.hxx"
#include "pam.hxx"
#include <map>
#include <string_view>
Include dependency graph for unocrsrhelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SwUnoCursorHelper::SwAnyMapHelper
 

Namespaces

namespace  sw
 Dialog to specify the properties of date form field.
 
namespace  sw::mark
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::beans
 
namespace  com::sun::star::text
 
namespace  SwUnoCursorHelper
 

Enumerations

enum  SwGetPropertyStatesCaller {
  SW_PROPERTY_STATE_CALLER_DEFAULT ,
  SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION ,
  SW_PROPERTY_STATE_CALLER_SINGLE_VALUE_ONLY ,
  SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION_TOLERANT
}
 

Functions

uno::Reference< text::XTextContent > SwUnoCursorHelper::GetNestedTextContent (SwTextNode const &rTextNode, sal_Int32 const nIndex, bool const bParent)
 
bool SwUnoCursorHelper::getCursorPropertyValue (const SfxItemPropertyMapEntry &rEntry, SwPaM &rPam, css::uno::Any *pAny, css::beans::PropertyState &eState, const SwTextNode *pNode=nullptr)
 
void SwUnoCursorHelper::GetCurPageStyle (SwPaM const &rPaM, OUString &rString)
 
bool SwUnoCursorHelper::IsStartOfPara (SwPaM &rUnoCursor)
 
bool SwUnoCursorHelper::IsEndOfPara (SwPaM &rUnoCursor)
 
void SwUnoCursorHelper::resetCursorPropertyValue (const SfxItemPropertyMapEntry &rEntry, SwPaM &rPam)
 
void SwUnoCursorHelper::InsertFile (SwUnoCursor *pUnoCursor, const OUString &rURL, const css::uno::Sequence< css::beans::PropertyValue > &rOptions)
 
void SwUnoCursorHelper::getNumberingProperty (SwPaM &rPam, css::beans::PropertyState &eState, css::uno::Any *pAny)
 
void SwUnoCursorHelper::setNumberingProperty (const css::uno::Any &rValue, SwPaM &rPam)
 
sal_Int16 SwUnoCursorHelper::IsNodeNumStart (SwPaM const &rPam, css::beans::PropertyState &eState)
 
bool SwUnoCursorHelper::DocInsertStringSplitCR (SwDoc &rDoc, const SwPaM &rNewCursor, std::u16string_view rText, const bool bForceExpandHints)
 
void SwUnoCursorHelper::makeRedline (SwPaM const &rPaM, std::u16string_view RedlineType, const css::uno::Sequence< css::beans::PropertyValue > &RedlineProperties)
 
void SwUnoCursorHelper::makeTableRowRedline (SwTableLine &rTableLine, std::u16string_view RedlineType, const css::uno::Sequence< css::beans::PropertyValue > &RedlineProperties)
 
SW_DLLPUBLIC void SwUnoCursorHelper::makeTableCellRedline (SwTableBox &rTableBox, std::u16string_view RedlineType, const css::uno::Sequence< css::beans::PropertyValue > &RedlineProperties)
 
void SwUnoCursorHelper::SetCursorAttr (SwPaM &rPam, const SfxItemSet &rSet, const SetAttrMode nAttrMode, const bool bTableMode=false)
 
void SwUnoCursorHelper::GetCursorAttr (SwPaM &rPam, SfxItemSet &rSet, const bool bOnlyTextAttr=false, const bool bGetFromChrFormat=true)
 
void SwUnoCursorHelper::GetTextFromPam (SwPaM &rPam, OUString &rBuffer, SwRootFrame const *pLayout=nullptr)
 
SwFormatCollSwUnoCursorHelper::GetCurTextFormatColl (SwPaM &rPam, const bool bConditional)
 
void SwUnoCursorHelper::SelectPam (SwPaM &rPam, const bool bExpand)
 
void SwUnoCursorHelper::SetString (SwCursor &rCursor, std::u16string_view aString)
 
css::uno::Sequence< css::beans::PropertyValue > SwUnoCursorHelper::CreateSortDescriptor (const bool bFromTable)
 
bool SwUnoCursorHelper::ConvertSortProperties (const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor, SwSortOptions &rSortOpt)
 
void SwUnoCursorHelper::SetPropertyValue (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const OUString &rPropertyName, const css::uno::Any &rValue, const SetAttrMode nAttrMode=SetAttrMode::DEFAULT)
 
void SwUnoCursorHelper::SetPropertyValues (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const css::uno::Sequence< css::beans::PropertyValue > &rPropertyValues, const SetAttrMode nAttrMode=SetAttrMode::DEFAULT)
 
void SwUnoCursorHelper::SetPropertyValues (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, o3tl::span< const css::beans::PropertyValue > aPropertyValues, const SetAttrMode nAttrMode=SetAttrMode::DEFAULT)
 
css::uno::Any SwUnoCursorHelper::GetPropertyValue (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, std::u16string_view rPropertyName)
 
css::uno::Sequence< css::beans::PropertyState > SwUnoCursorHelper::GetPropertyStates (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const css::uno::Sequence< OUString > &rPropertyNames, const SwGetPropertyStatesCaller eCaller=SW_PROPERTY_STATE_CALLER_DEFAULT)
 
css::beans::PropertyState SwUnoCursorHelper::GetPropertyState (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const OUString &rPropertyName)
 
void SwUnoCursorHelper::SetPropertyToDefault (SwPaM &rPaM, const SfxItemPropertySet &rPropSet, std::u16string_view rPropertyName)
 
css::uno::Any SwUnoCursorHelper::GetPropertyDefault (SwPaM const &rPaM, const SfxItemPropertySet &rPropSet, std::u16string_view rPropertyName)
 
bool SwUnoCursorHelper::SetPageDesc (const css::uno::Any &rValue, SwDoc &rDoc, SfxItemSet &rSet)
 
void SwUnoCursorHelper::SetTextFormatColl (const css::uno::Any &rAny, SwPaM &rPaM)
 
bool SwUnoCursorHelper::SetCursorPropertyValue (SfxItemPropertyMapEntry const &rEntry, css::uno::Any const &rValue, SwPaM &rPam, SfxItemSet &rItemSet)
 
SW_DLLPUBLIC void SwUnoCursorHelper::GetSelectableFromAny (css::uno::Reference< css::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)
 try to get something that can be selected out of the XInterface at most one of the out parameters gets assigned a non-null value o_rpPaM is newly allocated and must be deleted; other parameters not More...
 
uno::Reference< text::XFlatParagraphIterator > SwUnoCursorHelper::CreateFlatParagraphIterator (SwDoc &rDoc, sal_Int32 const nTextMarkupType, bool const bAutomatic)
 

Enumeration Type Documentation

◆ SwGetPropertyStatesCaller

Enumerator
SW_PROPERTY_STATE_CALLER_DEFAULT 
SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION 
SW_PROPERTY_STATE_CALLER_SINGLE_VALUE_ONLY 
SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION_TOLERANT 

Definition at line 55 of file unocrsrhelper.hxx.