com.spire.doc
Class PrivateFontPath

java.lang.Object
  extended by com.spire.doc.PrivateFontPath

public final class PrivateFontPath
extends java.lang.Object

the PrivateFontPath struct.


Constructor Summary
PrivateFontPath()
           
PrivateFontPath(java.lang.String fontName, java.io.InputStream fontStream)
          Initializes a new instance of the PrivateFontPath struct.
PrivateFontPath(java.lang.String fontName, int fontStyle, java.io.InputStream fontStream)
          Initializes a new instance of the PrivateFontPath struct.
PrivateFontPath(java.lang.String fontName, int fontStyle, java.lang.String fontPath)
          Initializes a new instance of the PrivateFontPath struct.
PrivateFontPath(java.lang.String fontName, int fontStyle, java.lang.String fontPath, boolean useArabicConcatenationRules)
          Initializes a new instance of the PrivateFontPath struct.
PrivateFontPath(java.lang.String fontName, java.lang.String fontPath)
          Initializes a new instance of the PrivateFontPath struct.
PrivateFontPath(java.lang.String fontName, java.lang.String fontPath, boolean useArabicConcatenationRules)
          Initializes a new instance of the PrivateFontPath struct.
 
Method Summary
 java.lang.String getFontName()
          Gets or sets the name of the font.
 java.lang.String getFontPath()
          Gets or sets the path of the font.
 java.io.InputStream getFontStream()
          Gets the stream fo the font
 int getFontStyle()
          Gets of sets the style of the font.
 boolean getUseArabicConcatenationRules()
          Gets or sets a value indicating whether use arabic concatenation rules.
 void setFontName(java.lang.String value)
          Gets or sets the name of the font.
 void setFontPath(java.lang.String value)
          Gets or sets the path of the font.
 void setFontStream(java.io.InputStream value)
          Sets the stream of the font.
 void setFontStyle(int value)
          Gets of sets the style of the font.
 void setUseArabicConcatenationRules(boolean value)
          Gets or sets a value indicating whether use arabic concatenation rules.
 

Constructor Detail

PrivateFontPath

public PrivateFontPath()

PrivateFontPath

public PrivateFontPath(java.lang.String fontName,
                       java.lang.String fontPath)
Initializes a new instance of the PrivateFontPath struct.

Parameters:
fontName - The font name.
fontPath - The font path.

PrivateFontPath

public PrivateFontPath(java.lang.String fontName,
                       java.lang.String fontPath,
                       boolean useArabicConcatenationRules)
Initializes a new instance of the PrivateFontPath struct.

Parameters:
fontName - The font name.
fontPath - The font path.
useArabicConcatenationRules - Use arabic concatenation rules. default is true.

PrivateFontPath

public PrivateFontPath(java.lang.String fontName,
                       int fontStyle,
                       java.lang.String fontPath)
Initializes a new instance of the PrivateFontPath struct.

Parameters:
fontName - The font name.
fontStyle - The font style.
fontPath - The font path.

PrivateFontPath

public PrivateFontPath(java.lang.String fontName,
                       int fontStyle,
                       java.lang.String fontPath,
                       boolean useArabicConcatenationRules)
Initializes a new instance of the PrivateFontPath struct.

Parameters:
fontName - The font name.
fontStyle - The font style.
fontPath - The font path.
useArabicConcatenationRules - Use arabic concatenation rules. default is true.

PrivateFontPath

public PrivateFontPath(java.lang.String fontName,
                       java.io.InputStream fontStream)
Initializes a new instance of the PrivateFontPath struct.

Parameters:
fontName - The font name.
fontStream - The font stream..

PrivateFontPath

public PrivateFontPath(java.lang.String fontName,
                       int fontStyle,
                       java.io.InputStream fontStream)
Initializes a new instance of the PrivateFontPath struct.

Parameters:
fontName - The font name.
fontStyle - The font style.
fontStream - The font fontStream.
Method Detail

getFontPath

public java.lang.String getFontPath()
Gets or sets the path of the font.


setFontPath

public void setFontPath(java.lang.String value)
Gets or sets the path of the font.


getFontName

public java.lang.String getFontName()
Gets or sets the name of the font.


setFontName

public void setFontName(java.lang.String value)
Gets or sets the name of the font.


getFontStyle

public int getFontStyle()
Gets of sets the style of the font.


setFontStyle

public void setFontStyle(int value)
Gets of sets the style of the font.


getUseArabicConcatenationRules

public boolean getUseArabicConcatenationRules()
Gets or sets a value indicating whether use arabic concatenation rules. default is true.

Returns:
true if true use arabic concatenation rules,false.

setUseArabicConcatenationRules

public void setUseArabicConcatenationRules(boolean value)
Gets or sets a value indicating whether use arabic concatenation rules. default is true.


getFontStream

public java.io.InputStream getFontStream()
Gets the stream fo the font

Returns:
The font stream

setFontStream

public void setFontStream(java.io.InputStream value)
Sets the stream of the font.

Parameters:
value - The font stream