LibreOffice Module editeng (master) 1
|
#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>
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< ScriptTypePosInfo > | ScriptTypePosInfos |
typedef std::vector< WritingDirectionInfo > | WritingDirectionInfos |
typedef std::vector< Color > | SvxColorList |
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) |
EditCharAttrib * | MakeCharAttrib (SfxItemPool &rPool, const SfxPoolItem &rAttr, sal_Int32 nS, sal_Int32 nE) |
EditCharAttrib * | GetAttrib (CharAttribList::AttribsType &rAttribs, std::size_t nAttr) |
void | CheckOrderedList (const CharAttribList::AttribsType &rAttribs) |
#define CHARPOSGROW 16 |
Definition at line 43 of file editdoc.hxx.
#define DEFTAB 720 |
Definition at line 44 of file editdoc.hxx.
typedef std::vector<ScriptTypePosInfo> ScriptTypePosInfos |
Definition at line 92 of file editdoc.hxx.
typedef std::vector<Color> SvxColorList |
Definition at line 131 of file editdoc.hxx.
typedef std::vector<WritingDirectionInfo> WritingDirectionInfos |
Definition at line 109 of file editdoc.hxx.
|
strong |
Enumerator | |
---|---|
Normal | |
Kana | |
PunctuationLeft | |
PunctuationRight |
Definition at line 339 of file editdoc.hxx.
|
strong |
Enumerator | |
---|---|
Simple | |
RestOfWord | |
RestOfContent |
Definition at line 335 of file editdoc.hxx.
|
strong |
Enumerator | |
---|---|
TEXT | |
TAB | |
LINEBREAK | |
FIELD | |
HYPHENATOR |
Definition at line 326 of file editdoc.hxx.
void CheckOrderedList | ( | const CharAttribList::AttribsType & | rAttribs | ) |
Definition at line 519 of file editdbg.cxx.
Referenced by CharAttribList::DbgCheckAttribs().
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().
|
inline |
Definition at line 839 of file editdoc.hxx.
Referenced by ContentNode::AppendAttribs(), ContentNode::CollapseAttribs(), ContentNode::CopyAndCutAttribs(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTextPortions(), ContentNode::ExpandAttribs(), EditDoc::FindAttribs(), lcl_FindValidAttribs(), EditDoc::RemoveAttribs(), and ImpEditEngine::SeekCursor().
sal_uInt16 GetScriptItemId | ( | sal_uInt16 | nItemId, |
SvtScriptType | nScriptType | ||
) |
Definition at line 73 of file editdoc.cxx.
References EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), and nId.
Referenced by CreateFont(), ImpEditEngine::GetLanguage(), ImpEditEngine::SeekCursor(), and ImpEditEngine::WriteRTF().
bool IsScriptItemValid | ( | sal_uInt16 | nItemId, |
short | nScriptType | ||
) |
Definition at line 103 of file editdoc.cxx.
References EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), and EE_CHAR_WEIGHT_CTL().
Referenced by lcl_FindValidAttribs(), and ImpEditEngine::SeekCursor().
EditCharAttrib * MakeCharAttrib | ( | SfxItemPool & | rPool, |
const SfxPoolItem & | rAttr, | ||
sal_Int32 | nS, | ||
sal_Int32 | nE | ||
) |
Definition at line 219 of file editdoc.cxx.
References EE_CHAR_BKGCOLOR(), EE_CHAR_CASEMAP(), EE_CHAR_COLOR(), EE_CHAR_EMPHASISMARK(), EE_CHAR_ESCAPEMENT(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_FONTWIDTH(), EE_CHAR_GRABBAG(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_KERNING(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), 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_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), EE_CHAR_WLM(), EE_CHAR_XMLATTRIBS(), EE_FEATURE_FIELD(), EE_FEATURE_LINEBR(), EE_FEATURE_TAB(), SfxItemPool::Put(), and SfxPoolItem::Which().
Referenced by ContentNode::CopyAndCutAttribs(), EditDoc::InsertAttrib(), EditDoc::InsertFeature(), and ImpEditEngine::InsertTextObject().