public abstract class StringIndexDataProvider extends Object implements ICffIndexDataProvider
Declares functionality to access CFF String INDEX structure.
| Constructor and Description |
|---|
StringIndexDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addString(String value)
Adds string into CFF String INDEX structure.
|
abstract String |
get(int index)
Gets/sets string at the specified index.
|
abstract int |
getCount()
The number of objects in the CFF INDEX structure.
|
abstract byte[] |
getRawBytes()
Gets all the bytes of the CFF INDEX structure.
|
abstract String |
getString(int index)
Gets string at the specified index from CFF String INDEX structure.
|
abstract void |
removeString(int index)
Removes string from CFF String Index structure at the specified index.
|
abstract void |
set(int index,
String value) |
abstract void |
setString(String value,
int index)
Sets string in the CFF String Index structure at the specified index.
|
public abstract int getCount()
getCount in interface ICffIndexDataProviderpublic abstract byte[] getRawBytes()
getRawBytes in interface ICffIndexDataProviderpublic abstract String getString(int index)
index - Index of string, index means ordinal number in CFF INDEX structure, not SIDpublic abstract void addString(String value)
value - String valuepublic abstract void setString(String value, int index)
value - String valueindex - Index of string, index means ordinal number in CFF INDEX structure, not SIDpublic abstract void removeString(int index)
index - Index of string, index means an ordinal number at CFF INDEX structure, not SIDpublic abstract String get(int index)
index - Index of string, index means an ordinal number at CFF INDEX structure, not SIDpublic abstract void set(int index,
String value)
Copyright © 2025 Aspose. All Rights Reserved.