com.aspose.words
Class FontEmbeddingUsagePermissions
java.lang.Object
com.aspose.words.FontEmbeddingUsagePermissions
public class FontEmbeddingUsagePermissions
- extends java.lang.Object
Utility class containing constants.
Represents the font embedding usage permissions.
Example:
Shows how to get license rights information for embedded fonts (FontInfo).
Document doc = new Document(getMyDir() + "Embedded font rights.docx");
// Get the list of document fonts.
FontInfoCollection fontInfos = doc.getFontInfos();
for (FontInfo fontInfo : fontInfos)
{
if (fontInfo.getEmbeddingLicensingRights() != null)
{
System.out.println(fontInfo.getEmbeddingLicensingRights().getEmbeddingUsagePermissions());
System.out.println(fontInfo.getEmbeddingLicensingRights().getBitmapEmbeddingOnly());
System.out.println(fontInfo.getEmbeddingLicensingRights().getNoSubsetting());
}
}
|
Field Summary |
static final int | INSTALLABLE = 0 | |
|
The font may be embedded, and may be permanently installed for use on a remote systems, or for use by
other users.
|
static final int | RESTRICTED_LICENSE = 1 | |
|
The font must not be modified, embedded or exchanged in any manner without first obtaining explicit
permission of the legal owner.
|
static final int | PRINT_AND_PREVIEW = 2 | |
|
The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or
printing the document.
|
static final int | EDITABLE = 3 | |
|
The font may be embedded, and may be temporarily loaded on other systems.
|
INSTALLABLE = 0 | |
public static final int INSTALLABLE |
-
The font may be embedded, and may be permanently installed for use on a remote systems, or for use by
other users.
RESTRICTED_LICENSE = 1 | |
public static final int RESTRICTED_LICENSE |
-
The font must not be modified, embedded or exchanged in any manner without first obtaining explicit
permission of the legal owner.
PRINT_AND_PREVIEW = 2 | |
public static final int PRINT_AND_PREVIEW |
-
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 may
be applied to the document.
EDITABLE = 3 | |
public static final int EDITABLE |
-
The font may be embedded, and may be temporarily loaded on other systems.
As with Preview & 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.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.