Adobe InDesign CS4 (6.0) Object Model JS: Boolean

InDesign CS4

Class

Boolean

 Wraps a boolean value.

QuickLinks

Boolean, toSource, toString, valueOf

Methods

Constructor

bool Boolean (value: any)
Creates and returns a new Boolean object set to the value of the argument converted to a boolean.

ParameterTypeDescription
value any The value to be converted to a Boolean.

Examplenew Boolean(value)

Instances

string toSource ()
Creates a string representation of this object that can be fed back to eval() to re-create an object. Works only with built-in classes.

string toString ()
Returns the string representation of the value of bool.
The method returns the string true if the primitive value of bool is true; otherwise it returns the string false.

Examplebool.toString()

bool valueOf ()
Returns the primitive value of bool.
The method returns true if the primitive value of bool is true; otherwise it returns false.

Examplebool.valueOf()

Element of

CellStyle.bottomEdgeStrokeGapOverprint

CellStyle.bottomEdgeStrokeOverprint

CellStyle.clipContentToCell

CellStyle.diagonalLineInFront

CellStyle.diagonalLineStrokeGapOverprint

CellStyle.diagonalLineStrokeOverprint

CellStyle.leftEdgeStrokeGapOverprint

CellStyle.leftEdgeStrokeOverprint

CellStyle.overprintFill

CellStyle.rightEdgeStrokeGapOverprint

CellStyle.rightEdgeStrokeOverprint

CellStyle.topEdgeStrokeGapOverprint

CellStyle.topEdgeStrokeOverprint

CellStyle.topLeftDiagonalLine

CellStyle.topRightDiagonalLine

ChangeGrepPreference.balanceRaggedLines

ChangeGrepPreference.hyphenateAcrossColumns

ChangeGrepPreference.hyphenateLastWord

ChangeGrepPreference.ignoreEdgeAlignment

ChangeGrepPreference.keepAllLinesTogether

ChangeGrepPreference.keepLinesTogether

ChangeGrepPreference.keepRuleAboveInFrame

ChangeGrepPreference.ligatures

ChangeGrepPreference.noBreak

ChangeGrepPreference.numberingApplyRestartPolicy

ChangeGrepPreference.numberingContinue

ChangeGrepPreference.otfContextualAlternate

ChangeGrepPreference.otfDiscretionaryLigature

ChangeGrepPreference.otfFraction

ChangeGrepPreference.otfHistorical

ChangeGrepPreference.otfJustificationAlternate

ChangeGrepPreference.otfLocale

ChangeGrepPreference.otfMark

ChangeGrepPreference.otfOrdinal

ChangeGrepPreference.otfOverlapSwash

ChangeGrepPreference.otfSlashedZero

ChangeGrepPreference.otfStretchedAlternate

ChangeGrepPreference.otfStylisticAlternate

ChangeGrepPreference.otfSwash

ChangeGrepPreference.otfTitling

ChangeGrepPreference.overprintFill

ChangeGrepPreference.overprintStroke

ChangeGrepPreference.strikeThroughGapOverprint

ChangeGrepPreference.strikeThroughOverprint

ChangeGrepPreference.strikeThru

ChangeGrepPreference.underline

ChangeGrepPreference.underlineGapOverprint

ChangeGrepPreference.underlineOverprint

ChangeObjectPreference.applyToMasterPageOnly

ChangeObjectPreference.ignoreWrap

ChangeObjectPreference.includeInsideEdges

ChangeObjectPreference.inverse

ChangeObjectPreference.lockPosition

ChangeObjectPreference.nonprinting

ChangeObjectPreference.opticalMarginAlignment

ChangeObjectPreference.overprintFill

ChangeObjectPreference.overprintGap

ChangeObjectPreference.overprintStroke

ChangeObjectPreference.pinPosition

ChangeObjectPreference.spineRelative

ChangeObjectPreference.useCustomBaselineFrameGrid

