IDOMPageRectTarget nodes are used to describe hyperlinks on a page rectangle to targets on the same page.
More...
#include <edl/idomtarget.h>
|
enum | eFitType {
eFTInvalid
, eFTXyz
, eFTFit
, eFTFitH
,
eFTFitV
, eFTFitR
, eFTFitB
, eFTFitBH
,
eFTFitBV
} |
| Destination fit types enumeration. More...
|
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...
|
IDOMPageRectTarget nodes are used to describe hyperlinks on a page rectangle to targets on the same page.
◆ create()
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
◆ DECLARE_CLASS_ID()
◆ getBottom()
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 |
◆ getLeft()
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()
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()
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 |
Retrieves the zoom value.
- Returns
- double The zoom value.
A zoom value of zero 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 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()
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
-
A zoom value of zero specifies that the current value of that parameter is to be retained unchanged.
The documentation for this class was generated from the following file: