Para

Inheritance: java.lang.Object

public class Para

Contains the paragraph formatting elements for the shape’s text, such as indents, line spacing, bullets, and horizontal alignment of paragraphs.

Constructors

Constructor Description
Para() Constructor.

Methods

Method Description
deepClone() Creates deep copy of this instance.
equals(Object arg0)
getBullet() Determines the bullet style.
getBulletFont() Represents the number of the font used to format the text when a custom bullet string is specified and the value in the Bullet element is non-zero.
getBulletFontSize() Specifies the size of a bullet.
getBulletStr() “Used to create a custom bullet style.
getClass()
getDel() A flag indicating whether the element has been deleted locally.
getFlags() Indicates whether the text direction is left to right or right to left.
getHorzAlign() Specifies the horizontal alignment of text in the shape’s text block.
getIX() The zero-based index of the element within its parent element.
getIndFirst() Specifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of the paragraph.
getIndLeft() Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block.
getIndRight() Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block.
getLocalizeBulletFont() Specifies whether the bullet font should be localized (translated into another language).
getSpAfter() Specifies the amount of space inserted after each paragraph in the shape’s text block.
getSpBefore() Specifies the amount of space inserted before each paragraph in the shape’s text block.
getSpLine() Specifies the distance between one line of text and the next, where 100% is the height of a text line.
getTextPosAfterBullet() Represents the distance between the first line of the paragraph and the bullet.
hashCode()
notify()
notifyAll()
setBullet(Bullet value) For the description of this property, please see getBullet()
setBulletFont(IntValue value) For the description of this property, please see getBulletFont()
setBulletFontSize(DoubleValue value) For the description of this property, please see getBulletFontSize()
setBulletStr(Str2Value value) For the description of this property, please see getBulletStr()
setDel(int value) For the description of this property, please see getDel()
setFlags(BoolValue value) For the description of this property, please see getFlags()
setHorzAlign(HorzAlign value) For the description of this property, please see getHorzAlign()
setIX(int value) For the description of this property, please see getIX()
setIndFirst(DoubleValue value) For the description of this property, please see getIndFirst()
setIndLeft(DoubleValue value) For the description of this property, please see getIndLeft()
setIndRight(DoubleValue value) For the description of this property, please see getIndRight()
setLocalizeBulletFont(LocalizeFont value) For the description of this property, please see getLocalizeBulletFont()
setSpAfter(DoubleValue value) For the description of this property, please see getSpAfter()
setSpBefore(DoubleValue value) For the description of this property, please see getSpBefore()
setSpLine(DoubleValue value) For the description of this property, please see getSpLine()
setTextPosAfterBullet(DoubleValue value) For the description of this property, please see getTextPosAfterBullet()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Para()

public Para()

Constructor.

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getBullet()

public Bullet getBullet()

Determines the bullet style.

Returns: Bullet

getBulletFont()

public IntValue getBulletFont()

Represents the number of the font used to format the text when a custom bullet string is specified and the value in the Bullet element is non-zero.

Returns: IntValue

getBulletFontSize()

public DoubleValue getBulletFontSize()

Specifies the size of a bullet.

Returns: DoubleValue

getBulletStr()

public Str2Value getBulletStr()

“Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ““ooo.”””

Returns: Str2Value

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getFlags()

public BoolValue getFlags()

Indicates whether the text direction is left to right or right to left.

Returns: BoolValue

getHorzAlign()

public HorzAlign getHorzAlign()

Specifies the horizontal alignment of text in the shape’s text block.

Returns: HorzAlign

getIX()

public int getIX()

The zero-based index of the element within its parent element.

Returns: int

getIndFirst()

public DoubleValue getIndFirst()

Specifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of the paragraph. This value is independent of the scale of the drawing. If the drawing is scaled, the first line indent remains the same.

Returns: DoubleValue

getIndLeft()

public DoubleValue getIndLeft()

Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the left indent remains the same.

Returns: DoubleValue

getIndRight()

public DoubleValue getIndRight()

Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the right indent remains the same.

Returns: DoubleValue

getLocalizeBulletFont()

public LocalizeFont getLocalizeBulletFont()

Specifies whether the bullet font should be localized (translated into another language).

Returns: LocalizeFont

getSpAfter()

public DoubleValue getSpAfter()

Specifies the amount of space inserted after each paragraph in the shape’s text block.

Returns: DoubleValue

getSpBefore()

public DoubleValue getSpBefore()

Specifies the amount of space inserted before each paragraph in the shape’s text block.

Returns: DoubleValue

getSpLine()

public DoubleValue getSpLine()

Specifies the distance between one line of text and the next, where 100% is the height of a text line.

Returns: DoubleValue

getTextPosAfterBullet()

public DoubleValue getTextPosAfterBullet()

Represents the distance between the first line of the paragraph and the bullet.

Returns: DoubleValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBullet(Bullet value)

public void setBullet(Bullet value)

For the description of this property, please see getBullet()

Parameters:

Parameter Type Description
value Bullet

setBulletFont(IntValue value)

public void setBulletFont(IntValue value)

For the description of this property, please see getBulletFont()

Parameters:

Parameter Type Description
value IntValue

setBulletFontSize(DoubleValue value)

public void setBulletFontSize(DoubleValue value)

For the description of this property, please see getBulletFontSize()

Parameters:

Parameter Type Description
value DoubleValue

setBulletStr(Str2Value value)

public void setBulletStr(Str2Value value)

For the description of this property, please see getBulletStr()

Parameters:

Parameter Type Description
value Str2Value

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

Parameter Type Description
value int

setFlags(BoolValue value)

public void setFlags(BoolValue value)

For the description of this property, please see getFlags()

Parameters:

Parameter Type Description
value BoolValue

setHorzAlign(HorzAlign value)

public void setHorzAlign(HorzAlign value)

For the description of this property, please see getHorzAlign()

Parameters:

Parameter Type Description
value HorzAlign

setIX(int value)

public void setIX(int value)

For the description of this property, please see getIX()

Parameters:

Parameter Type Description
value int

setIndFirst(DoubleValue value)

public void setIndFirst(DoubleValue value)

For the description of this property, please see getIndFirst()

Parameters:

Parameter Type Description
value DoubleValue

setIndLeft(DoubleValue value)

public void setIndLeft(DoubleValue value)

For the description of this property, please see getIndLeft()

Parameters:

Parameter Type Description
value DoubleValue

setIndRight(DoubleValue value)

public void setIndRight(DoubleValue value)

For the description of this property, please see getIndRight()

Parameters:

Parameter Type Description
value DoubleValue

setLocalizeBulletFont(LocalizeFont value)

public void setLocalizeBulletFont(LocalizeFont value)

For the description of this property, please see getLocalizeBulletFont()

Parameters:

Parameter Type Description
value LocalizeFont

setSpAfter(DoubleValue value)

public void setSpAfter(DoubleValue value)

For the description of this property, please see getSpAfter()

Parameters:

Parameter Type Description
value DoubleValue

setSpBefore(DoubleValue value)

public void setSpBefore(DoubleValue value)

For the description of this property, please see getSpBefore()

Parameters:

Parameter Type Description
value DoubleValue

setSpLine(DoubleValue value)

public void setSpLine(DoubleValue value)

For the description of this property, please see getSpLine()

Parameters:

Parameter Type Description
value DoubleValue

setTextPosAfterBullet(DoubleValue value)

public void setTextPosAfterBullet(DoubleValue value)

For the description of this property, please see getTextPosAfterBullet()

Parameters:

Parameter Type Description
value DoubleValue

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int