LibreOffice Module sw (master)  1
Classes | Enumerations | Functions | Variables
unoobj.cxx File Reference
#include <com/sun/star/table/TableSortField.hpp>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <svl/itemprop.hxx>
#include <o3tl/any.hxx>
#include <o3tl/safeint.hxx>
#include <osl/endian.h>
#include <unotools/collatorwrapper.hxx>
#include <swtypes.hxx>
#include <hintids.hxx>
#include <cmdid.h>
#include <unomid.h>
#include <hints.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <istyleaccess.hxx>
#include <ndtxt.hxx>
#include <unocrsr.hxx>
#include <unocrsrhelper.hxx>
#include <swundo.hxx>
#include <rootfrm.hxx>
#include <paratr.hxx>
#include <pam.hxx>
#include <shellio.hxx>
#include <fmtruby.hxx>
#include <docsh.hxx>
#include <docstyle.hxx>
#include <fmtpdsc.hxx>
#include <pagedesc.hxx>
#include <edimp.hxx>
#include <fchrfmt.hxx>
#include <fmtautofmt.hxx>
#include <unotextrange.hxx>
#include <unotextcursor.hxx>
#include <unomap.hxx>
#include <unoprnms.hxx>
#include <unometa.hxx>
#include <unotext.hxx>
#include <com/sun/star/text/TextMarkupType.hpp>
#include <vcl/svapp.hxx>
#include <unotools/syslocale.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <SwStyleNameMapper.hxx>
#include <sortopt.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/i18n/WordType.hpp>
#include <memory>
#include <unoparaframeenum.hxx>
#include <unoparagraph.hxx>
#include <iodetect.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/profilezone.hxx>
Include dependency graph for unoobj.cxx:

Go to the source code of this file.

Classes

class  SwXTextCursor::Impl
 

Enumerations

enum  ForceIntoMetaMode
 

Functions

static void lcl_setCharStyle (SwDoc &rDoc, const uno::Any &rValue, SfxItemSet &rSet)
 
static void lcl_setAutoStyle (IStyleAccess &rStyleAccess, const uno::Any &rValue, SfxItemSet &rSet, const bool bPara)
 
static void lcl_SetNodeNumStart (SwPaM &rCursor, uno::Any const &rValue)
 
static bool lcl_setCharFormatSequence (SwPaM &rPam, uno::Any const &rValue)
 
static void lcl_setDropcapCharStyle (SwPaM const &rPam, SfxItemSet &rItemSet, uno::Any const &rValue)
 
static void lcl_setRubyCharstyle (SfxItemSet &rItemSet, uno::Any const &rValue)
 
static bool lcl_ForceIntoMeta (SwPaM &rCursor, uno::Reference< text::XText > const &xParentText, const enum ForceIntoMetaMode eMode)
 
static bool propertyCausesSideEffectsInNodes (sal_uInt16 nWID)
 
static void lcl_SelectParaAndReset (SwPaM &rPaM, SwDoc &rDoc, o3tl::sorted_vector< sal_uInt16 > const &rWhichIds)
 
static void lcl_EnumerateIds (sal_uInt16 const *pIdRange, o3tl::sorted_vector< sal_uInt16 > &rWhichIds)
 

Variables

static sal_uInt16 g_ParaResetableSetRange []
 
static sal_uInt16 g_ResetableSetRange []
 

Enumeration Type Documentation

Definition at line 763 of file unoobj.cxx.

Function Documentation

static void lcl_EnumerateIds ( sal_uInt16 const *  pIdRange,
o3tl::sorted_vector< sal_uInt16 > &  rWhichIds 
)
static
static bool lcl_ForceIntoMeta ( SwPaM rCursor,
uno::Reference< text::XText > const &  xParentText,
const enum ForceIntoMetaMode  eMode 
)
static
static void lcl_SelectParaAndReset ( SwPaM rPaM,
SwDoc rDoc,
o3tl::sorted_vector< sal_uInt16 > const &  rWhichIds 
)
static
static void lcl_setAutoStyle ( IStyleAccess rStyleAccess,
const uno::Any rValue,
SfxItemSet rSet,
const bool  bPara 
)
static
static bool lcl_setCharFormatSequence ( SwPaM rPam,
uno::Any const &  rValue 
)
static
static void lcl_setCharStyle ( SwDoc rDoc,
const uno::Any rValue,
SfxItemSet rSet 
)
static
Exceptions
lang::IllegalArgumentException
uno::RuntimeException

Definition at line 179 of file unoobj.cxx.

References ChrFmt, SwStyleNameMapper::FillUIName(), SfxStyleSheetBasePool::Find(), SwDocStyleSheet::GetCharFormat(), SwDoc::GetDocShell(), SwDocShell::GetStyleSheetPool(), and SfxItemSet::Put().

Referenced by lcl_setCharFormatSequence().

static void lcl_setDropcapCharStyle ( SwPaM const &  rPam,
SfxItemSet rItemSet,
uno::Any const &  rValue 
)
static
static void lcl_SetNodeNumStart ( SwPaM rCursor,
uno::Any const &  rValue 
)
static
static void lcl_setRubyCharstyle ( SfxItemSet rItemSet,
uno::Any const &  rValue 
)
static
static bool propertyCausesSideEffectsInNodes ( sal_uInt16  nWID)
static

Variable Documentation

sal_uInt16 g_ParaResetableSetRange[]
static
Initial value:
= {
0
}
constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END)
constexpr sal_uInt16 RES_PARATR_LIST_END(88)
constexpr sal_uInt16 RES_UNKNOWNATR_BEGIN(RES_BOXATR_END)
constexpr sal_uInt16 RES_FRMATR_END(131)
constexpr sal_uInt16 RES_UNKNOWNATR_END(152)
constexpr sal_uInt16 RES_PARATR_LIST_BEGIN(RES_PARATR_END)
constexpr sal_uInt16 RES_PARATR_END(82)
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)

Definition at line 2294 of file unoobj.cxx.

sal_uInt16 g_ResetableSetRange[]
static
Initial value:
= {
0
}
constexpr TypedWhichId< SwFormatRuby > RES_TXTATR_CJK_RUBY(53)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN)
constexpr sal_uInt16 RES_CHRATR_END(46)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_TXTATR_UNKNOWN_CONTAINER(54)

Definition at line 2303 of file unoobj.cxx.