com.aspose.slides
Class PortionEx

java.lang.Object
  extended by com.aspose.slides.TextCharacterPropertiesEx
      extended by com.aspose.slides.PortionEx

public final class PortionEx
extends TextCharacterPropertiesEx

Represents a portion of a text.


Constructor Summary
PortionEx()
           Initializes a new instance of the Portion class.
PortionEx(PortionEx portion)
           Initializes a new instance of the Portion class.
PortionEx(java.lang.String str)
           Initializes a new instance of the Portion class.
 
Method Summary
 void addField(FieldTypeEx fieldType)
           Converts this portion to the automaticaly updated field.
 PortionFormatDataEx createPortionFormatData()
           Creates and returns PortionFormatDataEx object which contains current portion formatting properties, including inherited.
 java.lang.String getAlternativeLanguageId()
          Deprecated. 
 FontDataEx getComplexScriptFont()
          Deprecated. 
 FontDataEx getEastAsianFont()
          Deprecated. 
 float getEscapement()
          Deprecated. 
 FieldEx getField()
           Returns a field of this portion.
 byte getFontBold()
          Deprecated. 
 float getFontHeight()
          Deprecated. 
 byte getFontItalic()
          Deprecated. 
 byte getFontUnderline()
          Deprecated. 
 float getKerningMinimalSize()
          Deprecated. 
 byte getKumimoji()
          Deprecated. 
 java.lang.String getLanguageId()
          Deprecated. 
 FontDataEx getLatinFont()
          Deprecated. 
 byte getNormaliseHeight()
          Deprecated. 
 PortionFormatEx getPortionFormat()
           Returns object which contains explicitly set portion's formatting properties.
 PresentationEx getPresentation()
           Returns the parent presentation of a text.
 byte getProofDisabled()
          Deprecated. 
 BaseSlideEx getSlide()
           Returns the parent slide of a text.
 float getSpacing()
          Deprecated. 
 byte getStrikethroughType()
          Deprecated. 
 FontDataEx getSymbolFont()
          Deprecated. 
 java.lang.String getText()
           Gets or sets the plain text of a portion..
 byte getTextCapType()
          Deprecated. 
 byte isHardUnderlineFill()
          Deprecated. 
 void isHardUnderlineFill(byte value)
          Deprecated. 
 byte isHardUnderlineLine()
          Deprecated. 
 void isHardUnderlineLine(byte value)
          Deprecated. 
 void removeField()
           Converts this field portion to the simple portion.
 void setAlternativeLanguageId(java.lang.String value)
          Deprecated. 
 void setComplexScriptFont(FontDataEx value)
          Deprecated. 
 void setEastAsianFont(FontDataEx value)
          Deprecated. 
 void setEscapement(float value)
          Deprecated. 
 void setFontBold(byte value)
          Deprecated. 
 void setFontHeight(float value)
          Deprecated. 
 void setFontItalic(byte value)
          Deprecated. 
 void setFontUnderline(byte value)
          Deprecated. 
 void setKerningMinimalSize(float value)
          Deprecated. 
 void setKumimoji(byte value)
          Deprecated. 
 void setLanguageId(java.lang.String value)
          Deprecated. 
 void setLatinFont(FontDataEx value)
          Deprecated. 
 void setNormaliseHeight(byte value)
          Deprecated. 
 void setProofDisabled(byte value)
          Deprecated. 
 void setSpacing(float value)
          Deprecated. 
 void setStrikethroughType(byte value)
          Deprecated. 
 void setSymbolFont(FontDataEx value)
          Deprecated. 
 void setText(java.lang.String value)
           
 void setTextCapType(byte value)
          Deprecated. 
 
Methods inherited from class com.aspose.slides.TextCharacterPropertiesEx
getBookmarkId, getEffectFormat, getFillFormat, getHighlightColor, getHLinkClick, getHLinkMouseOver, getLineFormat, getRawAlternativeLanguageId, getRawComplexScriptFont, getRawEastAsianFont, getRawEscapement, getRawFontBold, getRawFontHeight, getRawFontItalic, getRawFontUnderline, getRawIsHardUnderlineFill, getRawIsHardUnderlineLine, getRawKerningMinimalSize, getRawKumimoji, getRawLanguageId, getRawLatinFont, getRawNoProof, getRawNormaliseHeight, getRawProofDisabled, getRawSpacing, getRawStrikethroughType, getRawSymbolFont, getRawTextCapType, getSmartTagClean, getUnderlineFillFormat, getUnderlineLineFormat, setBookmarkId, setHLinkClick, setHLinkMouseOver, setRawAlternativeLanguageId, setRawComplexScriptFont, setRawEastAsianFont, setRawEscapement, setRawFontBold, setRawFontHeight, setRawFontItalic, setRawFontUnderline, setRawIsHardUnderlineFill, setRawIsHardUnderlineLine, setRawKerningMinimalSize, setRawKumimoji, setRawLanguageId, setRawLatinFont, setRawNoProof, setRawNormaliseHeight, setRawProofDisabled, setRawSpacing, setRawStrikethroughType, setRawSymbolFont, setRawTextCapType, setSmartTagClean
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortionEx

public PortionEx()

Initializes a new instance of the Portion class.


PortionEx

public PortionEx(java.lang.String str)

Initializes a new instance of the Portion class.


PortionEx

public PortionEx(PortionEx portion)

Initializes a new instance of the Portion class.

Method Detail

getPortionFormat

public PortionFormatEx getPortionFormat()

Returns object which contains explicitly set portion's formatting properties. Readonly PortionFormatEx.

Overrides:
getPortionFormat in class TextCharacterPropertiesEx

createPortionFormatData

public PortionFormatDataEx createPortionFormatData()

Creates and returns PortionFormatDataEx object which contains current portion formatting properties, including inherited.

Returns:

getFontBold

@Deprecated
public byte getFontBold()
Deprecated. 

Determines whether the font is bold. Read/write NullableBool.

Overrides:
getFontBold in class TextCharacterPropertiesEx

setFontBold

@Deprecated
public void setFontBold(byte value)
Deprecated. 

Overrides:
setFontBold in class TextCharacterPropertiesEx

getFontItalic

@Deprecated
public byte getFontItalic()
Deprecated. 

Determines whether the font is itallic. Read/write NullableBool.

Overrides:
getFontItalic in class TextCharacterPropertiesEx

setFontItalic

@Deprecated
public void setFontItalic(byte value)
Deprecated. 

Overrides:
setFontItalic in class TextCharacterPropertiesEx

getKumimoji

@Deprecated
public byte getKumimoji()
Deprecated. 

Determines whether the numbers should ignore text eastern language-specific vertical text layout. Read/write NullableBool.

Overrides:
getKumimoji in class TextCharacterPropertiesEx

setKumimoji

@Deprecated
public void setKumimoji(byte value)
Deprecated. 

Overrides:
setKumimoji in class TextCharacterPropertiesEx

getNormaliseHeight

@Deprecated
public byte getNormaliseHeight()
Deprecated. 

Determines whether the height of a text should be normalized. Read/write NullableBool.

Overrides:
getNormaliseHeight in class TextCharacterPropertiesEx

setNormaliseHeight

@Deprecated
public void setNormaliseHeight(byte value)
Deprecated. 

Overrides:
setNormaliseHeight in class TextCharacterPropertiesEx

getProofDisabled

@Deprecated
public byte getProofDisabled()
Deprecated. 

Determines whether the text shouldn't be proofed. Read/write NullableBool.

Overrides:
getProofDisabled in class TextCharacterPropertiesEx

setProofDisabled

@Deprecated
public void setProofDisabled(byte value)
Deprecated. 

Overrides:
setProofDisabled in class TextCharacterPropertiesEx

getFontUnderline

@Deprecated
public byte getFontUnderline()
Deprecated. 

Returns or sets the text underline type. Read/write TextUnderlineTypeEx.

Overrides:
getFontUnderline in class TextCharacterPropertiesEx

setFontUnderline

@Deprecated
public void setFontUnderline(byte value)
Deprecated. 

Overrides:
setFontUnderline in class TextCharacterPropertiesEx

getTextCapType

@Deprecated
public byte getTextCapType()
Deprecated. 

Returns or sets the type of text capitalization. Read/write TextCapTypeEx.

Overrides:
getTextCapType in class TextCharacterPropertiesEx

setTextCapType

@Deprecated
public void setTextCapType(byte value)
Deprecated. 

Overrides:
setTextCapType in class TextCharacterPropertiesEx

getStrikethroughType

@Deprecated
public byte getStrikethroughType()
Deprecated. 

Returns or sets the strikethrough type of a text. Read/write TextStrikethroughTypeEx.

Overrides:
getStrikethroughType in class TextCharacterPropertiesEx

setStrikethroughType

@Deprecated
public void setStrikethroughType(byte value)
Deprecated. 

Overrides:
setStrikethroughType in class TextCharacterPropertiesEx

isHardUnderlineLine

@Deprecated
public byte isHardUnderlineLine()
Deprecated. 

Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.

Overrides:
isHardUnderlineLine in class TextCharacterPropertiesEx

isHardUnderlineLine

@Deprecated
public void isHardUnderlineLine(byte value)
Deprecated. 

Overrides:
isHardUnderlineLine in class TextCharacterPropertiesEx

isHardUnderlineFill

@Deprecated
public byte isHardUnderlineFill()
Deprecated. 

Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.

Overrides:
isHardUnderlineFill in class TextCharacterPropertiesEx

isHardUnderlineFill

@Deprecated
public void isHardUnderlineFill(byte value)
Deprecated. 

Overrides:
isHardUnderlineFill in class TextCharacterPropertiesEx

getFontHeight

