LibreOffice Module editeng (master) 1
Classes | Namespaces | Macros | Functions
unotext.hxx File Reference
#include <memory>
#include <com/sun/star/text/XTextRange.hpp>
#include <com/sun/star/text/XTextContent.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/text/XTextRangeMover.hpp>
#include <com/sun/star/text/XTextCursor.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/text/XTextRangeCompare.hpp>
#include <com/sun/star/beans/XMultiPropertyStates.hpp>
#include <com/sun/star/text/XTextAppend.hpp>
#include <com/sun/star/text/XTextCopy.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/awt/FontSlant.hpp>
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/style/LineSpacing.hpp>
#include <com/sun/star/style/TabStop.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/util/XComplexColor.hpp>
#include <comphelper/interfacecontainer4.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/weakagg.hxx>
#include <osl/diagnose.hxx>
#include <o3tl/span.hxx>
#include <mutex>
#include <comphelper/servicehelper.hxx>
#include <svl/itemset.hxx>
#include <svl/solar.hrc>
#include <editeng/editdata.hxx>
#include <editeng/unoedsrc.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/editengdllapi.h>
#include <editeng/memberids.h>
Include dependency graph for unotext.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SvxDummyTextSource
 
class  SvxUnoTextRange
 
class  SvxUnoTextBase
 
class  SvxUnoText
 
class  SvxUnoTextContent
 
class  SvxUnoTextContentEnumeration
 
class  SvxUnoTextRangeEnumeration
 
class  SvxUnoTextCursor
 

Namespaces

namespace  accessibility
 

Macros

#define WID_FONTDESC   OWN_ATTR_VALUE_START
 
#define WID_PORTIONTYPE   OWN_ATTR_VALUE_START+2
 
#define WID_NUMBERINGSTARTVALUE   OWN_ATTR_VALUE_START+3
 
#define WID_PARAISNUMBERINGRESTART   OWN_ATTR_VALUE_START+4
 
#define WID_PARASTYLENAME   OWN_ATTR_VALUE_START+5
 
#define SVX_UNOEDIT_NUMBERING_PROPERTY
 
#define SVX_UNOEDIT_OUTLINER_PROPERTIES
 
#define SVX_UNOEDIT_CHAR_PROPERTIES
 
#define SVX_UNOEDIT_FONT_PROPERTIES    { UNO_NAME_EDIT_FONT_DESCRIPTOR, WID_FONTDESC, cppu::UnoType<css::awt::FontDescriptor>::get(), 0, MID_FONT_FAMILY_NAME }
 
#define SVX_UNOEDIT_PARA_PROPERTIES
 

Functions

EDITENG_DLLPUBLIC void GetSelection (struct ESelection &rSel, SvxTextForwarder const *pForwarder) noexcept
 
EDITENG_DLLPUBLIC void CheckSelection (struct ESelection &rSel, SvxTextForwarder const *pForwarder) noexcept
 
EDITENG_DLLPUBLIC const SvxItemPropertySetImplGetSvxUnoOutlinerTextCursorSvxPropertySet ()
 
o3tl::span< const SfxItemPropertyMapEntryImplGetSvxUnoOutlinerTextCursorPropertyMap ()
 
const SvxItemPropertySetImplGetSvxTextPortionSvxPropertySet ()
 
o3tl::span< const SfxItemPropertyMapEntryImplGetSvxTextPortionPropertyMap ()
 

Macro Definition Documentation

◆ SVX_UNOEDIT_CHAR_PROPERTIES

#define SVX_UNOEDIT_CHAR_PROPERTIES

Definition at line 79 of file unotext.hxx.

◆ SVX_UNOEDIT_FONT_PROPERTIES

#define SVX_UNOEDIT_FONT_PROPERTIES    { UNO_NAME_EDIT_FONT_DESCRIPTOR, WID_FONTDESC, cppu::UnoType<css::awt::FontDescriptor>::get(), 0, MID_FONT_FAMILY_NAME }

