LibreOffice Module editeng (master) 1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
editdata.hxx File Reference
#include <rtl/ustring.hxx>
#include <editeng/editengdllapi.h>
#include <i18nlangtag/lang.h>
#include <memory>
#include <ostream>
Include dependency graph for editdata.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EPosition
 
struct  ESelection
 
struct  EFieldInfo
 
struct  HtmlImportInfo
 
struct  RtfImportInfo
 
struct  ParagraphInfos
 
struct  EECharAttrib
 
struct  MoveParagraphsInfo
 
struct  PasteOrDropInfos
 
struct  EENotify
 
struct  editeng::LanguageSpan
 

Namespaces

namespace  editeng
 

Macros

#define EE_PARA_NOT_FOUND   SAL_MAX_INT32
 
#define EE_PARA_APPEND   SAL_MAX_INT32
 
#define EE_PARA_ALL   SAL_MAX_INT32
 
#define EE_PARA_MAX_COUNT   SAL_MAX_INT32
 
#define EE_INDEX_NOT_FOUND   SAL_MAX_INT32
 
#define EE_TEXTPOS_ALL   SAL_MAX_INT32
 
#define EE_TEXTPOS_MAX_COUNT   SAL_MAX_INT32
 
#define EE_READWRITE_WRONGFORMAT   ErrCode(ErrCodeArea::Svx, 1)
 
#define EDITUNDO_REMOVECHARS   100
 
#define EDITUNDO_CONNECTPARAS   101
 
#define EDITUNDO_MOVEPARAGRAPHS   103
 
#define EDITUNDO_INSERTFEATURE   104
 
#define EDITUNDO_SPLITPARA   105
 
#define EDITUNDO_INSERTCHARS   106
 
#define EDITUNDO_DELCONTENT   107
 
#define EDITUNDO_DELETE   108
 
#define EDITUNDO_CUT   109
 
#define EDITUNDO_PASTE   110
 
#define EDITUNDO_INSERT   111
 
#define EDITUNDO_MOVEPARAS   113
 
#define EDITUNDO_PARAATTRIBS   114
 
#define EDITUNDO_ATTRIBS   115
 
#define EDITUNDO_DRAGANDDROP   116
 
#define EDITUNDO_READ   117
 
#define EDITUNDO_STYLESHEET   118
 
#define EDITUNDO_REPLACEALL   119
 
#define EDITUNDO_RESETATTRIBS   121
 
#define EDITUNDO_INDENTBLOCK   122
 
#define EDITUNDO_UNINDENTBLOCK   123
 
#define EDITUNDO_MARKSELECTION   124
 
#define EDITUNDO_TRANSLITERATE   125
 
#define EDITUNDO_USER   200
 

Enumerations

enum class  EETextFormat {
  Text = 0x20 ,
  Rtf ,
  Html = 0x32 ,
  Xml
}
 
enum class  EEHorizontalTextDirection {
  Default ,
  L2R ,
  R2L
}
 
enum class  EESelectionMode {
  Std ,
  Hidden
}
 
enum class  EESpellState {
  Ok ,
  NoSpeller ,
  ErrorFound
}
 
enum class  EEAnchorMode {
  TopLeft ,
  TopHCenter ,
  TopRight ,
  VCenterLeft ,
  VCenterHCenter ,
  VCenterRight ,
  BottomLeft ,
  BottomHCenter ,
  BottomRight
}
 
enum class  EERemoveParaAttribsMode {
  RemoveAll ,
  RemoveCharItems ,
  RemoveNone
}
 
enum class  RtfImportState {
  Start ,
  End ,
  NextToken ,
  UnknownAttr ,
  SetAttr ,
  InsertText ,
  InsertPara
}
 
enum class  HtmlImportState {
  Start ,
  End ,
  NextToken ,
  SetAttr ,
  InsertText ,
  InsertPara ,
  InsertField
}
 
enum  EENotifyType {
  EE_NOTIFY_TEXTMODIFIED ,
  EE_NOTIFY_PARAGRAPHINSERTED ,
  EE_NOTIFY_PARAGRAPHREMOVED ,
  EE_NOTIFY_PARAGRAPHSMOVED ,
  EE_NOTIFY_TextHeightChanged ,
  EE_NOTIFY_TEXTVIEWSCROLLED ,
  EE_NOTIFY_TEXTVIEWSELECTIONCHANGED ,
  EE_NOTIFY_PROCESSNOTIFICATIONS ,
  EE_NOTIFY_TEXTVIEWSELECTIONCHANGED_ENDD_PARA
}
 

