LibreOffice Module editeng (master) 1
|
#include <vcl/svapp.hxx>
#include <com/sun/star/text/ControlCharacter.hpp>
#include <com/sun/star/text/XTextField.hpp>
#include <com/sun/star/text/TextRangeSelection.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <svl/itemset.hxx>
#include <svl/itempool.hxx>
#include <svl/eitem.hxx>
#include <tools/debug.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/unotext.hxx>
#include <editeng/unoedsrc.hxx>
#include <editeng/unonrule.hxx>
#include <editeng/unofdesc.hxx>
#include <editeng/unofield.hxx>
#include <editeng/flditem.hxx>
#include <editeng/numitem.hxx>
#include <editeng/editeng.hxx>
#include <editeng/outliner.hxx>
#include <editeng/unoipset.hxx>
#include <editeng/colritem.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <editeng/unonames.hxx>
#include <initializer_list>
#include <memory>
#include <string_view>
Go to the source code of this file.
Macros | |
#define | QUERYINT(xint) |
Functions | |
const SvxItemPropertySet * | ImplGetSvxUnoOutlinerTextCursorSvxPropertySet () |
o3tl::span< const SfxItemPropertyMapEntry > | ImplGetSvxTextPortionPropertyMap () |
const SvxItemPropertySet * | ImplGetSvxTextPortionSvxPropertySet () |
static const SfxItemPropertySet * | ImplGetSvxTextPortionSfxPropertySet () |
o3tl::span< const SfxItemPropertyMapEntry > | ImplGetSvxUnoOutlinerTextCursorPropertyMap () |
static const SfxItemPropertySet * | ImplGetSvxUnoOutlinerTextCursorSfxPropertySet () |
void | GetSelection (struct ESelection &rSel, SvxTextForwarder const *pForwarder) noexcept |
void | CheckSelection (struct ESelection &rSel, SvxTextForwarder const *pForwarder) noexcept |
static void | CheckSelection (struct ESelection &rSel, SvxEditSource *pEdit) noexcept |
UNO3_GETIMPLEMENTATION_IMPL (SvxUnoTextRangeBase) | |
static void | SvxPropertyValuesToItemSet (SfxItemSet &rItemSet, const uno::Sequence< beans::PropertyValue > &rPropertyValues, const SfxItemPropertySet *pPropSet, SvxTextForwarder *pForwarder, sal_Int32 nPara) |
Variables | |
const sal_uInt16 | aSvxUnoFontDescriptorWhichMap [] |
#define QUERYINT | ( | xint | ) |
Definition at line 72 of file unotext.cxx.
|
staticnoexcept |
Definition at line 197 of file unotext.cxx.
References CheckSelection().
|
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().
|
static |
Definition at line 104 of file unotext.cxx.
References ImplGetSvxTextPortionPropertyMap().
Referenced by SvxUnoTextBase::appendTextPortion(), and SvxUnoTextBase::insertTextPortion().
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().
|
static |
Definition at line 125 of file unotext.cxx.
References ImplGetSvxUnoOutlinerTextCursorPropertyMap().
Referenced by SvxUnoTextBase::finishParagraph().
const SvxItemPropertySet * ImplGetSvxUnoOutlinerTextCursorSvxPropertySet | ( | ) |
Definition at line 76 of file unotext.cxx.
References EditEngine::GetGlobalItemPool(), and ImplGetSvxUnoOutlinerTextCursorPropertyMap().
|
static |
lang::IllegalArgumentException | |
beans::UnknownPropertyException | |
uno::RuntimeException |
Definition at line 2027 of file unotext.cxx.
References SvxUnoFontDescriptor::FillItemSet(), SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nWID, SvxTextForwarder::SetNumberingStartValue(), SvxTextForwarder::SetParaIsNumberingRestart(), SfxItemPropertySet::setPropertyValue(), WID_FONTDESC, WID_NUMBERINGSTARTVALUE, and WID_PARAISNUMBERINGRESTART.
Referenced by SvxUnoTextBase::appendTextPortion(), SvxUnoTextBase::finishParagraph(), and SvxUnoTextBase::insertTextPortion().
UNO3_GETIMPLEMENTATION_IMPL | ( | SvxUnoTextRangeBase | ) |
const sal_uInt16 aSvxUnoFontDescriptorWhichMap[] |
Definition at line 965 of file unotext.cxx.