Lines Matching refs:virtual

66         virtual ~IFX_Edit_FontMap() { }  in ~IFX_Edit_FontMap()
68 virtual CPDF_Font * GetPDFFont(FX_INT32 nFontIndex) = 0;
70 virtual CFX_ByteString GetPDFFontAlias(FX_INT32 nFontIndex) = 0;
72 virtual FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex) = 0;
74 virtual FX_INT32 CharCodeFromUnicode(FX_INT32 nFontIndex, FX_WORD word) = 0;
76 virtual FX_INT32 CharSetFromUnicode(FX_WORD word, FX_INT32 nOldCharset) = 0;
82 virtual ~IFX_Edit_Notify() { } in ~IFX_Edit_Notify()
84 virtual void IOnSetScrollInfoX(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
88 virtual void IOnSetScrollInfoY(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
92 virtual void IOnSetScrollPosX(FX_FLOAT fx) = 0;
94 virtual void IOnSetScrollPosY(FX_FLOAT fy) = 0;
96virtual void IOnSetCaret(FX_BOOL bVisible,const CPDF_Point & ptHead,const CPDF_Point & ptFoo…
98virtual void IOnCaretChange(const CPVT_SecProps & secProps, const CPVT_WordProps & wordProps…
100 virtual void IOnContentChange(const CPDF_Rect& rcContent) = 0;
102 virtual void IOnInvalidateRect(CPDF_Rect * pRect) = 0;
108 virtual ~IFX_Edit_OprNotify() { } in ~IFX_Edit_OprNotify()
111 virtual void OnInsertWord(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
113 virtual void OnInsertReturn(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
115 virtual void OnBackSpace(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
117 virtual void OnDelete(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
119 virtual void OnClear(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
121 virtual void OnInsertText(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
123 virtual void OnSetText(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace) = 0;
125 virtual void OnAddUndo(IFX_Edit_UndoItem* pUndoItem) = 0;
131 virtual ~IFX_Edit_Iterator() {} in ~IFX_Edit_Iterator()
134 virtual FX_BOOL NextWord() = 0;
136 virtual FX_BOOL NextLine() = 0;
138 virtual FX_BOOL NextSection() = 0;
141 virtual FX_BOOL PrevWord() = 0;
143 virtual FX_BOOL PrevLine() = 0;
145 virtual FX_BOOL PrevSection() = 0;
148 virtual FX_BOOL GetWord(CPVT_Word & word) const = 0;
150 virtual FX_BOOL GetLine(CPVT_Line & line) const = 0;
152 virtual FX_BOOL GetSection(CPVT_Section & section) const = 0;
154 virtual void SetAt(FX_INT32 nWordIndex) = 0;
156 virtual void SetAt(const CPVT_WordPlace & place) = 0;
158 virtual const CPVT_WordPlace & GetAt() const = 0;
161 virtual IFX_Edit* GetEdit() const = 0;
167 virtual ~IFX_Edit_UndoItem() { } in ~IFX_Edit_UndoItem()
169 virtual void Undo() = 0;
170 virtual void Redo() = 0;
171 virtual CFX_WideString GetUndoTitle() = 0;
181 virtual void SetFontMap(IFX_Edit_FontMap* pFontMap) = 0;
183 virtual void SetVTProvider(IPDF_VariableText_Provider* pProvider) = 0;
185 virtual void SetNotify(IFX_Edit_Notify * pNotify) = 0;
186 virtual void SetOprNotify(IFX_Edit_OprNotify* pOprNotify) = 0;
188 virtual IFX_Edit_Iterator* GetIterator() = 0;
190 virtual IPDF_VariableText* GetVariableText() = 0;
192 virtual IFX_Edit_FontMap* GetFontMap() = 0;
195 virtual void Initialize() = 0;
198 virtual void SetPlateRect(const CPDF_Rect & rect, FX_BOOL bPaint = TRUE) = 0;
200 virtual void SetScrollPos(const CPDF_Point & point) = 0;
203 virtual void SetAlignmentH(FX_INT32 nFormat = 0, FX_BOOL bPaint = TRUE) = 0;
205 virtual void SetAlignmentV(FX_INT32 nFormat = 0, FX_BOOL bPaint = TRUE) = 0;
207 virtual void SetPasswordChar(FX_WORD wSubWord = '*', FX_BOOL bPaint = TRUE) = 0;
209 virtual void SetLimitChar(FX_INT32 nLimitChar = 0, FX_BOOL bPaint = TRUE) = 0;
211 virtual void SetCharArray(FX_INT32 nCharArray = 0, FX_BOOL bPaint = TRUE) = 0;
213 virtual void SetCharSpace(FX_FLOAT fCharSpace = 0.0f, FX_BOOL bPaint = TRUE) = 0;
215 virtual void SetHorzScale(FX_INT32 nHorzScale = 100, FX_BOOL bPaint = TRUE) = 0;
217 virtual void SetLineLeading(FX_FLOAT fLineLeading, FX_BOOL bPaint = TRUE) = 0;
219 virtual void SetMultiLine(FX_BOOL bMultiLine = TRUE, FX_BOOL bPaint = TRUE) = 0;
221 virtual void SetAutoReturn(FX_BOOL bAuto = TRUE, FX_BOOL bPaint = TRUE) = 0;
223 virtual void SetAutoFontSize(FX_BOOL bAuto = TRUE, FX_BOOL bPaint = TRUE) = 0;
225 virtual void SetAutoScroll(FX_BOOL bAuto = TRUE, FX_BOOL bPaint = TRUE) = 0;
227 virtual void SetFontSize(FX_FLOAT fFontSize, FX_BOOL bPaint = TRUE) = 0;
229 virtual void SetTextOverflow(FX_BOOL bAllowed = FALSE, FX_BOOL bPaint = TRUE) = 0;
232 virtual FX_BOOL IsRichText() const = 0;
234 virtual void SetRichText(FX_BOOL bRichText = TRUE, FX_BOOL bPaint = TRUE) = 0;
236 virtual FX_BOOL SetRichFontSize(FX_FLOAT fFontSize) = 0;
238 virtual FX_BOOL SetRichFontIndex(FX_INT32 nFontIndex) = 0;
240 virtual FX_BOOL SetRichTextColor(FX_COLORREF dwColor) = 0;
242 virtual FX_BOOL SetRichTextScript(FX_INT32 nScriptType) = 0;
244 virtual FX_BOOL SetRichTextBold(FX_BOOL bBold = TRUE) = 0;
246 virtual FX_BOOL SetRichTextItalic(FX_BOOL bItalic = TRUE) = 0;
248 virtual FX_BOOL SetRichTextUnderline(FX_BOOL bUnderline = TRUE) = 0;
250 virtual FX_BOOL SetRichTextCrossout(FX_BOOL bCrossout = TRUE) = 0;
252 virtual FX_BOOL SetRichTextCharSpace(FX_FLOAT fCharSpace) = 0;
254 virtual FX_BOOL SetRichTextHorzScale(FX_INT32 nHorzScale = 100) = 0;
256 virtual FX_BOOL SetRichTextLineLeading(FX_FLOAT fLineLeading) = 0;
258 virtual FX_BOOL SetRichTextLineIndent(FX_FLOAT fLineIndent) = 0;
260 virtual FX_BOOL SetRichTextAlignment(FX_INT32 nAlignment) = 0;
264 virtual void SetSel(FX_INT32 nStartChar,FX_INT32 nEndChar) = 0;
266 virtual void GetSel(FX_INT32 & nStartChar, FX_INT32 & nEndChar) const = 0;
268 virtual void SelectAll() = 0;
270 virtual void SelectNone() = 0;
272 virtual FX_INT32 GetCaret() const = 0;
273 virtual CPVT_WordPlace GetCaretWordPlace() const = 0;
275 virtual CFX_WideString GetSelText() const = 0;
277 virtual CFX_WideString GetText() const = 0;
279 virtual FX_BOOL IsSelected() const = 0;
281 virtual CPDF_Point GetScrollPos() const = 0;
283 virtual CPDF_Rect GetPlateRect() const = 0;
285 virtual CPDF_Rect GetContentRect() const = 0;
287 virtual CPVT_WordRange GetVisibleWordRange() const = 0;
289 virtual CPVT_WordRange GetWholeWordRange() const = 0;
291 virtual CPVT_WordRange GetSelectWordRange() const = 0;
295 virtual void OnMouseDown(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
297 virtual void OnMouseMove(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
299 virtual void OnVK_UP(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
301 virtual void OnVK_DOWN(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
303 virtual void OnVK_LEFT(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
305 virtual void OnVK_RIGHT(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
307 virtual void OnVK_HOME(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
309 virtual void OnVK_END(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
312 virtual void SetText(FX_LPCWSTR text,FX_INT32 charset = DEFAULT_CHARSET,
315virtual FX_BOOL InsertWord(FX_WORD word, FX_INT32 charset = DEFAULT_CHARSET, const CPVT_Word…
317virtual FX_BOOL InsertReturn(const CPVT_SecProps * pSecProps = NULL,const CPVT_WordProps * p…
319 virtual FX_BOOL InsertText(FX_LPCWSTR text, FX_INT32 charset = DEFAULT_CHARSET,
322 virtual FX_BOOL Backspace() = 0;
324 virtual FX_BOOL Delete() = 0;
326 virtual FX_BOOL Clear() = 0;
329 virtual FX_BOOL Redo() = 0;
331 virtual FX_BOOL Undo() = 0;
333 virtual void SetCaret(FX_INT32 nPos) = 0;
336 virtual void Paint() = 0;
339 virtual void EnableRefresh(FX_BOOL bRefresh) = 0;
341 virtual void RefreshWordRange(const CPVT_WordRange& wr) = 0;
344 virtual void EnableUndo(FX_BOOL bUndo) = 0;
347 virtual void EnableNotify(FX_BOOL bNotify) = 0;
350 virtual void EnableOprNotify(FX_BOOL bNotify) = 0;
353 virtual FX_INT32 WordPlaceToWordIndex(const CPVT_WordPlace & place) const = 0;
355 virtual CPVT_WordPlace WordIndexToWordPlace(FX_INT32 index) const = 0;
358 virtual CPVT_WordPlace GetLineBeginPlace(const CPVT_WordPlace & place) const = 0;
361 virtual CPVT_WordPlace GetLineEndPlace(const CPVT_WordPlace & place) const = 0;
364 virtual CPVT_WordPlace GetSectionBeginPlace(const CPVT_WordPlace & place) const = 0;
367 virtual CPVT_WordPlace GetSectionEndPlace(const CPVT_WordPlace & place) const = 0;
370 virtual CPVT_WordPlace SearchWordPlace(const CPDF_Point& point) const = 0;
373 virtual FX_FLOAT GetFontSize() const = 0;
375 virtual FX_WORD GetPasswordChar() const = 0;
377 virtual FX_INT32 GetCharArray() const = 0;
379 virtual FX_INT32 GetHorzScale() const = 0;
381 virtual FX_FLOAT GetCharSpace() const = 0;
383 virtual CFX_WideString GetRangeText(const CPVT_WordRange & range) const = 0;
385 virtual FX_BOOL IsTextFull() const = 0;
386 virtual FX_BOOL CanUndo() const = 0;
387 virtual FX_BOOL CanRedo() const = 0;
389 virtual FX_BOOL IsModified() const = 0;
391 virtual FX_INT32 GetTotalWords() const = 0;
393 virtual void AddUndoItem(IFX_Edit_UndoItem* pUndoItem) = 0;
419 virtual ~IFX_List_Notify() { } in ~IFX_List_Notify()
421 virtual void IOnSetScrollInfoX(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
425 virtual void IOnSetScrollInfoY(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
429 virtual void IOnSetScrollPosX(FX_FLOAT fx) = 0;
431 virtual void IOnSetScrollPosY(FX_FLOAT fy) = 0;
433 virtual void IOnInvalidateRect(CPDF_Rect * pRect) = 0;
442 virtual void SetFontMap(IFX_Edit_FontMap * pFontMap) = 0;
443 virtual void SetNotify(IFX_List_Notify * pNotify) = 0;
445 virtual void SetPlateRect(const CPDF_Rect & rect) = 0;
446 virtual void SetFontSize(FX_FLOAT fFontSize) = 0;
448 virtual CPDF_Rect GetPlateRect() const = 0;
449 virtual CPDF_Rect GetContentRect() const = 0;
451 virtual FX_FLOAT GetFontSize() const = 0;
452 virtual IFX_Edit* GetItemEdit(FX_INT32 nIndex) const = 0;
453 virtual FX_INT32 GetCount() const = 0;
454 virtual FX_BOOL IsItemSelected(FX_INT32 nIndex) const = 0;
455 virtual FX_FLOAT GetFirstHeight() const = 0;
457 virtual void SetMultipleSel(FX_BOOL bMultiple) = 0;
458 virtual FX_BOOL IsMultipleSel() const = 0;
459 virtual FX_BOOL IsValid(FX_INT32 nItemIndex) const = 0;
460 virtual FX_INT32 FindNext(FX_INT32 nIndex,FX_WCHAR nChar) const = 0;
462 virtual void SetScrollPos(const CPDF_Point & point) = 0;
463 virtual void ScrollToListItem(FX_INT32 nItemIndex) = 0;
464 virtual CPDF_Rect GetItemRect(FX_INT32 nIndex) const = 0;
465 virtual FX_INT32 GetCaret() const = 0;
466 virtual FX_INT32 GetSelect() const = 0;
467 virtual FX_INT32 GetTopItem() const = 0;
468 virtual FX_INT32 GetItemIndex(const CPDF_Point & point) const = 0;
469 virtual FX_INT32 GetFirstSelected() const = 0;
471 virtual void AddString(FX_LPCWSTR string) = 0;
472 virtual void SetTopItem(FX_INT32 nIndex) = 0;
473 virtual void Select(FX_INT32 nItemIndex) = 0;
474 virtual void SetCaret(FX_INT32 nItemIndex) = 0;
475 virtual void Empty() = 0;
476 virtual void Cancel() = 0;
477 virtual CFX_WideString GetText() const = 0;
480 virtual void OnMouseDown(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
481 virtual void OnMouseMove(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
482 virtual void OnVK_UP(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
483 virtual void OnVK_DOWN(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
484 virtual void OnVK_LEFT(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
485 virtual void OnVK_RIGHT(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
486 virtual void OnVK_HOME(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
487 virtual void OnVK_END(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
488 virtual void OnVK(FX_INT32 nItemIndex,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
489 virtual FX_BOOL OnChar(FX_WORD nChar,FX_BOOL bShift,FX_BOOL bCtrl) = 0;