IN:

Param name

Abbr.

Req.

Def. Value

Description

ObjClass

OC

+

 

Object class

ID

ID

+

 

Object key

ObjID

OID

  

Object’s marshaled id

Search Field

SF

  

Name of field in given object class

Search Value

SV

  

Value for Search Field

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

ObjSet

OS

  

Object set ID

ObjSetName

OSN

  

Object set name

DocForObj

DFO

 

2

Use default document linked to object

DocForSpot

DFS

 

3

Use document containing spot for given object

ShowObjOvr

SOO

 

1

Show object overlay

ShowRedlin

SR

 

1

Show redlining

SpotMarginPercent

SMP

 

110

Percent of spot margin

SpotColor

SC

 

Transparent

Color of spot

UseView

UV

 

1

Use view

FitMode

FM

 

1

Fit mode

Width

W

 

800

Width in pixels

Height

H

 

600

Height in pixels

Present

P

  

Name of presentation to be applied

PresentDef

PD

  

Definition of presentation to be applied expressed using special syntax (see below)

HierName

HN

 

(first hierarchy)

Name of hierarchy

DocCondition

DC

  

Extra condition for Document

DocFilter

DF

  

Extra filter for Document

MaskMode

MM

 

0

Mask mode

LayerName

LN

  

Layer name for spot

BkColor

BC

 

white

Background color for image

ErrImage

EI

 

0

Return given image in case of error

BitDepth

BD

 

8

Bit depth of returned image (8 or 24)

DocNum

DN

 

0

Document number to retrieve

Page

PA

  

Page number of multipage drawing

LineColor

LC

  

Contains color for spot line

LineWidth

LW

  

Contains width for spot line

OUT:

Image

NOTES:

This request returns view for given object.

IN:

Param name

Abbr.

Req.

Multi

Def. Value

Description

ObjClass

OC

+

+

 

Object class

ID

ID

+

+

 

Object key

ObjID

OID

 

+

 

Object’s marshaled id

Search Field

SF

 + 

Name of field in given object class

Search Value

SV

 + 

Value for Search Field

AncClass

AC

 

+

 

Name of ancestor's class to be used instead of specified object

ObjSet

OS

 

+

 

Object set ID

ObjSetName

OSN

 

+

 

Object set

DocForObj

DFO

 

+

2

Use default doc linked to object

DocForSpot

DFS

 

+

3

Use doc containing spot for given object

ShowObjOvr

SOO

 

+

1

Show object overlay

ShowRedlin

SR

 

+

1

Show redlining

SpotMarginPercent

SMP

 

+

110

Percent of spot margin

SpotColor

SC

 

+

transparent

Color of spot

UseView

UV

 

+

1

Use stored view

Present

P

 

+

 

Name of presentation to be applied

PresentDef

PD

 

+

 

Definition of presentation to be applied expressed using special syntax

LegendDynamic

LD

   

Display only filters for which some spots exist that these filters can be applied to

LegendAreas

LA

   

Display areas (=1) or numbers (=2) of spots affected by presentation

HierName

HN

 

+

(first hierarchy)

Name of hierarchy

DocCondition

DC

 

+

 

Extra condition for Document

DocFilter

DF

  

Extra filter for Document

 

MaskMode

MM

 

+

0

Mask mode

LayerName

LN

 

+

 

Layer name for spot

PrintTemplate

PT

  

(configuration)

Name of print template

Orientation

O

  

P

Page orientation (“P”ortrait / “L”andscape)

ScaleMode

SM

 

+

1

Scale mode

Scale

S

 

+

 

Scale

DocNum

DN

  

0

Document number to retrieve

DensX

DX

  

300

Resolution expressed in DPI for X axis used to prepare image for printing

DensY

DY

  

300

Resolution expressed in DPI for Y axis used to prepare image for printing

Define_xyz

D_xyz

   

Value of macro xyz

Page

PA

   