Functions

template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &stream, EPosition const &pos)
 
template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &stream, ESelection const &sel)
 

Variables

EDITENG_DLLPUBLIC const size_t EE_APPEND
 

Macro Definition Documentation

◆ EDITUNDO_ATTRIBS

#define EDITUNDO_ATTRIBS   115

Definition at line 75 of file editdata.hxx.

◆ EDITUNDO_CONNECTPARAS

#define EDITUNDO_CONNECTPARAS   101

Definition at line 63 of file editdata.hxx.

◆ EDITUNDO_CUT

#define EDITUNDO_CUT   109

Definition at line 70 of file editdata.hxx.

◆ EDITUNDO_DELCONTENT

#define EDITUNDO_DELCONTENT   107

Definition at line 68 of file editdata.hxx.

◆ EDITUNDO_DELETE

#define EDITUNDO_DELETE   108

Definition at line 69 of file editdata.hxx.

◆ EDITUNDO_DRAGANDDROP

#define EDITUNDO_DRAGANDDROP   116

Definition at line 76 of file editdata.hxx.

◆ EDITUNDO_INDENTBLOCK

#define EDITUNDO_INDENTBLOCK   122

Definition at line 81 of file editdata.hxx.

◆ EDITUNDO_INSERT

#define EDITUNDO_INSERT   111

Definition at line 72 of file editdata.hxx.

◆ EDITUNDO_INSERTCHARS

#define EDITUNDO_INSERTCHARS   106

Definition at line 67 of file editdata.hxx.

◆ EDITUNDO_INSERTFEATURE

#define EDITUNDO_INSERTFEATURE   104

Definition at line 65 of file editdata.hxx.

◆ EDITUNDO_MARKSELECTION

#define EDITUNDO_MARKSELECTION   124

Definition at line 83 of file editdata.hxx.

◆ EDITUNDO_MOVEPARAGRAPHS

#define EDITUNDO_MOVEPARAGRAPHS   103

Definition at line 64 of file editdata.hxx.

◆ EDITUNDO_MOVEPARAS

#define EDITUNDO_MOVEPARAS   113

Definition at line 73 of file editdata.hxx.

◆ EDITUNDO_PARAATTRIBS

#define EDITUNDO_PARAATTRIBS   114

Definition at line 74 of file editdata.hxx.

◆ EDITUNDO_PASTE

#define EDITUNDO_PASTE   110

Definition at line 71 of file editdata.hxx.

◆ EDITUNDO_READ

#define EDITUNDO_READ   117

Definition at line 77 of file editdata.hxx.

◆ EDITUNDO_REMOVECHARS

#define EDITUNDO_REMOVECHARS   100

Definition at line 62 of file editdata.hxx.

◆ EDITUNDO_REPLACEALL

#define EDITUNDO_REPLACEALL   119

Definition at line 79 of file editdata.hxx.

◆ EDITUNDO_RESETATTRIBS

#define EDITUNDO_RESETATTRIBS   121

Definition at line 80 of file editdata.hxx.

◆ EDITUNDO_SPLITPARA

#define EDITUNDO_SPLITPARA   105

Definition at line 66 of file editdata.hxx.

◆ EDITUNDO_STYLESHEET

#define EDITUNDO_STYLESHEET   118

Definition at line 78 of file editdata.hxx.

◆ EDITUNDO_TRANSLITERATE

#define EDITUNDO_TRANSLITERATE   125

Definition at line 84 of file editdata.hxx.

◆ EDITUNDO_UNINDENTBLOCK

#define EDITUNDO_UNINDENTBLOCK   123

Definition at line 82 of file editdata.hxx.

◆ EDITUNDO_USER

#define EDITUNDO_USER   200

Definition at line 86 of file editdata.hxx.

◆ EE_INDEX_NOT_FOUND

#define EE_INDEX_NOT_FOUND   SAL_MAX_INT32

Definition at line 53 of file editdata.hxx.

◆ EE_PARA_ALL

#define EE_PARA_ALL   SAL_MAX_INT32

Definition at line 50 of file editdata.hxx.

◆ EE_PARA_APPEND

