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 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 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 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 None
The undefined licensing rights.
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 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 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 UsagePermissionsMask
Usage permissions mask.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static OpenTypeLicensingRights getByRawValue(int rawValue)
public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public static IEnumValue getFirst()
public int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValuepublic RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic String name()
IEnumValueReturns the name of this enumeration value.
name in interface IEnumValueCopyright © 2025. All rights reserved.