Page number of multipage drawing

StdScales

STDS

  

1.0,2.0,3.0,4.0,5.0,7.5

sequence of coma separated ordered real values (in range of any real numbers) that define standard scales

GenScales

GENS

  

1.0,3.0,5.0,7.0

sequence of coma separated ordered real values (> =1.0 and < 10.0) that define general scales

LineColor

LC

   

Contains color for spot line

LineWidth

LW

   

Contains width for spot line

Destination

DST

  

empty

If needed you can save printout to PDF or PNG formats

OUT:

HTML page prepared for print

NOTES:

This request returns HTML page, which can be directly printed. Technically this is done as two step process:

1) starting page is generated which contains “measurement” to obtain “Screen-DPI” factor;

2) page is automatically redirected to page containing resulting page.

Most parameters are same as in GetView4Object.asp.

IN:

Param name

Abbr.

Req.

Def. Value

Description

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved.

OUT:

Options

NOTES:

There is only one (optional) parameter.

This request returns list (XML or JSON) of available options (print templates only by now). It allows user to choose template that most suits him, but requires code on page to process returned data and translate it onto listbox. Format of returned XML as in following example.

<Options>
  <Templates>
    <Template Name="PRINT-A3" PageWidth="11.69" PageHeight="16.54"
    MarginLeft="0.79" MarginTop="0.79" MarginRight="0.79"
    MarginBottom="0.79" PortraitViewLeft="0.826525539293899"
    PortraitViewTop="15.7110163237713"
    PortraitViewRight="10.852894554284"
    PortraitViewBottom="5.64041354324611"
    LandscapeViewLeft="0.818898043444599"
    LandscapeViewTop="10.8724808474203"
    LandscapeViewRight="11.7191476363331"
    LandscapeViewBottom="0.825728583908553" />
    <Template Name="PRINT-A4" PageWidth="8.27" PageHeight="11.69"
    MarginLeft="0.79" MarginTop="0.79" MarginRight="0.79"
    MarginBottom="0.79" PortraitViewLeft="0.834646524283814"
    PortraitViewTop="10.8599545104798"
    PortraitViewRight="7.43434539446601"
    PortraitViewBottom="5.66885632654898"
    LandscapeViewLeft="0.819920708753378"
    LandscapeViewTop="7.4413726036911"
    LandscapeViewRight="6.87181388248293"
    LandscapeViewBottom="0.836122543897056" />
  </Templates>
  <Template Name="PRINT-A4-Multi" PageWidth="8.27"
  PageHeight="11.69" MarginLeft="0.79" MarginBottom="0.79"
  MarginRight="0.79" MarginTop="0.79"
  PortraitViewLeft="0.834646524283814"
  PortraitViewBottom="5.66885632654898"
  PortraitViewRight="7.43434539446601"
  PortraitViewTop="10.8599545104798"
  LandscapeViewLeft="0.819920708753378"
  LandscapeViewBottom="0.836122543897056"
  LandscapeViewRight="6.87181388248293"
  LandscapeViewTop="7.4413726036911">
    <ImageView Name="1" Orientation="P"
    ViewLeft="0.834646524283814" ViewBottom="5.66885632654898"
    ViewRight="7.43434539446601" ViewTop="10.8599545104798" />
    <ImageView Name="1" Orientation="L"
    ViewLeft="0.819920708753378" ViewBottom="0.836122543897056"
    ViewRight="6.87181388248293" ViewTop="7.4413726036911" />
    <ImageView Name="2" Orientation="P"
    ViewLeft="0.916641975308641" ViewBottom="1.54423456790124"
    ViewRight="3.19691358024691" ViewTop="5.52749382716049" />
    <ImageView Name="2" Orientation="L" ViewLeft="7.08039506172839"
    ViewBottom="5.72774074074074" ViewRight="10.6742716049383"
    ViewTop="7.32048148148148" />
  </Template>
