OpenTypeLicensingRights

Contents
[ ]

Inheritance: java.lang.Object

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public final class OpenTypeLicensingRights implements IEnumValue

Indicates font embedding licensing rights for the font.

Fields

Field Description
None The undefined licensing rights.
UsagePermissionsMask Usage permissions mask.
InstallableEmbedding Installable embedding.
RestrictedLicenseEmbedding Restricted License embedding.
PreviewAndPrintEmbedding Preview and Print embedding.
EditableEmbedding Editable embedding.
NoSubsetting No subsetting.
BitmapEmbeddingOnly Bitmap embedding only.

Methods

Method Description
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()
name()
equals(Object o)
hashCode()

None

public static final OpenTypeLicensingRights None

The undefined licensing rights.

UsagePermissionsMask

public static final OpenTypeLicensingRights UsagePermissionsMask

Usage permissions mask.

InstallableEmbedding

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.

RestrictedLicenseEmbedding

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.

PreviewAndPrintEmbedding

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 \u201cread-only\u201d; no edits can be applied to the document.

EditableEmbedding

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.

NoSubsetting

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.

BitmapEmbeddingOnly

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.

getByRawValue(int rawValue)

public static OpenTypeLicensingRights getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: OpenTypeLicensingRights

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int

name()

public String name()

Returns the name of this enumeration value.

Returns: java.lang.String

equals(Object o)

public boolean equals(Object o)

Parameters:

Parameter Type Description
o java.lang.Object

Returns: boolean

hashCode()

public int hashCode()

Returns: int