LibreOffice Module editeng (master) 1
Functions | Variables
editdoc.cxx File Reference
#include <editeng/tstpitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/flditem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/editids.hrc>
#include <editeng/editdata.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editdoc.hxx>
#include <editeng/eerdll.hxx>
#include <eerdll2.hxx>
#include "impedit.hxx"
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <svl/grabbagitem.hxx>
#include <tools/debug.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <libxml/xmlwriter.h>
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <limits>
#include <memory>
#include <set>
#include <string_view>
#include <utility>
Include dependency graph for editdoc.cxx:

Go to the source code of this file.

Functions

sal_uInt16 GetScriptItemId (sal_uInt16 nItemId, SvtScriptType nScriptType)
 
bool IsScriptItemValid (sal_uInt16 nItemId, short nScriptType)
 
EditCharAttribMakeCharAttrib (SfxItemPool &rPool, const SfxPoolItem &rAttr, sal_Int32 nS, sal_Int32 nE)
 
void ConvertItem (std::unique_ptr< SfxPoolItem > &rPoolItem, MapUnit eSourceUnit, MapUnit eDestUnit)
 
void ConvertAndPutItems (SfxItemSet &rDest, const SfxItemSet &rSource, const MapUnit *pSourceUnit, const MapUnit *pDestUnit)
 
bool operator== (const EditLine &r1, const EditLine &r2)
 
bool operator== (const EditPaM &r1, const EditPaM &r2)
 
bool operator!= (const EditPaM &r1, const EditPaM &r2)
 
void CreateFont (SvxFont &rFont, const SfxItemSet &rSet, bool bSearchInParent, SvtScriptType nScriptType)
 

Variables

const SfxItemInfo aItemInfos [EDITITEMCOUNT]
 

Function Documentation

◆ ConvertAndPutItems()

void ConvertAndPutItems ( SfxItemSet rDest,
const SfxItemSet rSource,
const MapUnit pSourceUnit,
const MapUnit pDestUnit 
)

◆ ConvertItem()

void ConvertItem ( std::unique_ptr< SfxPoolItem > &  rPoolItem,
MapUnit  eSourceUnit,
MapUnit  eDestUnit 
)

◆ CreateFont()

void CreateFont ( SvxFont rFont,
const SfxItemSet rSet,
bool  bSearchInParent,
SvtScriptType  nScriptType 
)

Definition at line 1975 of file editdoc.cxx.

References ALIGN_BASELINE, EE_CHAR_BKGCOLOR(), EE_CHAR_CASEMAP(), EE_CHAR_COLOR(), EE_CHAR_EMPHASISMARK(), EE_CHAR_ESCAPEMENT(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTINFO(), EE_CHAR_ITALIC(), EE_CHAR_KERNING(), EE_CHAR_LANGUAGE(), EE_CHAR_OUTLINE(), EE_CHAR_OVERLINE(), EE_CHAR_PAIRKERNING(), EE_CHAR_RELIEF(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_CHAR_WLM(), SfxItemSet::Get(), SvxFontItem::GetCharSet(), SvxEscapementItem::GetEsc(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), vcl::Font::GetFontSize(), SvxFontHeightItem::GetHeight(), SfxItemSet::GetItemState(), SvxLanguageItem::GetLanguage(), SvxFontItem::GetPitch(), SvxPostureItem::GetPosture(), SvxEscapementItem::GetProportionalHeight(), GetScriptItemId(), SvxWeightItem::GetWeight(), rSet, vcl::Font::SetAlignment(), SvxFont::SetCaseMap(), vcl::Font::SetCharSet(), vcl::Font::SetColor(), vcl::Font::SetEmphasisMark(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), vcl::Font::SetFillColor(), vcl::Font::SetFixKerning(), vcl::Font::SetFontSize(), vcl::Font::SetItalic(), vcl::Font::SetKerning(), vcl::Font::SetLanguage(), SvxFont::SetNonAutoEscapement(), vcl::Font::SetOutline(), vcl::Font::SetOverline(), vcl::Font::SetPitch(), SvxFont::SetPropr(), vcl::Font::SetRelief(), vcl::Font::SetShadow(), vcl::Font::SetStrikeout(), vcl::Font::SetTransparent(), vcl::Font::SetUnderline(), vcl::Font::SetWeight(), vcl::Font::SetWordLineMode(), and Size::Width().

Referenced by ContentNode::CreateDefFont(), EditDoc::CreateDefFont(), EditEngine::CreateFontFromItemSet(), EditEngine::CreateSvxFontFromItemSet(), ContentNode::SetStyleSheet(), and ImpEditEngine::UpdateParagraphsWithStyleSheet().

◆ GetScriptItemId()

sal_uInt16 GetScriptItemId ( sal_uInt16  nItemId,
SvtScriptType  nScriptType 
)

◆ IsScriptItemValid()

bool IsScriptItemValid ( sal_uInt16  nItemId,
short  nScriptType 
)

◆ MakeCharAttrib()

EditCharAttrib * MakeCharAttrib ( SfxItemPool rPool,
const SfxPoolItem rAttr,
sal_Int32  nS,
sal_Int32  nE 
)

◆ operator!=()

bool operator!= ( const EditPaM r1,
const EditPaM r2 
)

Definition at line 1194 of file editdoc.cxx.

◆ operator==() [1/2]

bool operator== ( const EditLine r1,
const EditLine r2 
)

Definition at line 978 of file editdoc.cxx.

Referenced by OutlinerParaObject::operator!=(), and SvxTabStop::operator!=().

◆ operator==() [2/2]

bool operator== ( const EditPaM r1,
const EditPaM r2 
)

Definition at line 1188 of file editdoc.cxx.

Variable Documentation

◆ aItemInfos

const SfxItemInfo aItemInfos[EDITITEMCOUNT]

Definition at line 159 of file editdoc.cxx.