com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class LicenseFlags



  • public class LicenseFlags
    extends Object

    Represents a helper wrapper for an embedding flags from 'OS/2' table (field fsType).

    • Method Detail

      • getFSType

        public int getFSType()

        Gets raw fsType value from OS/2 table or 0 if this field doesn't exist in the table.

        Returns:
        Raw fsType value from OS/2 table or 0 if this field doesn't exist in the table.
      • isInstallableEmbedding

        public boolean isInstallableEmbedding()

        Detects whether fsType is Installable embedding.

        Returns:
        Detects whether fsType is Installable embedding.
      • isRestrictedLicenseEmbedding

        public boolean isRestrictedLicenseEmbedding()

        Detects whether fsType is Restricted License embedding.

        Returns:
        Detects whether fsType is Restricted License embedding.
      • isPreviewAndPrintEmbedding

        public boolean isPreviewAndPrintEmbedding()

        Detects whether fsType permits Preview and Print embedding.

        Returns:
        Detects whether fsType permits Preview and Print embedding.
      • isEditableEmbedding

        public boolean isEditableEmbedding()

        Detects whether fsType permits Editable embedding.

        Returns:
        Detects whether fsType permits Editable embedding.
      • isNoSubsettingEmbedding

        public boolean isNoSubsettingEmbedding()

        Detects whether fsType permits NoSubsetting embedding.

        Returns:
        Detects whether fsType permits NoSubsetting embedding.
      • isBitmapOnlyEmbedding

        public boolean isBitmapOnlyEmbedding()

        Detects whether fsType permits BitmapOnly embedding.

        Returns:
        Detects whether fsType permits BitmapOnly embedding.
      • isReservedType

        public boolean isReservedType()

        Detects whether reserved bit(bit 0) is set for fsType.

        Returns:
        Detects whether reserved bit(bit 0) is set for fsType.
      • isFSTypeAbsent

        public boolean isFSTypeAbsent()

        Returns true if fsType flag is absent in 'OS/2' table.

        Returns:
        True if fsType flag is absent in 'OS/2' table.