LibreOffice Module editeng (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
editdoc.hxx File Reference
#include "editattr.hxx"
#include "edtspell.hxx"
#include "eerdll2.hxx"
#include <editeng/svxfont.hxx>
#include <svl/itemset.hxx>
#include <svl/style.hxx>
#include <svl/itempool.hxx>
#include <svl/languageoptions.hxx>
#include <tools/lineend.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <cstddef>
#include <memory>
#include <string_view>
#include <vector>
Include dependency graph for editdoc.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EPaM
 
struct  ScriptTypePosInfo
 
struct  WritingDirectionInfo
 
class  ContentAttribsInfo
 
class  ItemList
 
class  ContentAttribs
 
class  CharAttribList
 
class  ContentNode
 
class  EditPaM
 
struct  o3tl::typed_flags< AsianCompressionFlags >
 
struct  ExtraPortionInfo
 
class  TextPortion
 
class  TextPortionList
 
class  EditLine
 
class  EditLineList
 
class  ParaPortion
 
class  ParaPortionList
 
class  EditSelection
 
class  DeletedNodeInfo
 
class  EditDoc
 
class  EditEngineItemPool
 

Namespaces

namespace  o3tl
 

Macros

#define CHARPOSGROW   16
 
#define DEFTAB   720
 

Typedefs

typedef std::vector< ScriptTypePosInfoScriptTypePosInfos
 
typedef std::vector< WritingDirectionInfoWritingDirectionInfos
 
typedef std::vector< ColorSvxColorList
 

Enumerations

enum class  PortionKind {
  TEXT = 0 ,
  TAB = 1 ,
  LINEBREAK = 2 ,
  FIELD = 3 ,
  HYPHENATOR = 4
}
 
enum class  DeleteMode {
  Simple ,
  RestOfWord ,
  RestOfContent
}
 
enum class  AsianCompressionFlags {
  Normal = 0x00 ,
  Kana = 0x01 ,
  PunctuationLeft = 0x02 ,
  PunctuationRight = 0x04
}
 

Functions

void CreateFont (SvxFont &rFont, const SfxItemSet &rSet, bool bSearchInParent=true, SvtScriptType nScriptType=SvtScriptType::NONE)
 
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)
 
EditCharAttribGetAttrib (CharAttribList::AttribsType &rAttribs, std::size_t nAttr)
 
void CheckOrderedList (const CharAttribList::AttribsType &rAttribs)
 

Macro Definition Documentation

◆ CHARPOSGROW

#define CHARPOSGROW   16

Definition at line 43 of file editdoc.hxx.

◆ DEFTAB

#define DEFTAB   720

Definition at line 44 of file editdoc.hxx.

Typedef Documentation

◆ ScriptTypePosInfos

typedef std::vector<ScriptTypePosInfo> ScriptTypePosInfos

Definition at line 92 of file editdoc.hxx.

◆ SvxColorList

typedef std::vector<Color> SvxColorList

Definition at line 131 of file editdoc.hxx.

◆ WritingDirectionInfos

Definition at line 109 of file editdoc.hxx.

Enumeration Type Documentation

◆ AsianCompressionFlags

enum class AsianCompressionFlags
strong
Enumerator
Normal 
Kana 
PunctuationLeft 
PunctuationRight 

Definition at line 339 of file editdoc.hxx.

◆ DeleteMode

enum class DeleteMode
strong
Enumerator
Simple 
RestOfWord 
RestOfContent 

Definition at line 335 of file editdoc.hxx.

◆ PortionKind

enum class PortionKind
strong
Enumerator
TEXT 
TAB 
LINEBREAK 
FIELD 
HYPHENATOR 

Definition at line 326 of file editdoc.hxx.

Function Documentation

◆ CheckOrderedList()

void CheckOrderedList ( const CharAttribList::AttribsType rAttribs)

Definition at line 519 of file editdbg.cxx.

Referenced by CharAttribList::DbgCheckAttribs().

◆ CreateFont()

void CreateFont ( SvxFont rFont,
const SfxItemSet rSet,
bool  bSearchInParent = true,
SvtScriptType  nScriptType = SvtScriptType::NONE 
)

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().

◆ GetAttrib()

EditCharAttrib * GetAttrib ( CharAttribList::AttribsType rAttribs,
std::size_t  nAttr 
)
inline

◆ 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 
)