ChangeObjectPreference.useFixedColumnWidth

ChangeObjectPreference.userModifiedWrap

ChangeTextPreference.balanceRaggedLines

ChangeTextPreference.hyphenateAcrossColumns

ChangeTextPreference.hyphenateLastWord

ChangeTextPreference.ignoreEdgeAlignment

ChangeTextPreference.keepAllLinesTogether

ChangeTextPreference.keepLinesTogether

ChangeTextPreference.keepRuleAboveInFrame

ChangeTextPreference.ligatures

ChangeTextPreference.noBreak

ChangeTextPreference.numberingApplyRestartPolicy

ChangeTextPreference.numberingContinue

ChangeTextPreference.otfContextualAlternate

ChangeTextPreference.otfDiscretionaryLigature

ChangeTextPreference.otfFraction

ChangeTextPreference.otfHistorical

ChangeTextPreference.otfJustificationAlternate

ChangeTextPreference.otfLocale

ChangeTextPreference.otfMark

ChangeTextPreference.otfOrdinal

ChangeTextPreference.otfOverlapSwash

ChangeTextPreference.otfSlashedZero

ChangeTextPreference.otfStretchedAlternate

ChangeTextPreference.otfStylisticAlternate

ChangeTextPreference.otfSwash

ChangeTextPreference.otfTitling

ChangeTextPreference.overprintFill

ChangeTextPreference.overprintStroke

ChangeTextPreference.strikeThroughGapOverprint

ChangeTextPreference.strikeThroughOverprint

ChangeTextPreference.strikeThru

ChangeTextPreference.underline

ChangeTextPreference.underlineGapOverprint

ChangeTextPreference.underlineOverprint

Character.balanceRaggedLines

CharacterStyle.imported

CharacterStyle.ligatures

CharacterStyle.noBreak

CharacterStyle.otfContextualAlternate

CharacterStyle.otfDiscretionaryLigature

CharacterStyle.otfFraction

CharacterStyle.otfHistorical

CharacterStyle.otfJustificationAlternate

CharacterStyle.otfLocale

CharacterStyle.otfMark

CharacterStyle.otfOrdinal

CharacterStyle.otfOverlapSwash

CharacterStyle.otfSlashedZero

CharacterStyle.otfStretchedAlternate

CharacterStyle.otfStylisticAlternate

CharacterStyle.otfSwash

CharacterStyle.otfTitling

CharacterStyle.overprintFill

CharacterStyle.overprintStroke

CharacterStyle.strikeThroughGapOverprint

CharacterStyle.strikeThroughOverprint

CharacterStyle.strikeThru

CharacterStyle.underline

CharacterStyle.underlineGapOverprint

CharacterStyle.underlineOverprint

FindChangeBevelAndEmbossSetting.applied

FindChangeBevelAndEmbossSetting.useGlobalLight

FindChangeBlendingSetting.isolateBlending

FindChangeBlendingSetting.knockoutGroup

FindChangeDirectionalFeatherSetting.applied

FindChangeDropShadowSetting.honorOtherEffects

FindChangeDropShadowSetting.knockedOut

FindChangeDropShadowSetting.useGlobalLight

FindChangeGradientFeatherSetting.applied

FindChangeInnerGlowSetting.applied

FindChangeInnerShadowSetting.applied

FindChangeInnerShadowSetting.useGlobalLight

FindChangeOuterGlowSetting.applied

FindChangeSatinSetting.applied

FindChangeSatinSetting.invertEffect

FindGrepPreference.balanceRaggedLines

FindGrepPreference.hyphenateAcrossColumns

FindGrepPreference.hyphenateLastWord

FindGrepPreference.ignoreEdgeAlignment

FindGrepPreference.keepAllLinesTogether

FindGrepPreference.keepLinesTogether

FindGrepPreference.keepRuleAboveInFrame

FindGrepPreference.ligatures

FindGrepPreference.noBreak

FindGrepPreference.numberingApplyRestartPolicy

FindGrepPreference.numberingContinue

FindGrepPreference.otfContextualAlternate

FindGrepPreference.otfDiscretionaryLigature

FindGrepPreference.otfFraction

FindGrepPreference.otfHistorical

FindGrepPreference.otfJustificationAlternate

FindGrepPreference.otfLocale

FindGrepPreference.otfMark

FindGrepPreference.otfOrdinal

FindGrepPreference.otfOverlapSwash

FindGrepPreference.otfSlashedZero

FindGrepPreference.otfStretchedAlternate

FindGrepPreference.otfStylisticAlternate

FindGrepPreference.otfSwash

FindGrepPreference.otfTitling

FindGrepPreference.overprintFill

FindGrepPreference.overprintStroke

FindGrepPreference.strikeThroughGapOverprint

FindGrepPreference.strikeThroughOverprint

FindGrepPreference.strikeThru

FindGrepPreference.underline

FindGrepPreference.underlineGapOverprint

FindGrepPreference.underlineOverprint

FindObjectPreference.applyToMasterPageOnly

FindObjectPreference.ignoreWrap

FindObjectPreference.includeInsideEdges

FindObjectPreference.inverse

FindObjectPreference.lockPosition

FindObjectPreference.nonprinting

FindObjectPreference.opticalMarginAlignment

FindObjectPreference.overprintFill

FindObjectPreference.overprintGap

FindObjectPreference.overprintStroke

FindObjectPreference.pinPosition

FindObjectPreference.spineRelative

FindObjectPreference.useCustomBaselineFrameGrid

FindObjectPreference.useFixedColumnWidth

FindObjectPreference.userModifiedWrap

FindTextPreference.balanceRaggedLines

FindTextPreference.hyphenateAcrossColumns

FindTextPreference.hyphenateLastWord

FindTextPreference.ignoreEdgeAlignment

FindTextPreference.keepAllLinesTogether

FindTextPreference.keepLinesTogether

FindTextPreference.keepRuleAboveInFrame

FindTextPreference.ligatures

FindTextPreference.noBreak

FindTextPreference.numberingApplyRestartPolicy

FindTextPreference.numberingContinue

FindTextPreference.otfContextualAlternate

FindTextPreference.otfDiscretionaryLigature

FindTextPreference.otfFraction

FindTextPreference.otfHistorical

FindTextPreference.otfJustificationAlternate

FindTextPreference.otfLocale

FindTextPreference.otfMark

FindTextPreference.otfOrdinal

FindTextPreference.otfOverlapSwash

FindTextPreference.otfSlashedZero

FindTextPreference.otfStretchedAlternate

FindTextPreference.otfStylisticAlternate

FindTextPreference.otfSwash

FindTextPreference.otfTitling

FindTextPreference.overprintFill

FindTextPreference.overprintStroke

FindTextPreference.strikeThroughGapOverprint

FindTextPreference.strikeThroughOverprint

FindTextPreference.strikeThru

FindTextPreference.underline

FindTextPreference.underlineGapOverprint

FindTextPreference.underlineOverprint

InsertionPoint.balanceRaggedLines

Line.balanceRaggedLines

PDFExportPreference.includeICCProfiles

PDFExportPreset.includeICCProfiles

Paragraph.balanceRaggedLines

ParagraphStyle.balanceRaggedLines

RuleDataObject.dataValue

Story.balanceRaggedLines

Text.balanceRaggedLines

TextColumn.balanceRaggedLines

TextDefault.balanceRaggedLines

TextStyleRange.balanceRaggedLines

Word.balanceRaggedLines

XmlStory.balanceRaggedLines

Used in:

RuleDataObject RuleDataObjects.add (name: string, dataType: RuleDataType, dataValue: any[, withProperties: Object])

Jongware, 20-Jun-2010 v3.0.3dContents :: Index