NameIndexDataProvider

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.font.ICffIndexDataProvider

public abstract class NameIndexDataProvider implements ICffIndexDataProvider

Provides settings common to CFF fonts.

Constructors

ConstructorDescription
NameIndexDataProvider()

Methods

MethodDescription
addName(String name)Adds a font name to the Name INDEX structure.
equals(Object arg0)
get(int index)Gets font name at the specified index.
getClass()
getCount()Gets the number of objects in the CFF INDEX structure.
getName(int index)Gets name of font at the specified index.
getRawBytes()Gets all the bytes of the CFF INDEX structure.
hashCode()
notify()
notifyAll()
removeName(int index)Removes the name at the specified index.
set(int index, String name)Specifies font name at the specified index.
setName(String name, int index)Sets font name at the specified index.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

NameIndexDataProvider()

public NameIndexDataProvider()

addName(String name)

public abstract void addName(String name)

Adds a font name to the Name INDEX structure. Use this method with caution because each font name in the CFF Name INDEX structure must have a corresponding DICT structure in the Top DICT index according to the CFF specification.

Parameters:

ParameterTypeDescription
namejava.lang.String

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public abstract String get(int index)

Gets font name at the specified index.

Parameters:

ParameterTypeDescription
indexintFont index.

Returns: java.lang.String - Font name.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCount()

public abstract int getCount()

Gets the number of objects in the CFF INDEX structure.

Returns: int

getName(int index)

public abstract String getName(int index)

Gets name of font at the specified index.

Parameters:

ParameterTypeDescription
indexintFont index.

Returns: java.lang.String - The font name.

getRawBytes()

public abstract byte[] getRawBytes()

Gets all the bytes of the CFF INDEX structure.

Returns: byte[] - Bytes of the CFF INDEX structure

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeName(int index)

public abstract void removeName(int index)

Removes the name at the specified index. Use this method with caution because each font name in the CFF Name INDEX structure must have a corresponding DICT structure in the Top DICT index according to the CFF specification.

Parameters:

ParameterTypeDescription
indexintFont index.

set(int index, String name)

public abstract void set(int index, String name)

Specifies font name at the specified index.

Parameters:

ParameterTypeDescription
indexintFont index.
namejava.lang.StringFont name.

setName(String name, int index)

public abstract void setName(String name, int index)

Sets font name at the specified index.

Parameters:

ParameterTypeDescription
namejava.lang.StringFont name.
indexintFont index.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int