|
Initialization |
| void | InitMLTE () |
| void | CreateMLTEObject (OSWindow inWindow, const CP_Rect &inBounds, TXNFrameOptions inFrameOptions, TXNFrameType inFrameType, TXNFileType inFileType, TXNPermanentTextEncodingType inPermanentEncoding, OSControl inOwnerControl) |
| static bool | IsInited () |
Public Member Functions |
|
| | CP_MLTESupport () |
| | Constructor.
|
| virtual | ~CP_MLTESupport () throw () |
| | Destructor.
|
|
| void | ActivateText (bool inActive) |
| void | FocusText (bool inFocus) |
|
| void | HandleCommandStatus (CP_CommandStatus &inCommandStatus, bool &inOutResult, CP_CommandNo &inCommandNo) |
| void | HandleCutCommand (OSStatus &inOutStatus) |
| void | HandleCopyCommand (OSStatus &inOutStatus) |
| void | HandleClearCommand (OSStatus &inOutStatus) |
| void | HandlePasteCommand (OSStatus &inOutStatus) |
| void | HandleSelectAllCommand (OSStatus &inOutStatus) |
| void | HandleUndoCommand (OSStatus &inOutStatus) |
| void | HandleRedoCommand (OSStatus &inOutStatus) |
|
| void | Draw () |
|
| ControlPartCode | HandleClick (const CP_Point &inMouseLocation) |
|
| TXNObject | GetTXNObject () |
| TXNFrameID | GetTXNFrameID () |
| CP_Rect | GetTextArea () |
| CP_Rect | GetFocusOutline () |
| CP_Rect | GetTextOutline () |
| UInt32 | GetTextLength () |
| CP_String | GetText (char inLineEnd=CP_LF) |
| bool | GetDrawFrameWhenFocused () |
|
| void | Print () |
|
| void | GetSelection (UInt32 *inStartSelection, UInt32 *inEndSelection) |
| void | SetSelection (UInt32 inStartSelection, UInt32 inEndSelection) |
| bool | HasSelection () |
|
| void | SetTXNObject (TXNObject inObject) |
| void | SetTXNFrameID (TXNFrameID inFrameID) |
| void | SetText (const CP_String &inText) |
| void | SetText (CP_InStream *inStream) |
| void | InsertText (const CP_String &inText) |
| void | InsertText (const char *inTextPtr, SInt32 inTextLength) |
| void | SetPortBounds (const CP_Rect &inBounds) |
| void | SetFontSpec (CP_FontSpec &inFontSpec) |
| void | SetActive (bool inActive) |
| void | SetTEActive (bool inTEActive) |
| void | SetFocused (bool inFocused) |
| void | SetTextArea (const CP_Rect inTextArea) |
| void | SetFocusOutline (const CP_Rect inFocusOutline) |
| void | SetTextOutline (const CP_Rect inTextOutline) |
| void | SetDrawFrameWhenFocused (bool inDrawFrame) |
|
| bool | IsActive () |
| bool | IsTEActive () |
| bool | IsFocused () |
Protected Attributes |
| OSControl | fOwnerControl |
| TXNObject | fTXNObject |
| TXNFrameID | fTXNFrameID |
| CP_Rect | fTextArea |
| CP_Rect | fFocusOutline |
| CP_Rect | fTextOutline |
| CP_Region | fTextBackgroundRgn |
| bool | fIsActive |
| bool | fTEActive |
| bool | fIsFocued |
| bool | fDrawFrameWhenFocused |
| CGrafPtr | fDrawingEnvironment |
Static Protected Attributes |
| static bool | fsIsInited = false |
Private Member Functions |
| void | SetFontName (const CP_String &inFontName) |
| void | SetFontSize (SInt16 inFontSize) |
| void | SetFontStyle (SInt16 inFontStyle) |