</Options>

JSON data contains exactly same information converted to JSON format according to usual rules of XML to JSON conversion (see www.json.org for details).

IN:

Param name

Abbr.

Req.

Def. Value

Description

ObjClass

OC

+

 

Object class

ID

ID

+

 

Object key

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

HierName

HN

 

(first hierarchy)

Name of hierarchy

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved (see HOPAGetOptionsXML for detailed description).

OUT:

ObjID

NOTES:

This (advanced) request returns XML or JSON with marshalled ObjID for given ID of class ObjClass. Format of returned XML as in following example:

<HObject Class="CommLinks"
            ObjId="HDocHierarchyDefinition|1|CommLinks|CL002" >
  <ObjectAttr Name="CommLink_ID"
                 Value="CL002" />
</HObject>

Purpose of this request is to provide interface to lower level API (not described here).

IN:

Param name

Abbr.

Req.

Def. Value

Description

ObjID

OID

+

 

Object’s marshaled id

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved (see HOPAGetOptionsXML for detailed description).

OUT:

ObjClass

ID

HierName

NOTES:

This (advanced) request returns XML or JSON with ID, class, name of hierarchy for given marshalled ObjID. Format of returned XML – as above. Purpose of this request is to provide interface to lower level API (not described here).

IN:

Param name

Abbr.

Req.

Def. Value

Description

query

 

+

 

Query in XML format

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved (see HOPAGetOptionsXML for detailed description).

IN:

Query definition:

<InfoScopeQuery HierName='HDocHierarchyDefinition'>
  <FindObjects ObjectType='{0}'>
    <Criterion Field='{1}' MatchMode='{2}' Condition='{3}' />
    <Criterion Field='{4}' MatchMode='{5}' Condition='{6}' />
    <Criterion Field='{7}' MatchMode='{8}' Condition='{9}' />
  </FindObjects>
</InfoScopeQuery>

Where MatchMode has following values:

BOP_EQ = 0

BOP_NOT_EQ = 1

BOP_LIKE = 2

BOP_NOT_LIKE = 3

BOP_BEGINS_WITH = 4

BOP_CONTAINS = 5

BOP_ISNULL = 6

BOP_IN = 7

BOP_EQ_STR = 8

BOP_LT = 9

BOP_GT = 10

BOP_LE = 11

BOP_GE = 12

Query example 1:

?query=
<Query HierName='HDocHierarchyDefinition'>
  <FindObjects ObjectType='Floors'>
    <Criterion Field='Floor_ID'
               MatchMode='0'
               Condition='Floor001'/>
  </FindObjects>
</Query>

Result for query 1:

<QueryResults>
  <HObject Class="FLOORS"
           ObjID="HDocHierarchyDefinition|1|Floors|Floor001">
    <ObjectAttr Name="FLOOR_ID"
                Value="Floor001" />
  </HObject>
</QueryResults>

Query example 2 (HierName attribute does not exist or is empty):

?query=
<Query >
  <FindObjects ObjectType='Floors'>
    <Criterion Field='Floor_ID'
               MatchMode='0'
               Condition='Floor001'/>
  </FindObjects>
</Query>

Result for query 2:

<QueryResults>
  <DBObject Type="FLOORS">
    <ObjectAttr Name="FLOOR_ID"
                Value="Floor001" />
  </DBObject>
</QueryResults>

NOTES:

This request returns XML or JSON with list of found objects. Format of returned XML – as above.

This function accepts query passed to server using HTTP POST and HTTP GET method.

IN:

Parameters are identical to those in HOPAGetPrint4Object.asp but without support for print templates with multiple image windows.

Param name

Abbr.

Req.

Multi

Def. Value

Description

Custom_xyz

C_xyz

   

Custom parameter with xyz name

NOTES:

HOPAGetPrint4ObjectEx– giving basic applet functionality that allows printing in the interactive mode (via Printing Preview or direct Print), with zoom/pan possibilities, controlling ObjectOverlay and Redlining visibility.

