NameIndexDataProvider

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.font.ICffIndexDataProvider

public abstract class NameIndexDataProvider implements ICffIndexDataProvider

Proporciona configuraciones comunes a fuentes CFF.

Constructores

ConstructorDescripción
NameIndexDataProvider()

Métodos

MétodoDescripción
addName(String name)Agrega un nombre de fuente a la estructura Name INDEX.
equals(Object arg0)
get(int index)Obtiene el nombre de la fuente en el índice especificado.
getClass()
getCount()Obtiene el número de objetos en la estructura CFF INDEX.
getName(int index)Obtiene el nombre de la fuente en el índice especificado.
getRawBytes()Obtiene todos los bytes de la estructura CFF INDEX.
hashCode()
notify()
notifyAll()
removeName(int index)Elimina el nombre en el índice especificado.
set(int index, String name)Especifica el nombre de la fuente en el índice especificado.
setName(String name, int index)Establece el nombre de la fuente en el índice especificado.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

NameIndexDataProvider()

public NameIndexDataProvider()

addName(String name)

public abstract void addName(String name)

Agrega un nombre de fuente a la estructura Name INDEX. Use este método con precaución porque cada nombre de fuente en la estructura CFF Name INDEX debe tener una estructura DICT correspondiente en el índice Top DICT según la especificación CFF.

Parameters:

ParámetroTipoDescripción
nombrejava.lang.String

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParámetroTipoDescripción
arg0java.lang.Object

Returns: boolean

get(int index)

public abstract String get(int index)

Obtiene el nombre de la fuente en el índice especificado.

Parameters:

ParámetroTipoDescripción
índiceintÍndice de fuente.

Returns: java.lang.String - Nombre de fuente.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCount()

public abstract int getCount()

Obtiene el número de objetos en la estructura CFF INDEX.

Returns: int

getName(int index)

public abstract String getName(int index)

Obtiene el nombre de la fuente en el índice especificado.

Parameters:

ParámetroTipoDescripción
índiceintÍndice de fuente.

Returns: java.lang.String - El nombre de la fuente.

getRawBytes()

public abstract byte[] getRawBytes()

Obtiene todos los bytes de la estructura CFF INDEX.

Returns: byte[] - Bytes de la estructura CFF INDEX

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)

Elimina el nombre en el índice especificado. Use este método con precaución porque cada nombre de fuente en la estructura CFF Name INDEX debe tener una estructura DICT correspondiente en el índice Top DICT según la especificación CFF.

Parameters:

ParámetroTipoDescripción
índiceintÍndice de fuente.

set(int index, String name)

public abstract void set(int index, String name)

Especifica el nombre de la fuente en el índice especificado.

Parameters:

ParámetroTipoDescripción
índiceintÍndice de fuente.
nombrejava.lang.StringNombre de fuente.

setName(String name, int index)

public abstract void setName(String name, int index)

Establece el nombre de la fuente en el índice especificado.

Parameters:

ParámetroTipoDescripción
nombrejava.lang.StringNombre de fuente.
índiceintÍndice de fuente.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParámetroTipoDescripción
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParámetroTipoDescripción
arg0long
arg1int