#define EE_PARA_APPEND   SAL_MAX_INT32

Definition at line 49 of file editdata.hxx.

◆ EE_PARA_MAX_COUNT

#define EE_PARA_MAX_COUNT   SAL_MAX_INT32

Definition at line 51 of file editdata.hxx.

◆ EE_PARA_NOT_FOUND

#define EE_PARA_NOT_FOUND   SAL_MAX_INT32

Definition at line 48 of file editdata.hxx.

◆ EE_READWRITE_WRONGFORMAT

#define EE_READWRITE_WRONGFORMAT   ErrCode(ErrCodeArea::Svx, 1)

Definition at line 60 of file editdata.hxx.

◆ EE_TEXTPOS_ALL

#define EE_TEXTPOS_ALL   SAL_MAX_INT32

Definition at line 54 of file editdata.hxx.

◆ EE_TEXTPOS_MAX_COUNT

#define EE_TEXTPOS_MAX_COUNT   SAL_MAX_INT32

Definition at line 55 of file editdata.hxx.

Enumeration Type Documentation

◆ EEAnchorMode

enum class EEAnchorMode
strong
Enumerator
TopLeft 
TopHCenter 
TopRight 
VCenterLeft 
VCenterHCenter 
VCenterRight 
BottomLeft 
BottomHCenter 
BottomRight 

Definition at line 41 of file editdata.hxx.

◆ EEHorizontalTextDirection

enum class EEHorizontalTextDirection
strong
Enumerator
Default 
L2R 
R2L 

Definition at line 36 of file editdata.hxx.

◆ EENotifyType

Enumerator
EE_NOTIFY_TEXTMODIFIED 

EditEngine text was modified.

EE_NOTIFY_PARAGRAPHINSERTED 

A paragraph was inserted into the EditEngine.

EE_NOTIFY_PARAGRAPHREMOVED 

A paragraph was removed from the EditEngine.

EE_NOTIFY_PARAGRAPHSMOVED 

Multiple paragraphs have been removed from the EditEngine.

EE_NOTIFY_TextHeightChanged 

The height of at least one paragraph has changed.

EE_NOTIFY_TEXTVIEWSCROLLED 

The view area of the EditEngine scrolled.

EE_NOTIFY_TEXTVIEWSELECTIONCHANGED 

The selection and/or the cursor position has changed.

EE_NOTIFY_PROCESSNOTIFICATIONS 

The EditEngine is in a valid state again. Process pending notifications.

EE_NOTIFY_TEXTVIEWSELECTIONCHANGED_ENDD_PARA 

Definition at line 303 of file editdata.hxx.

◆ EERemoveParaAttribsMode

enum class EERemoveParaAttribsMode
strong
Enumerator
RemoveAll 
RemoveCharItems 
RemoveNone 

Definition at line 46 of file editdata.hxx.

◆ EESelectionMode

enum class EESelectionMode
strong
Enumerator
Std 
Hidden 

Definition at line 37 of file editdata.hxx.

◆ EESpellState

enum class EESpellState
strong
Enumerator
Ok 
NoSpeller 
ErrorFound 

Definition at line 40 of file editdata.hxx.

◆ EETextFormat

enum class EETextFormat
strong
Enumerator
Text 
Rtf 
Html 
Xml 

Definition at line 35 of file editdata.hxx.

◆ HtmlImportState

enum class HtmlImportState
strong
Enumerator
Start 
End 
NextToken 
SetAttr 
InsertText 
InsertPara 
InsertField 

Definition at line 221 of file editdata.hxx.

◆ RtfImportState

enum class RtfImportState
strong
Enumerator
Start 
End 
NextToken 
UnknownAttr 
SetAttr 
InsertText 
InsertPara 

Definition at line 214 of file editdata.hxx.

Function Documentation

◆ operator<<() [1/2]

template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< ( std::basic_ostream< charT, traits > &  stream,
EPosition const &  pos 
)
inline

Definition at line 57 of file editdata.hxx.

◆ operator<<() [2/2]

template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< ( std::basic_ostream< charT, traits > &  stream,
ESelection const &  sel 
)
inline

Definition at line 57 of file editdata.hxx.

Variable Documentation

◆ EE_APPEND

EDITENG_DLLPUBLIC const size_t EE_APPEND
extern

Definition at line 14 of file editdata.cxx.