Definition at line 139 of file unotext.hxx.

◆ SVX_UNOEDIT_NUMBERING_PROPERTY

#define SVX_UNOEDIT_NUMBERING_PROPERTY
Value:
css::uno::Type const & get()
constexpr TypedWhichId< SfxBoolItem > EE_PARA_BULLETSTATE(EE_PARA_START+9)
constexpr TypedWhichId< SvxNumBulletItem > EE_PARA_NUMBULLET(EE_PARA_START+5)
constexpr OUStringLiteral UNO_NAME_NUMBERING
Definition: unoprnms.hxx:275
constexpr OUStringLiteral UNO_NAME_NUMBERING_RULES
Definition: unoprnms.hxx:276

Definition at line 69 of file unotext.hxx.

◆ SVX_UNOEDIT_OUTLINER_PROPERTIES

#define SVX_UNOEDIT_OUTLINER_PROPERTIES
Value:
{u"NumberingStartValue", WID_NUMBERINGSTARTVALUE, ::cppu::UnoType<sal_Int16>::get(), 0, 0 }, \
{u"ParaIsNumberingRestart", WID_PARAISNUMBERINGRESTART, cppu::UnoType<bool>::get(), 0, 0 }
float u
constexpr TypedWhichId< SfxInt16Item > EE_PARA_OUTLLEVEL(EE_PARA_START+11)
constexpr OUStringLiteral UNO_NAME_NUMBERING_LEVEL
Definition: unoprnms.hxx:277
#define WID_PARAISNUMBERINGRESTART
Definition: unotext.hxx:66
#define SVX_UNOEDIT_NUMBERING_PROPERTY
Definition: unotext.hxx:69
#define WID_NUMBERINGSTARTVALUE
Definition: unotext.hxx:65

Definition at line 73 of file unotext.hxx.

◆ SVX_UNOEDIT_PARA_PROPERTIES

#define SVX_UNOEDIT_PARA_PROPERTIES
Value:
{u"ParaHyphenationNoCaps", EE_PARA_HYPHENATE_NO_CAPS, ::cppu::UnoType<bool>::get(), 0, 0 }, \
{u"ParaHyphenationNoLastWord", EE_PARA_HYPHENATE_NO_LAST_WORD, ::cppu::UnoType<bool>::get(), 0, 0 }, \
constexpr TypedWhichId< SfxBoolItem > EE_PARA_HYPHENATE(EE_PARA_START+6)
constexpr TypedWhichId< SvxHangingPunctuationItem > EE_PARA_HANGINGPUNCTUATION(EE_PARA_START+2)
constexpr TypedWhichId< SvxTabStopItem > EE_PARA_TABS(EE_PARA_START+17)
constexpr TypedWhichId< SvxAdjustItem > EE_PARA_JUST(EE_PARA_START+16)
constexpr TypedWhichId< SfxBoolItem > EE_PARA_HYPHENATE_NO_CAPS(EE_PARA_START+7)
constexpr TypedWhichId< SfxBoolItem > EE_PARA_HYPHENATE_NO_LAST_WORD(EE_PARA_START+8)
constexpr TypedWhichId< SvxULSpaceItem > EE_PARA_ULSPACE(EE_PARA_START+14)
constexpr TypedWhichId< SvxLRSpaceItem > EE_PARA_LRSPACE(EE_PARA_START+13)
constexpr TypedWhichId< SvxForbiddenRuleItem > EE_PARA_FORBIDDENRULES(EE_PARA_START+3)
constexpr TypedWhichId< SvxLineSpacingItem > EE_PARA_SBL(EE_PARA_START+15)
constexpr TypedWhichId< SvxFrameDirectionItem > EE_PARA_WRITINGDIR(EE_PARA_START+0)
constexpr TypedWhichId< SvxScriptSpaceItem > EE_PARA_ASIANCJKSPACING(EE_PARA_START+4)
#define MID_PARA_ADJUST
Definition: memberids.h:61
#define MID_LO_MARGIN
Definition: memberids.h:123
#define MID_R_MARGIN
Definition: memberids.h:130
#define MID_LAST_LINE_ADJUST
Definition: memberids.h:62
#define MID_FIRST_LINE_INDENT
Definition: memberids.h:133
#define MID_TXT_LMARGIN
Definition: memberids.h:136
#define MID_TABSTOP_DEFAULT_DISTANCE
Definition: memberids.h:43
#define MID_UP_MARGIN
Definition: memberids.h:122
#define CONVERT_TWIPS
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_IS_HYPHEN
Definition: unoprnms.hxx:302
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_TABSTOPS
Definition: unoprnms.hxx:299
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_TABSTOP_DEFAULT_DISTANCE
Definition: unoprnms.hxx:300
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_IS_HANGING_PUNCTUATION
Definition: unoprnms.hxx:303
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_LASTLINEADJ
Definition: unoprnms.hxx:295
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_FIRST_LINE_INDENT
Definition: unoprnms.hxx:306
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_BMARGIN
Definition: unoprnms.hxx:294
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_TMARGIN
Definition: unoprnms.hxx:301
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_LINESPACING
Definition: unoprnms.hxx:297
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_IS_FORBIDDEN_RULES
Definition: unoprnms.hxx:305
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_LMARGIN
Definition: unoprnms.hxx:296
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_RMARGIN
Definition: unoprnms.hxx:298
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_IS_CHARACTER_DISTANCE
Definition: unoprnms.hxx:304
constexpr OUStringLiteral UNO_NAME_EDIT_PARA_ADJUST
Definition: unoprnms.hxx:293

