new loadpage(pageNr, onloadEvent, fragment, dontStartJustNow) → {object}
PAGE LOADING. Here it will really start a request or return a cached page
Parameters:
Name | Type | Description |
---|---|---|
pageNr |
string | the page number or subreport number to load |
onloadEvent |
function | a function to call when the report page has finished |
fragment |
string | an anchor fragment to use |
dontStartJustNow |
boolean | true if the page request should start loading whan constructed |
Returns:
page loading object
- Type
- object
Methods
cancelLoading()
Cancel loading of the AJAX request
ptToPx(sizeInPtOrPx)
Convert pt to px. if the entry already had px, nothing will be done.
Parameters:
Name | Type | Description |
---|---|---|
sizeInPtOrPx |
size in pt or px |
restartLoading()
restart loading of the current loadpage object.
Will also reset the cache
setPageContent(page) → {boolean}
Set a page content to the current tab
Parameters:
Name | Type | Description |
---|---|---|
page |
object | the page from the cache |
Returns:
true if successfull
- Type
- boolean
startLoading()
Start loading of the current loadpage object
stopLoading()
Stop loading of the current loadpage object