com.aspose.slides.pptx
Class PortionEx

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

public final class PortionEx
extends TextCharacterPropertiesEx

Represents a portion of a text.


Field Summary
 
Fields inherited from class com.aspose.slides.pptx.TextCharacterPropertiesEx
m_csFont, m_eaFont, m_font, m_lineFormat, m_symFont
 
Constructor Summary
PortionEx()
          Initializes a new instance of the PortionEx class.
PortionEx(PortionEx portion)
          Initializes a new instance of the PortionEx class using another PortionEx.
PortionEx(java.lang.String str)
          Initializes a new instance of the PortionEx class using string.
 
Method Summary
 java.lang.String getAlternativeLanguageId()
          Returns the Id of an alternative language.
 FontDataEx getComplexScriptFont()
          Returns the complex script font info.
 FontDataEx getEastAsianFont()
          Returns the Eastern Asian font info.
 float getEscapement()
          Returns the superscript or subscript text.
 NullableBool getFontBold()
          Determines whether the font is bold.
 float getFontHeight()
          Returns the font height of a portion.
 NullableBool getFontItalic()
          Determines whether the font is italic.
 TextUnderlineTypeEx getFontUnderline()
          Returns the text underline type.
 NullableBool getIsHardUnderlineFill()
          Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text.
 NullableBool getIsHardUnderlineLine()
          Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text.
 float getKerningMinimalSize()
          Returns the minimal font size, for which kerning should be switched on.
 NullableBool getKumimoji()
          Determines whether the numbers should ignore text eastern language-specific vertical text layout.
 java.lang.String getLanguageId()
          Returns the Id of a language.
 FontDataEx getLatinFont()
          Returns the Latin font info.
 NullableBool getNoProof()
          Determines whether the text shouldn't be proofed.
 NullableBool getNormaliseHeight()
          Determines whether the height of a text should be normalized.
 float getSpacing()
          Returns the intercharacter spacing increment.
 TextStrikethroughTypeEx getStrikethroughType()
          Returns the strikethrough type of a text.
 FontDataEx getSymbolFont()
          Returns the symbolic font info.
 java.lang.String getText()
          Returns the plain text of a portion.
 TextCapTypeEx getTextCapType()
          Returns the type of text capitalization.
 void setAlternativeLanguageId(java.lang.String value)
          Sets the Id of an alternative language.
 void setComplexScriptFont(FontDataEx value)
          Sets the complex script font info.
 void setEastAsianFont(FontDataEx value)
          Sets the Eastern Asian font info.
 void setEscapement(float value)
          Sets the superscript or subscript text.
 void setFontBold(NullableBool value)
          Determines whether the font is bold.
 void setFontHeight(float value)
          Sets the font height of a portion.
 void setFontItalic(NullableBool value)
          Determines whether the font is itallic.
 void setFontUnderline(TextUnderlineTypeEx value)
          Sets the text underline type.
 void setIsHardUnderlineFill(NullableBool value)
          Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text.
 void setIsHardUnderlineLine(NullableBool value)
          Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text.
 void setKerningMinimalSize(float value)
          Sets the minimal font size, for which kerning should be switched on.
 void setKumimoji(NullableBool value)
          Determines whether the numbers should ignore text eastern language-specific vertical text layout.
 void setLanguageId(java.lang.String value)
          Sets the Id of a language.
 void setLatinFont(FontDataEx value)
          Sets the Latin font info.
 void setNoProof(NullableBool value)
          Determines whether the text shouldn't be proofed.
 void setNormaliseHeight(NullableBool value)
          Determines whether the height of a text should be normalized.
 void setSpacing(float value)
          Sets the intercharacter spacing increment.
 void setStrikethroughType(TextStrikethroughTypeEx value)
          Sets the strikethrough type of a text.
 void setSymbolFont(FontDataEx value)
          Sets the symbolic font info.
 void setText(java.lang.String value)
          Sets the plain text of a portion.
 void setTextCapType(TextCapTypeEx value)
          Sets the type of text capitalization.
 
Methods inherited from class com.aspose.slides.pptx.TextCharacterPropertiesEx
getBookmarkId, getFillFormat, getHighlightColor, getHLinkClick, getHLinkMouseOver, getLineFormat, getPresentation, getRawAlternativeLanguageId, getRawComplexScriptFont, getRawEastAsianFont, getRawEscapement, getRawFontBold, getRawFontHeight, getRawFontItalic, getRawFontUnderline, getRawIsHardUnderlineFill, getRawIsHardUnderlineLine, getRawKerningMinimalSize, getRawKumimoji, getRawLanguageId, getRawLatinFont, getRawNoProof, getRawNormaliseHeight, getRawSpacing, getRawStrikethroughType, getRawSymbolFont, getRawTextCapType, getSlide, getSmartTagClean, getUnderlineFillFormat, getUnderlineLineFormat, setBookmarkId, setHLinkClick, setHLinkMouseOver, setRawAlternativeLanguageId, setRawComplexScriptFont, setRawEastAsianFont, setRawEscapement, setRawFontBold, setRawFontHeight, setRawFontItalic, setRawFontUnderline, setRawIsHardUnderlineFill, setRawIsHardUnderlineLine, setRawKerningMinimalSize, setRawKumimoji, setRawLanguageId, setRawLatinFont, setRawNoProof, setRawNormaliseHeight, 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 PortionEx class.


