Multilingual Text Engine Reference
PDF
Overview
Functions by Task
Displaying Static Text
Initializing and Terminating MLTE
Working With MLTE Objects
Responding to Events
Working With HITextView
Editing Data
Managing Fonts and Font Menus
Managing Layout and Formatting
Managing Selections
Controlling the Frame and Window
Searching
Managing Files
Printing
Supporting Drag and Drop
Keeping Track of User Actions
Managing Spell Checking As You Type
Working with the Contextual Menu
Working With UPP Pointers for MLTE Callback Functions
Not Recommended
Unsupported Functions
Functions
DisposeTXNActionNameMapperUPP
DisposeTXNContextualMenuSetupUPP
DisposeTXNFindUPP
DisposeTXNScrollInfoUPP
HITextViewCopyBackgroundColor
HITextViewCreate
HITextViewGetTXNObject
HITextViewSetBackgroundColor
InvokeTXNActionNameMapperUPP
InvokeTXNContextualMenuSetupUPP
InvokeTXNFindUPP
InvokeTXNScrollInfoUPP
NewTXNActionNameMapperUPP
NewTXNContextualMenuSetupUPP
NewTXNFindUPP
NewTXNScrollInfoUPP
TXNAdjustCursor
TXNAttachObjectToWindowRef
TXNBeginActionGroup
TXNCanRedoAction
TXNCanUndoAction
TXNClear
TXNClearCountForActionType
TXNClick
TXNCopy
TXNCopyTypeIdentifiersForRange
TXNCountRunsInRange
TXNCreateObject
TXNCut
TXNDataSize
TXNDeleteObject
TXNDragReceiver
TXNDragTracker
TXNDrawCFStringTextBox
TXNDrawObject
TXNDrawUnicodeTextBox
TXNEchoMode
TXNEndActionGroup
TXNFind
TXNFlattenObjectToCFDataRef
TXNFocus
TXNForceUpdate
TXNGetAccessibilityHIObject
TXNGetChangeCount
TXNGetCommandEventSupport
TXNGetContinuousTypeAttributes
TXNGetCountForActionType
TXNGetData
TXNGetDataEncoded
TXNGetEventTarget
TXNGetHIRect
TXNGetIndexedRunInfoFromRange
TXNGetLineCount
TXNGetLineMetrics
TXNGetSelection
TXNGetSleepTicks
TXNGetSpellCheckAsYouType
TXNGetTXNObjectControls
TXNGetViewRect
TXNGetWindowRef
TXNGrowWindow
TXNHIPointToOffset
TXNIdle
TXNInitTextension
TXNIsScrapPastable
TXNIsSelectionEmpty
TXNKeyDown
TXNOffsetToHIPoint
TXNPageSetup
TXNPaste
TXNPrint
TXNReadFromCFURL
TXNRecalcTextLayout
TXNRedo
TXNRegisterScrollInfoProc
TXNResizeFrame
TXNRevert
TXNScroll
TXNSelectAll
TXNSetActionNameMapper
TXNSetBackground
TXNSetCommandEventSupport
TXNSetContextualMenuSetup
TXNSetData
TXNSetEventTarget
TXNSetFrameBounds
TXNSetHIRectBounds
TXNSetScrollbarState
TXNSetSelection
TXNSetSpellCheckAsYouType
TXNSetTXNObjectControls
TXNSetTypeAttributes
TXNShowSelection
TXNTSMCheck
TXNUndo
TXNUpdate
TXNVersionInformation
TXNWriteRangeToCFURL
TXNZoomWindow
Callbacks
TXNActionKeyMapperProcPtr
TXNActionNameMapperProcPtr
TXNContextualMenuSetupProcPtr
TXNFindProcPtr
TXNScrollInfoProcPtr
Data Types
TXNActionNameMapperUPP
TXNActionKeyMapperUPP
TXNATSUIFeatures
TXNATSUIVariations
TXNAttributeData
TXNBackground
TXNBackgroundData
TXNCarbonEventInfo
TXNContextualMenuSetupUPP
TXNControlData
TXNErrors
TXNFindUPP
TXNFontMenuObject
TXNFrameID
TXNLongRect
TXNMacOSPreferredFontDescription
TXNMargins
TXNMatchTextRecord
TXNObject
TXNObjectRefCon
TXNScrollInfoUPP
TXNTab
TXNTextBoxOptionsData
TXNTypeAttributes
TXNVersionValue
TXTNTag
Constants
Action Constants
Action Count Constants
Action Count Bits
Action Count Masks
Action Types
Apple Event Handler Bits
Apple Event Handler Masks
ATSUI Feature Bits
ATSUI Feature Masks
Automatic Indentation Settings
Automatic Scrolling Behavior
Carbon Event Dictionary Keys
Clearance Settings
Command Event Support Options
Continuous Style Information Bits
Continuous Style Information Masks
Data Offsets
Data Option Key Value Constants
Data Option Key Constants
Default Font Name
Default Font Size
Default Font Style
Document Attribute Keys
Drag and Drop Constants
Draw Items Bits
Draw Items Masks
Font Defaults
Font Run Attributes
Font Run Attribute Sizes
Formatting and Privileges Settings
Frame Option Bits
Frame Option Masks
HIObject Class ID
HIObject Control Kind
Initialization Option Bits
Initialization Option Masks
Inline State Settings
Justification Settings
Keyboard Synchronization Settings
Layout and Draw Constants
Line Direction Settings
Line Wrapping Settings
Read and Write Privileges Settings
Rectangle Keys
Scroll Bar Orientation
Scroll Bar States
Scroll Units
Search Criteria Bits
Search Criteria Masks
Selection Display Settings
Selection State Settings
Style Resource Types
Supported Data Types
Supported File Types
Supported Frame Types
Tab Types
Text Background Types
Text Box Options Bits
Text Box Options Masks
Text Encoding Preferences
Result Codes
Appendix A: Deprecated Multilingual Text Engine Functions
Deprecated in Mac OS X v10.2
TXNSetViewRect
Deprecated in Mac OS X v10.3
TXNActivate
TXNAttachObjectToWindow
TXNConvertFromPublicScrap
TXNConvertToPublicScrap
TXNDraw
TXNGetRectBounds
TXNIsObjectAttachedToSpecificWindow
TXNIsObjectAttachedToWindow
TXNNewObject
TXNOffsetToPoint
TXNPointToOffset
TXNSetDataFromFile
TXNSetRectBounds
TXNTerminateTextension
Deprecated in Mac OS X v10.4
DisposeTXNActionKeyMapperUPP
InvokeTXNActionKeyMapperUPP
NewTXNActionKeyMapperUPP
TXNCanRedo
TXNCanUndo
TXNClearActionChangeCount
TXNGetActionChangeCount
TXNGetFontDefaults
TXNSave
TXNSetDataFromCFURLRef
TXNSetFontDefaults
Deprecated in Mac OS X v10.5
TXNDisposeFontMenuObject
TXNDoFontMenuSelection
TXNGetFontMenuHandle
TXNNewFontMenuObject
TXNPrepareFontMenu
Revision History
Index