Definition at line 142 of file unotext.hxx.

◆ WID_FONTDESC

#define WID_FONTDESC   OWN_ATTR_VALUE_START

Definition at line 63 of file unotext.hxx.

◆ WID_NUMBERINGSTARTVALUE

#define WID_NUMBERINGSTARTVALUE   OWN_ATTR_VALUE_START+3

Definition at line 65 of file unotext.hxx.

◆ WID_PARAISNUMBERINGRESTART

#define WID_PARAISNUMBERINGRESTART   OWN_ATTR_VALUE_START+4

Definition at line 66 of file unotext.hxx.

◆ WID_PARASTYLENAME

#define WID_PARASTYLENAME   OWN_ATTR_VALUE_START+5

Definition at line 67 of file unotext.hxx.

◆ WID_PORTIONTYPE

#define WID_PORTIONTYPE   OWN_ATTR_VALUE_START+2

Definition at line 64 of file unotext.hxx.

Function Documentation

◆ CheckSelection()

EDITENG_DLLPUBLIC void CheckSelection ( struct ESelection rSel,
SvxTextForwarder const *  pForwarder 
)
noexcept

◆ GetSelection()

EDITENG_DLLPUBLIC void GetSelection ( struct ESelection rSel,
SvxTextForwarder const *  pForwarder 
)
noexcept

◆ ImplGetSvxTextPortionPropertyMap()

o3tl::span< const SfxItemPropertyMapEntry > ImplGetSvxTextPortionPropertyMap ( )

◆ ImplGetSvxTextPortionSvxPropertySet()

const SvxItemPropertySet * ImplGetSvxTextPortionSvxPropertySet ( )

◆ ImplGetSvxUnoOutlinerTextCursorPropertyMap()

o3tl::span< const SfxItemPropertyMapEntry > ImplGetSvxUnoOutlinerTextCursorPropertyMap ( )

◆ ImplGetSvxUnoOutlinerTextCursorSvxPropertySet()

EDITENG_DLLPUBLIC const SvxItemPropertySet * ImplGetSvxUnoOutlinerTextCursorSvxPropertySet ( )