HOPAGetView4ObjectEx– giving basic applet functionality, with zoom/pan possibilities, controlling ObjectOverlay and Redlining visibility, and printing via Printing Preview or direct Print;

HOPAGetSize4ObjectEx– giving the same applet functionality as above, plus interactive measuring capability.

HOPAGetSelect4ObjectEx– giving basic applet functionality, with zoom/pan possibilities, and printing via Printing Preview or direct Print. Main purpose of this call is to cooperate with external site by allowing user to select desired object linked to spot. After pointing to spot, properties of object linked to it are displayed in tooltip-like pane. After clicking inspected spot, Select button can finish selecting action. Additional parameters allow for further customization of applet layout and javascript code handling Select and Cancel events.

After opening URL with any of these functions in new window, an interactive applet is displayed. It is similar to that displayed in Document View window of HyperDoc OnLine client application. Its title is HyperDoc Viewer.

Most parameters can be adjusted according to user preferences in visual and interactive way. User interface is very similar to one used in HyperDoc Online. If parameter can be changed by user, its value specified in URL is used as default.

Desired set of functions accessible from applet can be controlled via contents of HISDocShowToolbars.xml (for HOPAGetPrint4ObjectEx and HOPAGetView4ObjectEx) and HISDocSizeToolbars.xml (for HOPAGetSize4ObjectEx) and HISDocSelectToolbars.xml (for HOPAGetSelect4ObjectEx). Desired initial state of view (view extents, object overlay / redlining visibility) as well as printing parameters (printing template, print orientation, scaling mode, density) can be controlled from calling parameters in HOPA URL call. Desired range of background presented can be controlled by MaskMode and SpotMarginPercent parameters.

Parameter Scale can also be added to above Ex-HOPA calls but generally it's not useful as the HyperDoc Viewer while loading itself will change the initial scale. The Scale parameter functionality is best to use with regular (not Ex) HOPA calls.

Please note that:

All functions are implemented using Java applet.

IN:

Param name

Abbr.

Req.

Def. Value

Description

ObjClass

OC

+

 

Object class

ID

ID

+

 

Object key

ObjID

OID

  

Object’s marshaled id

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

ObjSet

OS

  

Object set ID

ObjSetName

OSN

  

Object set name

DocForObj

DFO

 

2

Use default document linked to object

DocForSpot

DFS

 

3

Use document containing spot for given object

SpotMarginPercent

SMP

 

110

Percent of spot margin

HierName

HN

 

(first hierarchy)

Name of hierarchy

DocCondition

DC

  

Extra condition for Document

DocFilter

DF

  

Extra filter for Document

MaskMode

MM

 

0

Mask mode

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved (see HOPAGetOptionsXML for detailed description).

OUT:

Number of documents fulfilling document selection condition.

NOTES:

This (advanced) request returns XML or JSON with number of documents fulfilling document selection criteria. See description of DocCondition parameter for information how to retrieve given document. Format of returned XML:

  <NumberOfDocs>1</NumberOfDocs>

Parameters MaskMode and SpotMarginPercent are available only for compatibility with other functions (they have impact on default values of DocForSpot and DocForObject parameters).

IN:

Param name

Abbr.

Req.

Def. Value

Description

ObjClass

OC

+

 

Object class

ID

ID

+

 

Object key

ObjID

OID

  

Object’s marshaled id

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

ObjSet

OS

  

Object set ID

ObjSetName

OSN

  

Object set name

DocForObj

DFO

 

2

Use default document linked to object

DocForSpot

DFS

 

3

Use document containing spot for given object

HierName

HN

 

(first hierarchy)

Name of hierarchy

DocCondition

DC

  

Extra condition for Document

DocFilter

DF

  

Extra filter for Document

MaskMode

MM

 

0

