Skip navigation links

Oracle Outside In Java API Reference
8.5.4

F11002-01


com.oracle.outsidein.options
Enum Options.WebFontPermissionValues

java.lang.Object
  extended by java.lang.Enum<Options.WebFontPermissionValues>
      extended by com.oracle.outsidein.options.Options.WebFontPermissionValues

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Options.WebFontPermissionValues>
Enclosing class:
Options

public static enum Options.WebFontPermissionValues
extends java.lang.Enum<Options.WebFontPermissionValues>

Flags to control the use of embedded fonts in the output file when exporting to the HTML5 file format.


Enum Constant Summary
DEFAULTPERMISSIONS
          Normally restricted per the TrueType specification.
REQUIREEDITABLE
          This requires that the font declare itself as capable being edited.
REQUIREINSTALLABLE
          Font selection is tightly restricted (a la Internet Explorer 9/10).
REQUIREPREVIEWPRINT
          This requires that the font declare itself as capable of preview and print.

 

Field Summary
 long value
           

 

Method Summary
static Options.WebFontPermissionValues valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Options.WebFontPermissionValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

DEFAULTPERMISSIONS

public static final Options.WebFontPermissionValues DEFAULTPERMISSIONS
Normally restricted per the TrueType specification. This requires that the font declare itself as capable of being embedded.

REQUIREINSTALLABLE

public static final Options.WebFontPermissionValues REQUIREINSTALLABLE
Font selection is tightly restricted (a la Internet Explorer 9/10). This requires that the font declare itself as capable of being installed.

REQUIREPREVIEWPRINT

public static final Options.WebFontPermissionValues REQUIREPREVIEWPRINT
This requires that the font declare itself as capable of preview and print. When this bit is set, the font may be embedded, and temporarily loaded on the remote system. Documents containing Preview and Print fonts must be opened as read-only; no edits can be applied to the document.

REQUIREEDITABLE

public static final Options.WebFontPermissionValues REQUIREEDITABLE
This requires that the font declare itself as capable being edited. When this bit is set, the font may be embedded but must only be installed temporarily on other systems. In contrast to Preview and Print fonts, documents containing Editable fonts may be opened for reading, editing is permitted, and changes may be saved.

Field Detail

value

public final long value

Method Detail

values

public static Options.WebFontPermissionValues[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Options.WebFontPermissionValues c : Options.WebFontPermissionValues.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Options.WebFontPermissionValues valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Outside In Java API Reference
8.5.4

F11002-01


Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.