@Deprecated
public float getFontHeight()
Deprecated. 

Returns or sets the font height of a portion. <b>float.NaN</b> means height is undefined. Read/write short.

Overrides:
getFontHeight in class TextCharacterPropertiesEx

setFontHeight

@Deprecated
public void setFontHeight(float value)
Deprecated. 

Overrides:
setFontHeight in class TextCharacterPropertiesEx

getLatinFont

@Deprecated
public FontDataEx getLatinFont()
Deprecated. 

Returns or sets the Latin font info. Null means font is undefined. Read/write FontDataEx.

Overrides:
getLatinFont in class TextCharacterPropertiesEx

setLatinFont

@Deprecated
public void setLatinFont(FontDataEx value)
Deprecated. 

Overrides:
setLatinFont in class TextCharacterPropertiesEx

getEastAsianFont

@Deprecated
public FontDataEx getEastAsianFont()
Deprecated. 

Returns or sets the East Asian font info. Null means font is undefined. Read/write FontDataEx.

Overrides:
getEastAsianFont in class TextCharacterPropertiesEx

setEastAsianFont

@Deprecated
public void setEastAsianFont(FontDataEx value)
Deprecated. 

Overrides:
setEastAsianFont in class TextCharacterPropertiesEx

getComplexScriptFont

@Deprecated
public FontDataEx getComplexScriptFont()
Deprecated. 

Returns or sets the complex script font info. Null means font is undefined. Read/write FontDataEx.

Overrides:
getComplexScriptFont in class TextCharacterPropertiesEx

setComplexScriptFont

@Deprecated
public void setComplexScriptFont(FontDataEx value)
Deprecated. 

Overrides:
setComplexScriptFont in class TextCharacterPropertiesEx

getSymbolFont

@Deprecated
public FontDataEx getSymbolFont()
Deprecated. 

Returns or sets the symbolic font info. Null means font is undefined. Read/write FontDataEx.

Overrides:
getSymbolFont in class TextCharacterPropertiesEx

setSymbolFont

@Deprecated
public void setSymbolFont(FontDataEx value)
Deprecated. 

Overrides:
setSymbolFont in class TextCharacterPropertiesEx

getEscapement

@Deprecated
public float getEscapement()
Deprecated. 

Returns or sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). <b>float.NaN</b> means value is undefined. Read/write short.

Overrides:
getEscapement in class TextCharacterPropertiesEx

setEscapement

@Deprecated
public void setEscapement(float value)
Deprecated. 

Overrides:
setEscapement in class TextCharacterPropertiesEx

getKerningMinimalSize

@Deprecated
public float getKerningMinimalSize()
Deprecated. 

Returns or sets the minimal font size, for which kerning should be switched on. <b>float.NaN</b> means value is undefined. Read/write float.

Overrides:
getKerningMinimalSize in class TextCharacterPropertiesEx

setKerningMinimalSize

@Deprecated
public void setKerningMinimalSize(float value)
Deprecated. 

Overrides:
setKerningMinimalSize in class TextCharacterPropertiesEx

getLanguageId

@Deprecated
public java.lang.String getLanguageId()
Deprecated. 

Returns or sets the Id of a language. Read/write string.

Overrides:
getLanguageId in class TextCharacterPropertiesEx

setLanguageId

@Deprecated
public void setLanguageId(java.lang.String value)
Deprecated. 

Overrides:
setLanguageId in class TextCharacterPropertiesEx

getAlternativeLanguageId

@Deprecated
public java.lang.String getAlternativeLanguageId()
Deprecated. 

Returns or sets the Id of an alternative language. Read/write string.

Overrides:
getAlternativeLanguageId in class TextCharacterPropertiesEx

setAlternativeLanguageId

@Deprecated
public void setAlternativeLanguageId(java.lang.String value)
Deprecated. 

Overrides:
setAlternativeLanguageId in class TextCharacterPropertiesEx

getSpacing

@Deprecated
public float getSpacing()
Deprecated. 

Returns or sets the intercharacter spacing increment. <b>float.NaN</b> means value is undefined. Read/write float.

Overrides:
getSpacing in class TextCharacterPropertiesEx

setSpacing

@Deprecated
public void setSpacing(float value)
Deprecated. 

Overrides:
setSpacing in class TextCharacterPropertiesEx

getText

public java.lang.String getText()

Gets or sets the plain text of a portion..

Value: The text.


setText

public void setText(java.lang.String value)

getField

public FieldEx getField()

Returns a field of this portion. Readonly FieldEx.


addField

public void addField(FieldTypeEx fieldType)

Converts this portion to the automaticaly updated field.


removeField

public void removeField()

Converts this field portion to the simple portion.


getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a text. Read-only BaseSlideEx.

Overrides:
getSlide in class TextCharacterPropertiesEx

getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a text. Read-only PresentationEx.

Overrides:
getPresentation in class TextCharacterPropertiesEx