Mako 7.3.0 API
JawsMako::IAnnotationAppearance Class Referenceabstract

An interface class for an annotation appearance, describing the graphical content of an annotation in a given usage and state. Annotation appearances are immutable. More...

#include <interactive.h>

Inheritance diagram for JawsMako::IAnnotationAppearance:

Public Member Functions

virtual IAnnotationAppearancePtr clone () const =0
 Clone the appearance. This is a deep clone. More...
 
virtual eAppearanceUsage getUsage () const =0
 Get the usage for this appearance. More...
 
virtual U8String getState () const =0
 Get the appearance state for this appearance. Will return an empty string if there is no state associated with the appearance. More...
 
virtual IDOMFormPtr getForm () const =0
 Get the graphical contents as an IDOMForm. Do not edit this form. More...
 
virtual IDOMNodePtr getScaledAppearance (const FRect &annotRect) const =0
 Get DOM for the annotation scaled appropriately to the given rect. Useful for preparing an annotation appearance for display or rendering. A clone of the contents will be returned. More...
 
- Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
 
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. More...
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to. More...
 

Static Public Member Functions

static JAWSMAKO_API IAnnotationAppearancePtr create (const IJawsMakoPtr &jawsMako, const IDOMFormPtr &form, eAppearanceUsage usage, const U8String &state=U8String())
 Create a new annotation appearance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.
 

Detailed Description

An interface class for an annotation appearance, describing the graphical content of an annotation in a given usage and state. Annotation appearances are immutable.

Member Function Documentation

◆ clone()

virtual IAnnotationAppearancePtr JawsMako::IAnnotationAppearance::clone ( ) const
pure virtual

Clone the appearance. This is a deep clone.

Returns
IAnnotationAppearancePtr A smart pointer to the cloned annotation appearance

◆ create()

static JAWSMAKO_API IAnnotationAppearancePtr JawsMako::IAnnotationAppearance::create ( const IJawsMakoPtr &  jawsMako,
const IDOMFormPtr &  form,
eAppearanceUsage  usage,
const U8String state = U8String() 
)
static

Create a new annotation appearance.

Parameters
jawsMakoThe JawsMako instance
formThe graphical contents as an IDOMForm
usageThe usage for this appearance
stateThe appearance state for this appearance
Returns
IAnnotationAppearancePtr A smart pointer to the new annotation appearance

◆ getForm()

virtual IDOMFormPtr JawsMako::IAnnotationAppearance::getForm ( ) const
pure virtual

Get the graphical contents as an IDOMForm. Do not edit this form.

Returns
IDOMFormPtr The graphical contents as an IDOMForm

◆ getScaledAppearance()

virtual IDOMNodePtr JawsMako::IAnnotationAppearance::getScaledAppearance ( const FRect &  annotRect) const
pure virtual

Get DOM for the annotation scaled appropriately to the given rect. Useful for preparing an annotation appearance for display or rendering. A clone of the contents will be returned.

Parameters
annotRectAn FRect that defines the scale of the returned DOM node
Returns
IDOMNodePtr The DOM for the annotation

◆ getState()

virtual U8String JawsMako::IAnnotationAppearance::getState ( ) const
pure virtual

Get the appearance state for this appearance. Will return an empty string if there is no state associated with the appearance.

Returns
U8String The appearance state for this appearance

◆ getUsage()

virtual eAppearanceUsage JawsMako::IAnnotationAppearance::getUsage ( ) const
pure virtual

Get the usage for this appearance.

Returns
eAppearanceUsage The usage for this appearance

The documentation for this class was generated from the following file: