Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


com.oracle.outsidein.annotations
Class StampAnnotation

java.lang.Object
  extended by com.oracle.outsidein.annotations.Annotation
      extended by com.oracle.outsidein.annotations.StampAnnotation


public class StampAnnotation
extends Annotation

Describes an image to be overlayed on top of the destination document. Only useful when exporting to the HTML5 destination file format.

See Also:
Annotatable.addStampAnnotation(StampAnnotation)

Nested Class Summary
static class StampAnnotation.SizingMethodValue
          The method used to scale the stamp image.

 

Nested classes/interfaces inherited from class com.oracle.outsidein.annotations.Annotation
Annotation.UnitTypeValue

 

Field Summary

 

Fields inherited from class com.oracle.outsidein.annotations.Annotation
m_Height, m_Left, m_Opacity, m_Section, m_Top, m_Units, m_UserId, m_Width

 

Constructor Summary
StampAnnotation(long userId, long sectionIx, long top, long left, long width, long height, Annotation.UnitTypeValue units, float opacity, StampAnnotation.SizingMethodValue sizeMode, java.lang.String stampName)
          Creates a stamp annotation with the specified attributes and location.

 

Method Summary
 net.bitform.oilink.OILinkMessages.HiliteStamp getOILinkHiliteStamp()
          Used internally by the Outside In API and not to be used externally.
 StampAnnotation.SizingMethodValue getSizeMode()
          Obtains the method of sizing the source image.
 java.lang.String getStampName()
          Obtains the String name used to reference the stamp image file.
 void setSizeMode(StampAnnotation.SizingMethodValue mode)
          Specifies the method of sizing the source image.
 void setStampName(java.lang.String name)
          Specifies the String name used to reference the stamp image file.

 

Methods inherited from class com.oracle.outsidein.annotations.Annotation
getHeight, getLeft, getOpacity, getSectionIndex, getTop, getUnits, getUserId, getWidth, setHeight, setLeft, setOpacity, setSectionIndex, setTop, setUnits, setUserId, setWidth

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

StampAnnotation

public StampAnnotation(long userId,
                       long sectionIx,
                       long top,
                       long left,
                       long width,
                       long height,
                       Annotation.UnitTypeValue units,
                       float opacity,
                       StampAnnotation.SizingMethodValue sizeMode,
                       java.lang.String stampName)
Creates a stamp annotation with the specified attributes and location.
Parameters:
userId - the numeric id of the user making the annotation
sectionIx - the 0-based index of the sheet/image/slide where the annotation should be rendered
top - the location of the top of this area annotation
left - the location of the left side of this area annotation
width - the width of the area annotation
height - the height of the area annotation
units - the units of measurement to use for top, left, width, and height
opacity - the opacity of the area annotation
sizeMode - the mode used to scale the stamp image
stampName - the name referencing the stamp image

Method Detail

getSizeMode

public StampAnnotation.SizingMethodValue getSizeMode()
Obtains the method of sizing the source image.
Returns:
the sizing method

setSizeMode

public void setSizeMode(StampAnnotation.SizingMethodValue mode)
Specifies the method of sizing the source image.
Parameters:
mode - the sizing method

getStampName

public java.lang.String getStampName()
Obtains the String name used to reference the stamp image file.
Returns:
the name of the stamp reference

setStampName

public void setStampName(java.lang.String name)
Specifies the String name used to reference the stamp image file.
Parameters:
name - the name referencing of the stamp image
See Also:
Annotatable.addStampImageFile(java.util.Map), Annotatable.addStampImageURL(java.util.Map)

getOILinkHiliteStamp

public net.bitform.oilink.OILinkMessages.HiliteStamp getOILinkHiliteStamp()
Used internally by the Outside In API and not to be used externally.

Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


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