public final class OpenTypeLicensingRights extends Object implements IEnumValue
Indicates font embedding licensing rights for the font.
Modifier and Type | Field and Description |
---|---|
static OpenTypeLicensingRights |
BitmapEmbeddingOnly
Bitmap embedding only.
|
static OpenTypeLicensingRights |
EditableEmbedding
Editable embedding.
|
static OpenTypeLicensingRights |
InstallableEmbedding
Installable embedding.
|
static OpenTypeLicensingRights |
None
The undefined licensing rights.
|
static OpenTypeLicensingRights |
NoSubsetting
No subsetting.
|
static OpenTypeLicensingRights |
PreviewAndPrintEmbedding
Preview and Print embedding.
|
static OpenTypeLicensingRights |
RestrictedLicenseEmbedding
Restricted License embedding.
|
static OpenTypeLicensingRights |
UsagePermissionsMask
Usage permissions mask.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static OpenTypeLicensingRights |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
int |
hashCode() |
String |
name()
Returns the name of this enumeration value.
|
public static final OpenTypeLicensingRights None
The undefined licensing rights.
public static final OpenTypeLicensingRights UsagePermissionsMask
Usage permissions mask.
public static final OpenTypeLicensingRights InstallableEmbedding
Installable embedding. The font may be embedded, and may be permanently installed for use on a remote systems, or for use by other users.
public static final OpenTypeLicensingRights RestrictedLicenseEmbedding
Restricted License embedding. The font must not be modified, embedded or exchanged in any manner without first obtaining explicit permission of the legal owner.
public static final OpenTypeLicensingRights PreviewAndPrintEmbedding
Preview and Print embedding. The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or printing the document. Documents containing Preview & Print fonts must be opened “read-only”; no edits can be applied to the document.
public static final OpenTypeLicensingRights EditableEmbedding
Editable embedding. The font may be embedded, and may be temporarily loaded on other systems. As with Preview and Print embedding, documents containing Editable fonts may be opened for reading. In addition, editing is permitted, including ability to format new text using the embedded font, and changes may be saved.
public static final OpenTypeLicensingRights NoSubsetting
No subsetting. When this bit is set, the font may not be subsetted prior to embedding. Other embedding restrictions specified in bits 0 to 3 and bit 9 also apply.
public static final OpenTypeLicensingRights BitmapEmbeddingOnly
Bitmap embedding only. When this bit is set, only bitmaps contained in the font may be embedded. No outline data may be embedded. If there are no bitmaps available in the font, then the font is considered unembeddable and the embedding services will fail. Other embedding restrictions specified in bits 0-3 and 8 also apply.
public static OpenTypeLicensingRights getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue
public String name()
IEnumValue
Returns the name of this enumeration value.
name
in interface IEnumValue