Mask mode

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved (see HOPAGetOptionsXML for detailed description).

DocNum

DN

  

Document number to retrieve

OUT:

Info for specified document

NOTES:

This (advanced) request returns XML or JSON with document info. Format of returned XML as in following example:

  <?xml version="1.0" encoding="UTF-8" ?> 
  <Document DOCUMENT_ID="Navig001" Type="NAVIGATION" CurVer="1" 
            AttachFrom="C:\NetMan.drawings\sweden.tif" 
            NotSupportedFileFormat="0" NumberOfPages="1">
  <DocAttr Name="DOCUMENT_ID" Value="Navig001" /> 
  <DocAttr Name="DOCUMENT_TYPE_ID" Value="Navigation" /> 
  <DocAttr Name="NAVIG_DESCRIPTION" 
           Value="Country map for orientation purposes" /> 
  </Document>

IN:

Param name

Abbr.

Req.

Def. Value

Description

ObjClass

OC

+

 

Object class

ID

ID

+

 

Object key

ObjID

OID

  

Object’s marshaled id

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

ObjSet

OS

  

Object set ID

ObjSetName

OSN

  

Object set name

DocForObj

DFO

 

2

Use default document linked to object

DocForSpot

DFS

 

3

Use document containing spot for given object

SpotMarginPercent

SMP

 

110

Percent of spot margin

HierName

HN

 

(first hierarchy)

Name of hierarchy

DocCondition

DC

  

Extra condition for Document

DocFilter

DF

  

Extra filter for Document

MaskMode

MM

 

0

Mask mode

DocNum

DN

 

0

Document number to retrieve

DocID

DID

+

0

Document ID, can be used instrad ObjID or ObjClass.

Search Field

SF

  

Name of field in given document type

Search Value

SV

  

Value for Search Field

DocType

DT

  

Type of searched document

OUT:

Original document content.

NOTES:

This (advanced) request returns original document content. It is up to application to properly handle returned data – it can be whole, original drawing (not prepared view), but it can be any file type as well (PDF, DOC etc.).

See parameters only for this call below. Rest of them are described for HOPAGetDocNumXML.asp.

IN:

Param name

Abbr.

Req.

Def. Value

Description

Search Field

SF

  

Name of field in given document type

Search Value

SV

  

Value for Search Field

DocType

DT

  

Type of searched document, to be used along with SF, = params.

DocID

DID

+

 

Document ID

ShowObjOvr

SOO

 

1

Show object overlay

ShowRedlin

SR

 

1

Show redlining

FitMode

FM

 

1

Fit mode

Width

W

 

800

Width in pixels

Height

H

 

600

Height in pixels

Present

P

  

Name of presentation to be applied

PresentDef

PD

  

Definition of presentation to be applied expressed using special syntax

BkColor

BC

 

white

Background color for image

ErrImage

EI

 

0

Return given image in case of error

BitDepth

BD

 

8

Bit depth of returned image (8 or 24)

Page

PA

  

Page number of multipage drawing

OUT:

Image

NOTES:

This request returns view for given document. This is counterpart of HOPAGetPrint4Object.asp, but document is directly identified by its ID not an object it is connected to. Parameters (except DocID) – see: HOPAGetView4Object.asp.

By using this page you are able to retrieve list of all spots linked to given object (or objects – you can define collection by using parameters SearchField and SearchValue).

Param name

Abbr.

Req.

Def. Value

Description

ObjClass

OC

+

 

Object class

ID

ID

+

 

Object key

ObjID

OID

  

Object’s marshaled id

Search Field

SF

  

Name of field in given object class or document type

Search Value

SV

  

Value for Search Field

AncClass

AC

  

Name of ancestor's class to be used instead of specified object

ObjSet

OS

  

Object set ID

ObjSetName

OSN

  

Object set name

DocForObj

DFO

 

2

Use default document linked to object

DocForSpot

DFS

 

3

