com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class OpenTypeLicensingRights

  • All Implemented Interfaces:
    IEnumValue


    public final class OpenTypeLicensingRights
    extends Object
    implements IEnumValue

    Indicates font embedding licensing rights for the font.

    • Field Detail

      • 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 “read-only”; 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.

    • Method Detail

      • getAllValues

        public Object[] getAllValues()
        Description copied from interface: IEnumValue

        Returns the array of all values defined in the class.

        Specified by:
        getAllValues in interface IEnumValue
        Returns:
        The array of all values defined in the class.
      • getEnumValueByRawValue

        public IEnumValue getEnumValueByRawValue(int rawValue)
        Description copied from interface: IEnumValue

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

        Specified by:
        getEnumValueByRawValue in interface IEnumValue
        Parameters:
        rawValue - The raw value.
        Returns:
        The enumeration value.
      • getEnumValueByName

        public IEnumValue getEnumValueByName(String name)
        Description copied from interface: IEnumValue

        Returns the enumeration value by its name.

        Specified by:
        getEnumValueByName in interface IEnumValue
        Parameters:
        name - The name of the enumeration value.
        Returns:
        The enumeration value.
      • getRawValueType

        public RawIntegerType getRawValueType()
        Description copied from interface: IEnumValue

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

        Specified by:
        getRawValueType in interface IEnumValue
        Returns:
        The underlying type of the raw value.
      • getRawValue

        public int getRawValue()
        Description copied from interface: IEnumValue

        Returns the raw value of this enumeration value.

        Specified by:
        getRawValue in interface IEnumValue
        Returns:
        The raw value.
      • name

        public String name()
        Description copied from interface: IEnumValue

        Returns the name of this enumeration value.

        Specified by:
        name in interface IEnumValue
        Returns:
        The name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object