Skip navigation links

Oracle Outside In Java API Reference
8.5.4

F11002-01


com.oracle.outsidein.options
Enum Options.PageFitModeValue

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

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

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

Values indicating how to scale spreadsheet and database files in the rendered output.


Enum Constant Summary
FITTOHEIGHT
          scale the database/spreadsheet on the rendered image so it is no larger than one page high.
FITTOPAGES
          fit the database/spreadsheet to one page, scaling to the image width or height depending on the page size and database size
FITTOWIDTH
          scale the database/spreadsheet on the rendered image so it is no larger than one page wide
NOMAP
          No scaling of the database image
SCALETOPERCENT
          fit the spreadsheet in the rendered image using the scale percent value

 

Field Summary
 long value
           

 

Method Summary
static Options.PageFitModeValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Options.PageFitModeValue[] 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

NOMAP

public static final Options.PageFitModeValue NOMAP
No scaling of the database image

FITTOPAGES

public static final Options.PageFitModeValue FITTOPAGES
fit the database/spreadsheet to one page, scaling to the image width or height depending on the page size and database size

FITTOWIDTH

public static final Options.PageFitModeValue FITTOWIDTH
scale the database/spreadsheet on the rendered image so it is no larger than one page wide

FITTOHEIGHT

public static final Options.PageFitModeValue FITTOHEIGHT
scale the database/spreadsheet on the rendered image so it is no larger than one page high.

SCALETOPERCENT

public static final Options.PageFitModeValue SCALETOPERCENT
fit the spreadsheet in the rendered image using the scale percent value

Field Detail

value

public final long value

Method Detail

values

public static Options.PageFitModeValue[] 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.PageFitModeValue c : Options.PageFitModeValue.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.PageFitModeValue 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.