Use document containing spot for given object

HierName

HN

 

(first hierarchy)

Name of hierarchy

ClientFunc

CF

  

name of JavaScript function to be called when data is retrieved.

TPID

  

parameter with encrypted user, password and UTC time

Custom_xyz

C_xyz

  

Custom parameter with xyz name

Returned XML format:

<Objects>
  <Object ObjectID="ObjectID">
    <Document DocID="DocID">
      <Spot SpotID="SpotID" Layer="Layer_name" Available="0/1"/>
    </Document>
  </Object>
</Objects>
     

Attribute Available tells us, if the spot is on visible layer / can be called with HOPA calls (value 1) or on invisible layer / unavailable for HOPA calls layer (value 0).

This call is needed for creating multi-view HOPA calls as regular HOPA call can show single image at a time, so we could only obtain first, default view.

As a result of this function, an XML/JSON list is returned. You can either use this list and create a custom viewing solution, or use simple gallery Tesselet that will handle all of that automatically, with just a simple configuration

There are two typical situations, where we need to discover multiple links:

In both cases one can use either single object identification methods (Object class, Object ID) or search for objects by specific criteria to find one or more matching objects. This function will return all linked spots for each found object.

IN:

Param name

Abbr.

Req.

Multi

Def. Value

Description

DocID

DID

+

+

 

Document ID

ShowObjOvr

SOO

 

+

1

Show object overlay

ShowRedlin

SR

 

+

1

Show redlining

Present

P

 

+

 

Name of presentation to be applied

PresentDef

PD

 

+

 

Definition of presentation to be applied expressed using special syntax

LegendDynamic

LD

   

Display only filters for which some spots exist that these filters can be applied to

LegendAreas

LA

   

Display areas (=1) or numbers of spots (=2) affected by presentation

PrintTemplate

PT

  

(configuration)

Name of print template

Orientation

O

  

P

Page orientation (“P”ortrait / “L”andscape)

ScaleMode

SM

 

+

1

Scale mode

Scale

S

 

+

 

Scale

DensX

DX

  

300

Resolution expressed in DPI for X axis used to prepare image for printing

DensY

DY

  

300

Resolution expressed in DPI for Y axis used to prepare image for printing

Define_xyz

D_xyz

   

Value of macro xyz

Page

PA

   

Page number of multipage drawing

StdScales

STDS

  

1.0,2.0,3.0,4.0,5.0,7.5

sequence of coma separated ordered real values (in range of any real numbers) that define standard scales

GenScales

GENS

  

1.0,3.0,5.0,7.0

sequence of coma separated ordered real values (> =1.0 and < 10.0) that define general scales

Destination

DST

  

empty

If needed you can save printout to PDF or PNG formats

OUT:

HTML page prepared for print

NOTES:

This is counterpart of HOPAGetPrint4Object.asp, but (similar as in HOPAGetView4Object.asp / HOPAGetView4Doc.asp pair case) document is directly identified by its ID. Parameters (except DocID) and detailed description – see: HOPAGetPrint4Object.asp.

IN:

All parameters specific to chosen target call name, together with additional control parameters as follows:

Param name

Abbr.

Def. Value

Description

U_Call

U_C

HOPAGetView4Object.asp

Target call name

U_Form

U_F

combo

Document choice format to be used

U_Attr

U_A

none - first one is chosen

Document attribute to be displayed

U_Width

U_W

100

Thumbnail width when thumbnail form is chosen

U_Height

U_H

100

Thumbnail height when thumbnail form is chosen

OUT:

HTML page with possibility of document choice and relevant result presented in separate frame

NOTES:

This customizable HTML page is designed to cooperate with other HOPA calls leading to many documents fulfilling document selection criteria. In upper part, list of documents in chosen form is presented. In lower part, subsequent document chosen from list is applied to target call with result presented in separate frame. After page start, first document from list is opened automatically at once.

loading table of contents...