PortionEx

public PortionEx(java.lang.String str)
Initializes a new instance of the PortionEx class using string.


PortionEx

public PortionEx(PortionEx portion)
Initializes a new instance of the PortionEx class using another PortionEx.

Method Detail

getFontBold

public NullableBool getFontBold()
Description copied from class: TextCharacterPropertiesEx
Determines whether the font is bold.

Overrides:
getFontBold in class TextCharacterPropertiesEx

setFontBold

public void setFontBold(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the font is bold.

Overrides:
setFontBold in class TextCharacterPropertiesEx

getFontItalic

public NullableBool getFontItalic()
Description copied from class: TextCharacterPropertiesEx
Determines whether the font is italic.

Overrides:
getFontItalic in class TextCharacterPropertiesEx

setFontItalic

public void setFontItalic(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the font is itallic.

Overrides:
setFontItalic in class TextCharacterPropertiesEx

getKumimoji

public NullableBool getKumimoji()
Description copied from class: TextCharacterPropertiesEx
Determines whether the numbers should ignore text eastern language-specific vertical text layout.

Overrides:
getKumimoji in class TextCharacterPropertiesEx

setKumimoji

public void setKumimoji(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the numbers should ignore text eastern language-specific vertical text layout.

Overrides:
setKumimoji in class TextCharacterPropertiesEx

getNormaliseHeight

public NullableBool getNormaliseHeight()
Description copied from class: TextCharacterPropertiesEx
Determines whether the height of a text should be normalized.

Overrides:
getNormaliseHeight in class TextCharacterPropertiesEx

setNormaliseHeight

public void setNormaliseHeight(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the height of a text should be normalized.

Overrides:
setNormaliseHeight in class TextCharacterPropertiesEx

getNoProof

public NullableBool getNoProof()
Description copied from class: TextCharacterPropertiesEx
Determines whether the text shouldn't be proofed.

Overrides:
getNoProof in class TextCharacterPropertiesEx

setNoProof

public void setNoProof(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the text shouldn't be proofed.

Overrides:
setNoProof in class TextCharacterPropertiesEx

getFontUnderline

public TextUnderlineTypeEx getFontUnderline()
Description copied from class: TextCharacterPropertiesEx
Returns the text underline type.

Overrides:
getFontUnderline in class TextCharacterPropertiesEx

setFontUnderline

public void setFontUnderline(TextUnderlineTypeEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the text underline type.

Overrides:
setFontUnderline in class TextCharacterPropertiesEx

getTextCapType

public TextCapTypeEx getTextCapType()
Description copied from class: TextCharacterPropertiesEx
Returns the type of text capitalization.

Overrides:
getTextCapType in class TextCharacterPropertiesEx

setTextCapType

public void setTextCapType(TextCapTypeEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the type of text capitalization.

Overrides:
setTextCapType in class TextCharacterPropertiesEx

getStrikethroughType

public TextStrikethroughTypeEx getStrikethroughType()
Description copied from class: TextCharacterPropertiesEx
Returns the strikethrough type of a text.

Overrides:
getStrikethroughType in class TextCharacterPropertiesEx

setStrikethroughType

public void setStrikethroughType(TextStrikethroughTypeEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the strikethrough type of a text.

Overrides:
setStrikethroughType in class TextCharacterPropertiesEx

getIsHardUnderlineLine

public NullableBool getIsHardUnderlineLine()
Description copied from class: TextCharacterPropertiesEx
Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text.

Overrides:
getIsHardUnderlineLine in class TextCharacterPropertiesEx

setIsHardUnderlineLine

public void setIsHardUnderlineLine(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text.

Overrides:
setIsHardUnderlineLine in class TextCharacterPropertiesEx

getIsHardUnderlineFill

public NullableBool getIsHardUnderlineFill()
Description copied from class: TextCharacterPropertiesEx
Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text.

Overrides:
getIsHardUnderlineFill in class TextCharacterPropertiesEx

setIsHardUnderlineFill

public void setIsHardUnderlineFill(NullableBool value)
Description copied from class: TextCharacterPropertiesEx
Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text.

Overrides:
setIsHardUnderlineFill in class TextCharacterPropertiesEx

getFontHeight

public float getFontHeight()
Description copied from class: TextCharacterPropertiesEx
Returns the font height of a portion. Float.NaN means height is undefined.

Overrides:
getFontHeight in class TextCharacterPropertiesEx

setFontHeight

public void setFontHeight(float value)
Description copied from class: TextCharacterPropertiesEx
Sets the font height of a portion. Float.NaN means height is undefined.

Overrides:
setFontHeight in class TextCharacterPropertiesEx

getLatinFont

public FontDataEx getLatinFont()
Description copied from class: TextCharacterPropertiesEx
Returns the Latin font info. Null means font is undefined.

Overrides:
getLatinFont in class TextCharacterPropertiesEx

setLatinFont

public void setLatinFont(FontDataEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the Latin font info. Null means font is undefined.

Overrides:
setLatinFont in class TextCharacterPropertiesEx

getEastAsianFont

public FontDataEx getEastAsianFont()
Description copied from class: TextCharacterPropertiesEx
Returns the Eastern Asian font info. Null means font is undefined.

Overrides:
getEastAsianFont in class TextCharacterPropertiesEx

setEastAsianFont

public void setEastAsianFont(FontDataEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the Eastern Asian font info. Null means font is undefined.

Overrides:
setEastAsianFont in class TextCharacterPropertiesEx

getComplexScriptFont

public FontDataEx getComplexScriptFont()
Description copied from class: TextCharacterPropertiesEx
Returns the complex script font info. Null means font is undefined.

Overrides:
getComplexScriptFont in class TextCharacterPropertiesEx

setComplexScriptFont

public void setComplexScriptFont(FontDataEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the complex script font info. Null means font is undefined.

Overrides:
setComplexScriptFont in class TextCharacterPropertiesEx

getSymbolFont

public FontDataEx getSymbolFont()
Description copied from class: TextCharacterPropertiesEx
Returns the symbolic font info. Null means font is undefined.

Overrides:
getSymbolFont in class TextCharacterPropertiesEx

setSymbolFont

public void setSymbolFont(FontDataEx value)
Description copied from class: TextCharacterPropertiesEx
Sets the symbolic font info. Null means font is undefined.

Overrides:
setSymbolFont in class TextCharacterPropertiesEx

getEscapement

public float getEscapement()
Description copied from class: TextCharacterPropertiesEx
Returns the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). float.NaN means value is undefined.

Overrides:
getEscapement in class TextCharacterPropertiesEx

setEscapement

public void setEscapement(float value)
Description copied from class: TextCharacterPropertiesEx
Sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). float.NaN means value is undefined.

Overrides:
setEscapement in class TextCharacterPropertiesEx

getKerningMinimalSize

public float getKerningMinimalSize()
Description copied from class: TextCharacterPropertiesEx
Returns the minimal font size, for which kerning should be switched on. Float.NaN means value is undefined.

Overrides:
getKerningMinimalSize in class TextCharacterPropertiesEx

setKerningMinimalSize

public void setKerningMinimalSize(float value)
Description copied from class: TextCharacterPropertiesEx
Sets the minimal font size, for which kerning should be switched on. Float.NaN means value is undefined.

Overrides:
setKerningMinimalSize in class TextCharacterPropertiesEx

getLanguageId

public java.lang.String getLanguageId()
Description copied from class: TextCharacterPropertiesEx
Returns the Id of a language.

Overrides:
getLanguageId in class TextCharacterPropertiesEx

setLanguageId

public void setLanguageId(java.lang.String value)
Description copied from class: TextCharacterPropertiesEx
Sets the Id of a language.

Overrides:
setLanguageId in class TextCharacterPropertiesEx

getAlternativeLanguageId

public java.lang.String getAlternativeLanguageId()
Description copied from class: TextCharacterPropertiesEx
Returns the Id of an alternative language.

Overrides:
getAlternativeLanguageId in class TextCharacterPropertiesEx

setAlternativeLanguageId

public void setAlternativeLanguageId(java.lang.String value)
Description copied from class: TextCharacterPropertiesEx
Sets the Id of an alternative language.

Overrides:
setAlternativeLanguageId in class TextCharacterPropertiesEx

getSpacing

public float getSpacing()
Description copied from class: TextCharacterPropertiesEx
Returns the intercharacter spacing increment. Float.NaN means value is undefined.

Overrides:
getSpacing in class TextCharacterPropertiesEx

setSpacing

public void setSpacing(float value)
Description copied from class: TextCharacterPropertiesEx
Sets the intercharacter spacing increment. Float.NaN means value is undefined.

Overrides:
setSpacing in class TextCharacterPropertiesEx

getText

public java.lang.String getText()
Returns the plain text of a portion.


setText

public void setText(java.lang.String value)
Sets the plain text of a portion.

Parameters:
value - new text value.