Mako 7.5.0 API
Loading...
Searching...
No Matches
IDOMPageRectTarget Class Referenceabstract

IDOMPageRectTarget nodes are used to describe hyperlinks on a page rectangle to targets on the same page. More...

#include <idomtarget.h>

Inheritance diagram for IDOMPageRectTarget:

Public Types

enum  eFitType
 Destination fit types enumeration.
 
- Public Types inherited from IDOMTarget
enum  eTargetType {
  eExternal , eInternal , ePage , ePageRect ,
  eActionGoToR , eActionGoToE , eActionLaunch , eActionThread ,
  eActionSound , eActionMovie , eActionHide , eActionNamed ,
  eActionSubmitForm , eActionResetForm , eActionImportData , eActionJavaScript ,
  eActionSetOCGState , eActionRendition , eActionTrans , eActionGoTo3DView ,
  eActionArray
}
 An enumeration of target types. More...
 

Public Member Functions

virtual DOMid getPageId () const =0
 Retrieves the target page DOM id.
 
virtual void setPageId (DOMid domId)=0
 Sets the target page DOM id.
 
virtual eFitType getFitType () const =0
 Gets the fit type.
 
virtual void setFitType (eFitType fitType)=0
 Sets the fit type.
 
virtual double getZoom () const =0
 Gets the zoom value.
 
virtual void setZoom (double zoom)=0
 Sets for the zoom value.
 
virtual doubleWithNull getLeft () const =0
 Gets the left coordinate value of the target.
 
virtual void setLeft (const doubleWithNull &left)=0
 Sets the left coordinate value of the target.
 
virtual doubleWithNull getTop () const =0
 Gets the top coordinate value of the target.
 
virtual void setTop (const doubleWithNull &top)=0
 Sets the top coordinate value of the target.
 
virtual doubleWithNull getRight () const =0
 Gets the right coordinate value of the target.
 
virtual void setRight (const doubleWithNull &right)=0
 Sets the right coordinate value of the target.
 
virtual doubleWithNull getBottom () const =0
 Gets the bottom coordinate value of the target.
 
virtual void setBottom (const doubleWithNull &bottom)=0
 Sets the bottom coordinate value of the target.
 
virtual eTargetType getTargetType () const
 Implementation of getTargetType for IDOMPageTarget.
 
- Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () const =0
 Returns class ID of IEDLObject.
 
virtual bool init (CClassParams *pData)
 The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
 
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject.
 
- 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.
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to.
 

Static Public Member Functions

static EDL_API IDOMPageRectTargetPtr create (IEDLClassFactory *pFactory, DOMid pageId, eFitType fitType=eFTFit, double zoom=0.0, const doubleWithNull &left=doubleWithNull(), const doubleWithNull &top=doubleWithNull(), const doubleWithNull &right=doubleWithNull(), const doubleWithNull &bottom=doubleWithNull())
 Simplified creator for a page rect target. Throws an exception of type IEDLError on failure.
 

Additional Inherited Members

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

Detailed Description

IDOMPageRectTarget nodes are used to describe hyperlinks on a page rectangle to targets on the same page.

Member Function Documentation

◆ create()

static EDL_API IDOMPageRectTargetPtr IDOMPageRectTarget::create ( IEDLClassFactory * pFactory,
DOMid pageId,
eFitType fitType = eFTFit,
double zoom = 0.0,
const doubleWithNull & left = doubleWithNull(),
const doubleWithNull & top = doubleWithNull(),
const doubleWithNull & right = doubleWithNull(),
const doubleWithNull & bottom = doubleWithNull() )
static

Simplified creator for a page rect target. Throws an exception of type IEDLError on failure.

Parameters
pFactoryThe EDL factory to use
pageIdThe DOM id of the target page
fitTypeThe fit type
zoomThe desired zoom level. Zero indicates that the zoom should be unchanged when navigating to this target.
leftThe left of the target rect. For certain fit types, this will be ignored.
topThe top of the target rect. For certain fit types, this will be ignored.
rightThe right of the target rect. For certain fit types, this will be ignored.
bottomThe left of the target rect. For certain fit types, this will be ignored.
Returns
IDOMPageRectTarget The new target

◆ getBottom()

virtual doubleWithNull IDOMPageRectTarget::getBottom ( ) const
pure virtual

Gets the bottom coordinate value of the target.

Returns
doubleWithNull Returns the bottom coordinate value of the target.

◆ getFitType()

virtual eFitType IDOMPageRectTarget::getFitType ( ) const
pure virtual

Gets the fit type.

See also
eFitType
Returns
eFitType Returns the fit type.

◆ getLeft()

virtual doubleWithNull IDOMPageRectTarget::getLeft ( ) const
pure virtual

Gets the left coordinate value of the target.

Returns
doubleWithNull Returns the left coordinate value of the target.

◆ getPageId()

virtual DOMid IDOMPageRectTarget::getPageId ( ) const
pure virtual

Retrieves the target page DOM id.

Returns
DOMid The target page id

◆ getRight()

virtual doubleWithNull IDOMPageRectTarget::getRight ( ) const
pure virtual

Gets the right coordinate value of the target.

Returns
doubleWithNull Returns the right coordinate value of the target.

◆ getTargetType()

virtual eTargetType IDOMPageRectTarget::getTargetType ( ) const
inlinevirtual

Implementation of getTargetType for IDOMPageTarget.

Returns
eTargetType. Returns "ePage".

Implements IDOMTarget.

◆ getTop()

virtual doubleWithNull IDOMPageRectTarget::getTop ( ) const
pure virtual

Gets the top coordinate value of the target.

Returns
doubleWithNull Returns the top coordinate value of the target.

◆ getZoom()

virtual double IDOMPageRectTarget::getZoom ( ) const
pure virtual

Gets the zoom value.

Returns
double Returns the zoom value. Zero zoom value specifies that the current value of that parameter is to be retained unchanged

◆ setBottom()

virtual void IDOMPageRectTarget::setBottom ( const doubleWithNull & bottom)
pure virtual

Sets the bottom coordinate value of the target.

Parameters
bottomThe new bottom coordinate value.

◆ setFitType()

virtual void IDOMPageRectTarget::setFitType ( eFitType fitType)
pure virtual

Sets the fit type.

See also
eFitType
Parameters
fitTypeThe new fit type.

◆ setLeft()

virtual void IDOMPageRectTarget::setLeft ( const doubleWithNull & left)
pure virtual

Sets the left coordinate value of the target.

Parameters
leftThe new left coordinate value.

◆ setPageId()

virtual void IDOMPageRectTarget::setPageId ( DOMid domId)
pure virtual

Sets the target page DOM id.

Parameters
domIdThe new target page id

◆ setRight()

virtual void IDOMPageRectTarget::setRight ( const doubleWithNull & right)
pure virtual

Sets the right coordinate value of the target.

Parameters
rightThe new right coordinate value.

◆ setTop()

virtual void IDOMPageRectTarget::setTop ( const doubleWithNull & top)
pure virtual

Sets the top coordinate value of the target.

Parameters
topThe new top coordinate value.

◆ setZoom()

virtual void IDOMPageRectTarget::setZoom ( double zoom)
pure virtual

Sets for the zoom value.

Parameters
zoomThe new zoom value. Zero zoom value specifies that the current value of that parameter is to be retained unchanged.

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