21#ifndef INCLUDED_EDITENG_EDITDATA_HXX
22#define INCLUDED_EDITENG_EDITDATA_HXX
24#include <rtl/ustring.hxx>
48#define EE_PARA_NOT_FOUND SAL_MAX_INT32
49#define EE_PARA_APPEND SAL_MAX_INT32
50#define EE_PARA_ALL SAL_MAX_INT32
51#define EE_PARA_MAX_COUNT SAL_MAX_INT32
53#define EE_INDEX_NOT_FOUND SAL_MAX_INT32
54#define EE_TEXTPOS_ALL SAL_MAX_INT32
55#define EE_TEXTPOS_MAX_COUNT SAL_MAX_INT32
60#define EE_READWRITE_WRONGFORMAT ErrCode(ErrCodeArea::Svx, 1)
62#define EDITUNDO_REMOVECHARS 100
63#define EDITUNDO_CONNECTPARAS 101
64#define EDITUNDO_MOVEPARAGRAPHS 103
65#define EDITUNDO_INSERTFEATURE 104
66#define EDITUNDO_SPLITPARA 105
67#define EDITUNDO_INSERTCHARS 106
68#define EDITUNDO_DELCONTENT 107
69#define EDITUNDO_DELETE 108
70#define EDITUNDO_CUT 109
71#define EDITUNDO_PASTE 110
72#define EDITUNDO_INSERT 111
73#define EDITUNDO_MOVEPARAS 113
74#define EDITUNDO_PARAATTRIBS 114
75#define EDITUNDO_ATTRIBS 115
76#define EDITUNDO_DRAGANDDROP 116
77#define EDITUNDO_READ 117
78#define EDITUNDO_STYLESHEET 118
79#define EDITUNDO_REPLACEALL 119
80#define EDITUNDO_RESETATTRIBS 121
81#define EDITUNDO_INDENTBLOCK 122
82#define EDITUNDO_UNINDENTBLOCK 123
83#define EDITUNDO_MARKSELECTION 124
84#define EDITUNDO_TRANSLITERATE 125
86#define EDITUNDO_USER 200
104template<
typename charT,
typename traits>
105inline std::basic_ostream<charT, traits> &
operator <<(
106 std::basic_ostream<charT, traits> & stream,
EPosition const& pos)
108 return stream <<
"EPosition(" <<
pos.nPara <<
',' <<
pos.nIndex <<
")";
121 sal_Int32 nEPara, sal_Int32 nEPos )
144template<
typename charT,
typename traits>
145inline std::basic_ostream<charT, traits> &
operator <<(
146 std::basic_ostream<charT, traits> & stream,
ESelection const& sel)
This item stores a field (SvxFieldData).
Reference< XOutputStream > stream
#define EE_PARA_NOT_FOUND
@ EE_NOTIFY_PARAGRAPHSMOVED
Multiple paragraphs have been removed from the EditEngine.
@ EE_NOTIFY_TEXTVIEWSCROLLED
The view area of the EditEngine scrolled.
@ EE_NOTIFY_PARAGRAPHREMOVED
A paragraph was removed from the EditEngine.
@ EE_NOTIFY_TEXTVIEWSELECTIONCHANGED
The selection and/or the cursor position has changed.
@ EE_NOTIFY_PARAGRAPHINSERTED
A paragraph was inserted into the EditEngine.
@ EE_NOTIFY_PROCESSNOTIFICATIONS
The EditEngine is in a valid state again. Process pending notifications.
@ EE_NOTIFY_TEXTVIEWSELECTIONCHANGED_ENDD_PARA
@ EE_NOTIFY_TextHeightChanged
The height of at least one paragraph has changed.
@ EE_NOTIFY_TEXTMODIFIED
EditEngine text was modified.
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &stream, EPosition const &pos)
EDITENG_DLLPUBLIC const size_t EE_APPEND
#define EE_INDEX_NOT_FOUND
EEHorizontalTextDirection
#define EDITENG_DLLPUBLIC
#define LANGUAGE_DONTKNOW
const SfxPoolItem * pAttr
EECharAttrib(sal_Int32 nSt, sal_Int32 nE, const SfxPoolItem *pA=nullptr)
EENotifyType eNotificationType
EENotify(EENotifyType eType)
std::unique_ptr< SvxFieldItem > pFieldItem
EPosition(sal_Int32 nPara_, sal_Int32 nPos_)
ESelection(sal_Int32 nPara, sal_Int32 nPos)
bool operator!=(const ESelection &rS) const
bool operator==(const ESelection &rS) const
ESelection(sal_Int32 nStPara, sal_Int32 nStPos, sal_Int32 nEPara, sal_Int32 nEPos)
bool operator<(const ESelection &rS) const
bool operator>(const ESelection &rS) const
SvParser< HtmlTokenId > * pParser
HtmlImportInfo(HtmlImportState eState, SvParser< HtmlTokenId > *pPrsrs, const ESelection &rSel)
MoveParagraphsInfo(sal_Int32 nS, sal_Int32 nE, sal_Int32 nD)
sal_uInt16 nFirstLineTextHeight
sal_uInt16 nFirstLineMaxAscent
sal_uInt16 nFirstLineHeight
SvParser< int > * pParser
RtfImportInfo(RtfImportState eState, SvParser< int > *pPrsrs, const ESelection &rSel)