|
LibreOffice Module editeng (master) 1
|
#include <eerdll2.hxx>#include <editdoc.hxx>#include "editsel.hxx"#include "editundo.hxx"#include "editstt2.hxx"#include <editeng/editdata.hxx>#include <editeng/SpellPortions.hxx>#include <editeng/editeng.hxx>#include <editeng/editview.hxx>#include <svtools/colorcfg.hxx>#include <editeng/outliner.hxx>#include <vcl/virdev.hxx>#include <vcl/cursor.hxx>#include <vcl/vclptr.hxx>#include <tools/fract.hxx>#include <vcl/idle.hxx>#include <vcl/commandevent.hxx>#include <vcl/ptrstyle.hxx>#include <vcl/dndhelp.hxx>#include <svl/ondemand.hxx>#include <svl/languageoptions.hxx>#include <com/sun/star/linguistic2/XSpellAlternatives.hpp>#include <com/sun/star/linguistic2/XSpellChecker1.hpp>#include <com/sun/star/linguistic2/XHyphenator.hpp>#include <com/sun/star/lang/Locale.hpp>#include <com/sun/star/i18n/XBreakIterator.hpp>#include <com/sun/star/i18n/CharacterIteratorMode.hpp>#include <com/sun/star/i18n/WordType.hpp>#include <com/sun/star/i18n/XExtendedInputSequenceChecker.hpp>#include <com/sun/star/uno/Sequence.hxx>#include <i18nlangtag/lang.h>#include <o3tl/deleter.hxx>#include <o3tl/typed_flags_set.hxx>#include <functional>#include <optional>#include <memory>#include <tuple>#include <string_view>#include <vector>Go to the source code of this file.
Classes | |
| struct | o3tl::typed_flags< GetCursorFlags > |
| struct | DragAndDropInfo |
| struct | ImplIMEInfos |
| struct | SpellInfo |
| struct | ConvInfo |
| struct | FormatterFontMetric |
| class | IdleFormattter |
| class | LOKSpecialPositioning |
| This is meant just for Calc, where all positions in logical units (twips for LOK) are computed by doing independent pixel-alignment for each cell's size. More... | |
| class | ImpEditView |
| class | ImpEditEngine |
| struct | ImpEditEngine::LineAreaInfo |
Namespaces | |
| namespace | vcl |
| namespace | com |
| namespace | com::sun |
| namespace | com::sun::star |
| namespace | com::sun::star::datatransfer |
| namespace | com::sun::star::datatransfer::clipboard |
| namespace | editeng |
| namespace | o3tl |
Macros | |
| #define | DEL_LEFT 1 |
| #define | DEL_RIGHT 2 |
| #define | TRAVEL_X_DONTKNOW 0xFFFFFFFF |
| #define | CURSOR_BIDILEVEL_DONTKNOW 0xFFFF |
| #define | MAXCHARSINPARA 0x3FFF-CHARPOSGROW |
| #define | LINE_SEP '\x0A' |
| #define | ATTRSPECIAL_WHOLEWORD 1 |
| #define | ATTRSPECIAL_EDGE 2 |
Typedefs | |
| typedef std::vector< EditSelection > | SpellContentSelections |
Enumerations | |
| enum class | GetCursorFlags { NONE = 0x0000 , TextOnly = 0x0001 , StartOfLine = 0x0002 , EndOfLine = 0x0004 , PreferPortionStart = 0x0008 } |
Functions | |
| void | ConvertItem (std::unique_ptr< SfxPoolItem > &rPoolItem, MapUnit eSourceUnit, MapUnit eDestUnit) |
| void | ConvertAndPutItems (SfxItemSet &rDest, const SfxItemSet &rSource, const MapUnit *pSourceUnit=nullptr, const MapUnit *pDestUnit=nullptr) |
| AsianCompressionFlags | GetCharTypeForCompression (sal_Unicode cChar) |
| #define ATTRSPECIAL_EDGE 2 |
Definition at line 91 of file impedit.hxx.
| #define ATTRSPECIAL_WHOLEWORD 1 |
Definition at line 90 of file impedit.hxx.
| #define CURSOR_BIDILEVEL_DONTKNOW 0xFFFF |
Definition at line 86 of file impedit.hxx.
| #define DEL_LEFT 1 |
Definition at line 83 of file impedit.hxx.
| #define DEL_RIGHT 2 |
Definition at line 84 of file impedit.hxx.
| #define LINE_SEP '\x0A' |
Definition at line 88 of file impedit.hxx.
| #define MAXCHARSINPARA 0x3FFF-CHARPOSGROW |
Definition at line 87 of file impedit.hxx.
| #define TRAVEL_X_DONTKNOW 0xFFFFFFFF |
Definition at line 85 of file impedit.hxx.
| typedef std::vector<EditSelection> SpellContentSelections |
Definition at line 154 of file impedit.hxx.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| TextOnly | |
| StartOfLine | |
| EndOfLine | |
| PreferPortionStart | |
Definition at line 93 of file impedit.hxx.
| void ConvertAndPutItems | ( | SfxItemSet & | rDest, |
| const SfxItemSet & | rSource, | ||
| const MapUnit * | pSourceUnit = nullptr, |
||
| const MapUnit * | pDestUnit = nullptr |
||
| ) |
Definition at line 888 of file editdoc.cxx.
References SfxPoolItem::Clone(), SfxPoolItem::CloneSetWhich(), ConvertItem(), EE_CHAR_END(), EE_PARA_START(), SfxItemSet::Get(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxItemPool::GetTrueSlotId(), SfxItemPool::GetTrueWhich(), and SfxItemSet::Put().
Referenced by EditRTFParser::CreateStyleSheet(), and ImpEditEngine::InsertTextObject().
| void ConvertItem | ( | std::unique_ptr< SfxPoolItem > & | rPoolItem, |
| MapUnit | eSourceUnit, | ||
| MapUnit | eDestUnit | ||
| ) |
Definition at line 823 of file editdoc.cxx.
References SvxTabStopItem::Count(), DBG_ASSERT, EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_PARA_LRSPACE(), EE_PARA_SBL(), EE_PARA_TABS(), EE_PARA_ULSPACE(), SvxTabStop::GetAdjustment(), SvxTabStop::GetDecimal(), SvxTabStopItem::GetDefaultDistance(), SvxTabStop::GetFill(), SvxFontHeightItem::GetHeight(), SvxLineSpacingItem::GetLineHeight(), SvxLineSpacingItem::GetLineSpaceRule(), SvxULSpaceItem::GetLower(), SvxLRSpaceItem::GetRight(), SvxTabStop::GetTabPos(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), SvxULSpaceItem::GetUpper(), i, SvxTabStopItem::Insert(), OutputDevice::LogicToLogic(), Min, SvxTabStopItem::SetDefaultDistance(), SvxFontHeightItem::SetHeight(), SvxLineSpacingItem::SetLineHeight(), SvxULSpaceItem::SetLower(), SvxLRSpaceItem::SetRight(), SvxLRSpaceItem::SetTextFirstLineOffset(), SvxLRSpaceItem::SetTextLeft(), and SvxULSpaceItem::SetUpper().
Referenced by ConvertAndPutItems(), and ImpEditEngine::InsertTextObject().
| AsianCompressionFlags GetCharTypeForCompression | ( | sal_Unicode | cChar | ) |
Definition at line 117 of file impedit3.cxx.
References Kana, Normal, PunctuationLeft, and PunctuationRight.
Referenced by ImpEditEngine::ImplCalcAsianCompression().