Carbon


Formatting and Privileges Constants

Header: MacTextEditor.h

Specifies the formatting and privileges information to set or get when passed in the TXNControlTag parameter of the TXNSetTXNObjectControls or TXNGetTXNObjectControls functions.

enum {
    kTXNLineDirectionTag = 'lndr',
    kTXNJustificationTag = 'just',
    kTXNIOPrivilegesTag = 'iopv',
    kTXNSelectionStateTag = 'slst',
    kTXNInlineStateTag = 'inst',
    kTXNWordWrapStateTag = 'wwrs',
    kTXNKeyboardSyncStateTag = 'kbsy',
    kTXNAutoIndentStateTag = 'auin',
    kTXNTabSettingsTag = 'tabs',
    kTXNRefConTag = 'rfcn',
    kTXNMarginsTag = 'marg',
    kTXNFlattenMoviesTag = ''flat'',
    kTXNDoFontSubstitution = ''fSub'',
    kTXNNoUserIOTag = ''nuio''
};

Constant descriptions

kTXNLineDirectionTag

Indicates the direction text is written on the line.

kTXNJustificationTag

Enables justification.

kTXNIOPrivilegesTag

Indicates read-only privileges.

kTXNSelectionStateTag

Used to control the state of the cursor in a read-only document.

kTXNInlineStateTag

Indicates text input is input through the document’s window (inline) rather than through a small window that appears at the bottom of the screen.

kTXNWordWrapStateTag

Enables word wrapping.

kTXNKeyboardSyncStateTag

Sets the keyboard to be synchronized with the font setting.

kTXNAutoIndentStateTag

Enables automatic indentation.

kTXNTabSettingsTag

Sets the tab width.

kTXNRefConTag

An application-specific constant you define.

kTXNMarginsTag

Sets the top and left margins.

kTXNFlattenMoviesTag
kTXNDoFontSubstitution
kTXNNoUserIOTag

Does not allow input typed by the user, but allows you to use the TXNSetData function.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)