IDOMPageRectTarget nodes are used to describe hyperlinks on a page rectangle to targets on the same page.
More...
#include <idomtarget.h>
|
enum | eFitType |
| Destination fit types enumeration.
|
|
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...
|
|
|
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.
|
|
virtual const CClassID & | getClassID () 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.
|
|
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 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.
|
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
IDOMPageRectTarget nodes are used to describe hyperlinks on a page rectangle to targets on the same page.
◆ 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
-
pFactory | The EDL factory to use |
pageId | The DOM id of the target page |
fitType | The fit type |
zoom | The desired zoom level. Zero indicates that the zoom should be unchanged when navigating to this target. |
left | The left of the target rect. For certain fit types, this will be ignored. |
top | The top of the target rect. For certain fit types, this will be ignored. |
right | The right of the target rect. For certain fit types, this will be ignored. |
bottom | The 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 |
◆ 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
-
bottom | The new bottom coordinate value. |
◆ setFitType()
virtual void IDOMPageRectTarget::setFitType |
( |
eFitType | fitType | ) |
|
|
pure virtual |
Sets the fit type.
- See also
- eFitType
- Parameters
-
◆ setLeft()
virtual void IDOMPageRectTarget::setLeft |
( |
const doubleWithNull & | left | ) |
|
|
pure virtual |
Sets the left coordinate value of the target.
- Parameters
-
left | The new left coordinate value. |
◆ setPageId()
virtual void IDOMPageRectTarget::setPageId |
( |
DOMid | domId | ) |
|
|
pure virtual |
Sets the target page DOM id.
- Parameters
-
domId | The new target page id |
◆ setRight()
virtual void IDOMPageRectTarget::setRight |
( |
const doubleWithNull & | right | ) |
|
|
pure virtual |
Sets the right coordinate value of the target.
- Parameters
-
right | The new right coordinate value. |
◆ setTop()
virtual void IDOMPageRectTarget::setTop |
( |
const doubleWithNull & | top | ) |
|
|
pure virtual |
Sets the top coordinate value of the target.
- Parameters
-
top | The new top coordinate value. |
◆ setZoom()
virtual void IDOMPageRectTarget::setZoom |
( |
double | zoom | ) |
|
|
pure virtual |
Sets for the zoom value.
- Parameters
-
zoom | The 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: