|
LibreOffice Module editeng (master) 1
|
#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>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 SvxItemPropertySet * | ImplGetSvxUnoOutlinerTextCursorSvxPropertySet () |
| o3tl::span< const SfxItemPropertyMapEntry > | ImplGetSvxUnoOutlinerTextCursorPropertyMap () |
| const SvxItemPropertySet * | ImplGetSvxTextPortionSvxPropertySet () |
| o3tl::span< const SfxItemPropertyMapEntry > | ImplGetSvxTextPortionPropertyMap () |
| #define SVX_UNOEDIT_CHAR_PROPERTIES |
Definition at line 79 of file unotext.hxx.
| #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.
| #define SVX_UNOEDIT_NUMBERING_PROPERTY |
Definition at line 69 of file unotext.hxx.
| #define SVX_UNOEDIT_OUTLINER_PROPERTIES |
Definition at line 73 of file unotext.hxx.
| #define SVX_UNOEDIT_PARA_PROPERTIES |
Definition at line 142 of file unotext.hxx.
| #define WID_FONTDESC OWN_ATTR_VALUE_START |
Definition at line 63 of file unotext.hxx.
| #define WID_NUMBERINGSTARTVALUE OWN_ATTR_VALUE_START+3 |
Definition at line 65 of file unotext.hxx.
| #define WID_PARAISNUMBERINGRESTART OWN_ATTR_VALUE_START+4 |
Definition at line 66 of file unotext.hxx.
| #define WID_PARASTYLENAME OWN_ATTR_VALUE_START+5 |
Definition at line 67 of file unotext.hxx.
| #define WID_PORTIONTYPE OWN_ATTR_VALUE_START+2 |
Definition at line 64 of file unotext.hxx.
|
noexcept |
Definition at line 148 of file unotext.cxx.
References DBG_ASSERT, EE_PARA_MAX_COUNT, GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, and ESelection::nStartPos.
Referenced by CheckSelection().
|
noexcept |
Definition at line 135 of file unotext.cxx.
References DBG_ASSERT.
Referenced by CheckSelection(), SvxUnoTextBase::createEnumeration(), SvxUnoTextBase::getText(), SvxUnoTextCursor::gotoRange(), SvxUnoTextBase::insertControlCharacter(), and SvxUnoTextBase::insertString().
| o3tl::span< const SfxItemPropertyMapEntry > ImplGetSvxTextPortionPropertyMap | ( | ) |
Definition at line 82 of file unotext.cxx.
References EE_CHAR_XMLATTRIBS(), EE_FEATURE_FIELD(), EE_PARA_XMLATTRIBS(), cppu::UnoType< typename T >::get(), SVX_UNOEDIT_CHAR_PROPERTIES, SVX_UNOEDIT_FONT_PROPERTIES, SVX_UNOEDIT_OUTLINER_PROPERTIES, SVX_UNOEDIT_PARA_PROPERTIES, u, and WID_PORTIONTYPE.
Referenced by ImplGetSvxTextPortionSfxPropertySet(), and ImplGetSvxTextPortionSvxPropertySet().
| const SvxItemPropertySet * ImplGetSvxTextPortionSvxPropertySet | ( | ) |
Definition at line 98 of file unotext.cxx.
References EditEngine::GetGlobalItemPool(), and ImplGetSvxTextPortionPropertyMap().
| o3tl::span< const SfxItemPropertyMapEntry > ImplGetSvxUnoOutlinerTextCursorPropertyMap | ( | ) |
Definition at line 110 of file unotext.cxx.
References EE_CHAR_XMLATTRIBS(), EE_PARA_XMLATTRIBS(), cppu::UnoType< typename T >::get(), SVX_UNOEDIT_CHAR_PROPERTIES, SVX_UNOEDIT_FONT_PROPERTIES, SVX_UNOEDIT_OUTLINER_PROPERTIES, SVX_UNOEDIT_PARA_PROPERTIES, and u.
Referenced by ImplGetSvxUnoOutlinerTextCursorSfxPropertySet(), and ImplGetSvxUnoOutlinerTextCursorSvxPropertySet().
| EDITENG_DLLPUBLIC const SvxItemPropertySet * ImplGetSvxUnoOutlinerTextCursorSvxPropertySet | ( | ) |
Definition at line 76 of file unotext.cxx.
References EditEngine::GetGlobalItemPool(), and ImplGetSvxUnoOutlinerTextCursorPropertyMap().