public class BBJasperView
Displays a JasperReport in a view
Constructor and Description |
---|
BBJasperView(BBJasperTabbedView p_tabbedView!, BBJasperReport p_report!) Constructor Constructs a BBJasperView given a BBJasperReport and BBJasperViewerControl objects |
BBJasperView(BBJasperReport p_report!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType) Constructor Constructs a BBJasperView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type |
BBJasperView(JasperPrint p_jasperPrint!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType) Constructor Constructs a BBJasperView given a JasperPrint object, BBjWindow object, control id, control x, control y, control width, control height, and fit type |
Modifier and Type | Method and Description |
---|---|
void | addSaveContributor(BBjNumber p_type) addSaveContributor Adds a save contributor |
void | addViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!) addViewerWindow Adds a viewer window to the vector of viewer windows |
void | closeAllViewerWindows() closeAllViewerWindows Closes and destroys all windows that were created from this control |
void | destroy() destroy Destroys the view |
void | destroy(BBjNumber p_closeAllViewerWindows) destroy Destroys the view and optionally all viewer windows that were created by this control |
void | doEmailDialog() doEmailDialog Runs the email dialog |
void | doSave() doSave Saves the report |
void | doSaveAs() doSaveAs Save as the report |
void | doSaveGoogleDoc() OnSaveGoogleDoc Callback for when the save google doc menu item is selected |
void | findReport() findReport Findes the entire report for the current find text and updates the passed vector with report elements found in the find. |
void | firstPage() firstPage Changes the view to display the first page, if it's not already on the first page |
HashMap | getAllControls() getAllControls Returns a HashMap containg all of the controls |
BBjControl | getControl(BBjString p_controlName$) getControl Returns a view control given the control name |
EmailDialog | getEmailDialog() getEmailDialog Returns the EmailDialog object so that it can be customized |
BBjNumber | getFindMatches() |
BBjString | getFindResults() |
BBjNumber | getFindText() |
BBjNumber | getFitType() getFitType Returns the FitType (FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE) |
GDocSaveDialog | getGDocSaveDialog() getGDocSaveDialog Returns the GDocSaveDialog object so that it can be customized |
BBjString | getGoogleSaveDocument() getGoogleSaveDocument Returns the Google save document |
BBjNumber | getHeight() getHeight Returns the height of the viewer control |
BBjPopupMenu | getHyperlinkPopupMenu() getHyperlinkPopupMenu Returns the hyperlink popup menu |
net.sf.jasperreports.engine.JasperPrint | getJasperPrint() getJasperPrint Returns the JasperPrint object |
BBjNumber | getNumPages() getNumPages Returns the number of pages in the report |
BBjNumber | getPage() getPage Returns the current viewed page of the report |
BBnet.sf.jasperreports.engine.JasperReport | getReport() getReport Returns the BBJasperReport object |
BBjChildWindow | getReportChildWindow() getReportChildWindow Returns the ReportChildWindow object |
BBjString | getReportName() getReportName Returns the report name |
BBjString | getSaveFile() getSaveFile Returns the save file |
BBjPopupMenu | getToolsPopupMenu() getToolsPopupMenu Returns the tools popup menu |
BBjNumber | getWidth() getWidth Returns the width of the viewer control |
BBjNumber | getX() getX Returns the X location of the viewer control |
BBjNumber | getY() getY Returns the Y location of the viewer control |
BBjNumber | getZoomLevel() getZoomLevel Returns the current zoom level |
BBjNumber | getZoomNumber(BBjString p_pctString!) getZoomNumber Returns the zoom number, given a precentage string |
void | lastPage() lastPage Changes the view to display the last page, if it's not already on the last page |
void | loadFindOptions() Loads the find options |
void | nextFindPage() nextFindPage Finds and sets the page to where the next find element is found |
void | nextHighlight() nextHighlight Finds the next find element |
void | nextPage() nextPage Changes the view to display the next page, if there is one |
void | OnActualSize(BBjPopupSelectEvent p_event!) OnActualSize Callback for when the actual size menu item is selected |
void | OnCustomPage(BBjPopupSelectEvent p_event!) OnCustomPage Callback for when the custom page menu item is selected |
void | OnCustomPageClose(BBjCloseEvent p_event!) OnCustomPageClose Callback for when the custom page window is close |
void | OnCustomPageEdit(BBjEditModifyEvent p_event!) OnCustomPageEdit Callback for when a key is pressed in the custom page inputN |
void | OnCustomZoom(BBjPopupSelectEvent p_event!) OnCustomZoom Callback for when the custom zoom menu item is selected |
void | OnCustomZoomClose(BBjCloseEvent p_event!) OnCustomZoomClose Callback for when the custom zoom window is close |
void | OnCustomZoomListEditSelect(BBjListSelectEvent p_event!) OnCustomZoomListEditSelect Callback for when the custom zoom list selection event occurs |
void | OnEmail(BBjPopupSelectEvent p_event!) OnEmail Callback for when the email menu item is selected |
void | OnFileChooserApprove(BBjFileChooserApproveEvent p_event!) OnFileChooserApprove Callback when a file is choosen in the file chooser window |
void | OnFileChooserClose(BBjSysGuiEvent p_event!) OnFileChooserClose Callback when the file chooser window is closed/canceled |
void | OnFileChooserFilter(BBjFileChooserFilterEvent p_event!) OnFileChooserFilter Callback run when user selects a filter in the file chooser |
void | OnFind(BBjPopupSelectEvent p_event!) OnFind Callback for when the find menu item is selected |
void | OnFindCaseInsensitive(BBjCheckOnEvent p_event!) |
void | OnFindCaseSensitive(BBjCheckOnEvent p_event!) |
void | OnFindClear(BBjToolButtonPushEvent p_toolButtonPushEvent!) |
void | OnFindClose(BBjCloseEvent p_closeEvent!) |
void | OnFindGainedFocus(BBjGainedFocusEvent p_gainedFocusEvent!) |
void | OnFindHighlightField(BBjCheckOnEvent p_event!) |
void | OnFindHighlightText(BBjCheckOnEvent p_event!) |
void | OnFindIncrementalOff(BBjCheckOffEvent p_event!) |
void | OnFindIncrementalOn(BBjCheckOnEvent p_event!) |
void | OnFindKeypress(BBjEditKeypressEvent p_editKeyPressEvent!) OnFindKeypress Callback method for key press events find list edit |
void | OnFindLostFocus(BBjLostFocusEvent p_lostFocusEvent!) |
void | OnFindMatchContains(BBjCheckOnEvent p_event!) |
void | OnFindMatchFullWord(BBjCheckOnEvent p_event!) |
void | OnFindMatchStartsWith(BBjCheckOnEvent p_event!) |
void | OnFindModify(BBjEditModifyEvent p_editModifyEvent!) |
void | OnFindMoreOptions(BBjToolButtonPushEvent p_toolButtonPushEvent!) |
void | OnFindNext(BBjToolButtonPushEvent p_toolButtonPushEvent!) |
void | OnFindPrevious(BBjToolButtonPushEvent p_toolButtonPushEvent!) |
void | OnFindScopeCurrentPage(BBjCheckOnEvent p_event!) |
void | OnFindScopeReport(BBjCheckOnEvent p_event!) |
void | OnFirstPage(BBjPopupSelectEvent p_event!) OnFirstPage Callback for when the first page menu item is selected |
void | OnFitPage(BBjPopupSelectEvent p_event!) OnFitPage Callback for when the fit page menu item is selected |
void | OnFitWidth(BBjPopupSelectEvent p_event!) OnFitWidth Callback for when the fit width menu item is selected |
void | OnHyperlink(BBjToolButtonPushEvent p_event!) OnHyperlink Callback when a hyperlink (tool button) is pushed |
void | OnHyperlinkPopup(BBjPopupRequestEvent p_event!) OnHyperlink Callback when a hyperlink (tool button) is right clicked |
void | OnKeypress(BBjKeypressEvent p_keyPressEvent!) OnKeypress Callback method for key press events in the view |
void | OnLastPage(BBjPopupSelectEvent p_event!) OnLastPage Callback for when the last page menu item is selected |
void | OnNextPage(BBjPopupSelectEvent p_event!) OnNextPage Callback for when the next page menu item is selected |
void | OnOpenLinkInCurrentWindow(BBjPopupSelectEvent p_event!) Called when open link in current window menu item is selected |
void | OnOpenLinkInNewActiveTab(BBjPopupSelectEvent p_event!) Called when open link in new active tab menu item is selected |
void | OnOpenLinkInNewInactiveTab(BBjPopupSelectEvent p_event!) Called when open link in new inactive tab menu item is selected |
void | OnOpenLinkInNewWindow(BBjPopupSelectEvent p_event!) Called when open link in new window menu item is selected |
void | OnPreviousPage(BBjPopupSelectEvent p_event!) OnPrevousPage Callback for when the previous page menu item is selected |
void | OnPrint(BBjPopupSelectEvent p_event!) OnPrint Callback for when the email menu item is selected |
void | OnReload(BBjPopupSelectEvent p_event!) OnReload Callback for when the reload menu item is selected |
void | OnReportWindowMouseUp(BBjMouseUpEvent p_event!) Called when the mouse is pressed up over the view |
void | OnSave(BBjPopupSelectEvent p_event!) OnSave Callback run when user selects to save the report |
void | OnSaveAs(BBjPopupSelectEvent p_event!) OnSaveAs Callback run when user selects to save-as the report |
void | OnSaveCurrentPageAsImage(BBjPopupSelectEvent p_event!) OnSaveCurrentPageAsImage Callback for when the create current page as image menu item is selected |
void | OnSaveGoogleDoc(BBjPopupSelectEvent p_event!) OnSaveGoogleDoc Callback for when the save google doc menu item is selected |
void | OnViewWindowClose(BBjCloseEvent p_event!) OnViewWindowClose Callback invoked when a view window is closed |
void | OnZoomIn(BBjPopupSelectEvent p_event!) OnZoomIn Callback for when the zoom in menu item is selected |
void | OnZoomOut(BBjPopupSelectEvent p_event!) OnZoomOut Callback for when the zoom out menu item is selected |
void | previousHighlight() previousHighlight Finds the previous find element |
void | previousPage() previousPage Changes the view to display the previous page, if there is one |
void | print() print Prints the current report |
void | refresh() refresh Refreshes the image for the current report page and zoom level |
void | reload() reload Refills the report and refreshes the view |
void | removeSaveContributor(BBjNumber p_type) removeSaveContributor Removes a save contributor |
void | removeViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!) removeViewerWindow Removes a viewer window from the vector of viewer windows |
void | saveCurrentPageAsImage() saveCurrentPageAsImage Saves the current report page as a image |
void | selectGoogleDefaultType(BBjString p_selectType$) selectGoogleDefaultType Selects the default Google document type |
void | setActualSize() setActualSize Sets the report image to the actual size All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType() |
void | setDefaultSaveContributor(BBjNumber p_type) setDefaultSaveContributor Sets the default save contributor |
void | setDefaultSaveFile(BBjString p_saveFile$) setDefaultSaveFile Sets the default save file |
void | setDefaultSaveFolder(BBjString p_saveFolder$) setDefaultSaveFolder Sets the default save folder |
void | setEmailCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setEmailCallback Sets a callback routine to call when email is requested |
void | setEmailCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override) setEmailCallback Sets a callback routine to call when email is requested |
void | setEmailCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setEmailCallback Sets a callback routine to call when email is requested |
void | setEmailCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override) setEmailCallback Sets a callback routine to call when email is requested |
void | setFileSaveAsCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setFileSaveAsCallback Sets a callback routine to call after a file save-as occurs |
void | setFileSaveAsCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override) setFileSaveAsCallback Sets a callback routine to call when a file save-as occurs |
void | setFileSaveAsCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setFileSaveAsCallback Sets a callback routine to call after a file save-as occurs |
void | setFileSaveAsCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override) setFileSaveAsCallback Sets a callback routine to call when a file save-as occurs |
void | setFileSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setFileSaveCallback Sets a callback routine to call after a file save occurs |
void | setFileSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override) setFileSaveCallback Sets a callback routine to call when a file save occurs |
void | setFileSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setFileSaveCallback Sets a callback routine to call after a file save occurs |
void | setFileSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override) setFileSaveCallback Sets a callback routine to call when a file save occurs |
void | setFindCaseSensitivity(BBjNumber p_findCaseSensitivity) setFindCaseSensitivity Sets case sensitivity of the find |
void | setFindHighlight(BBjNumber p_findHighlight) setFindHighlight Sets highlight option for the find |
void | setFindIncremental(BBjNumber p_findIncremental) setFindIncremental Sets incremental find option for the find |
void | setFindMatch(BBjNumber p_findMatch) setFindMatch Sets match option for the find |
void | setFindScope(BBjNumber p_findScope) setFindScope Sets scope option for the find |
void | setFindText(BBjString p_findText$) |
void | setFindWindowVisible(BBjNumber p_findWindowVisible) setFindWindowVisible Set the find window visibility |
void | setFitPage() setFitPage Sets the report image to the fit the page All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType() |
void | setFitType(BBjNumber p_fitType) setFitType Sets the report image to fit based on the provided fit type The fit type can be set using static field variables like BBJasperView.getFIT_TYPE_ACTUAL(), BBJasperView.getFIT_TYPE_PAGE(), or BBJasperView.getFIT_TYPE_WIDTH(). All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType() |
void | setFitWidth() setFitWidth Sets the report image to the fit the width of the container All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType() |
void | setGoogleDefaultDocument(BBjString p_defaultDocument$) setGoogleDefaultDocument Sets the default Google document |
void | setGoogleDefaultFolder(BBjString p_defaultFolder$) setGoogleDefaultFolder Sets the default Google folder |
void | setGoogleDefaultType(BBjString p_defaultType$) setGoogleDefaultType Sets the default Google document type |
void | setGoogleDocSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setGoogleDocSaveCallback Sets a callback routine to call after a Google Doc save occurs |
void | setGoogleDocSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override) setGoogleDocSaveCallback Sets a callback routine to call when a Google Doc save occurs |
void | setGoogleDocSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setGoogleDocSaveCallback Sets a callback routine to call after a Google Doc save occurs |
void | setGoogleDocSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override) setGoogleDocSaveCallback Sets a callback routine to call when a Google Doc save occurs |
void | setHighResolutionReportImages(BBjNumber p_highResolutionImages) setHighResolutionReportImages Causes the BBJasperViewerControl to display high resolution images to take advantage of high density pixel (retina) displays when available Note that the report images will be sharper but will take longer to generate. |
void | setLocation(BBjNumber p_x, BBjNumber p_y) setLocation Sets the location of the viewer control |
void | setPage(BBjNumber p_page) setPage Sets the current page |
void | setPrintCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setPrintCallback Sets a callback routine to call after report is printed |
void | setPrintCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override) setPrintCallback Sets a callback routine to call when report is printed |
void | setPrintCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setPrintCallback Sets a callback routine to call after report is printed |
void | setPrintCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override) setPrintCallback Sets a callback routine to call when report is printed |
void | setReloadCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setReloadCallback Sets a callback routine to call after report is reloaded |
void | setReloadCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override) setReloadCallback Sets a callback routine to call when report is reloaded |
void | setReloadCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setReloadCallback Sets a callback routine to call after report is reloaded |
void | setReloadCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override) setReloadCallback Sets a callback routine to call when report is reloaded |
void | setSize(BBjNumber p_width, BBjNumber p_height) setSize Sets the size of the view |
void | setVisible(BBjNumber p_visible) setVisible Sets the visibility of the view |
void | setZoomLevel(BBjNumber p_zoomLevel) setZoomLevel Sets the report image to the specifed zoom level |
void | storeFindOptions() Stores the find options |
public static bbjstring "
Translated text for find results
public static bbjstring "."
Translated text for found
public static bbjstring "."
Translated text for not found
public static bbjstring "."
Translated text for selected
public static bbjstring "..."
Translated text for default find text
public static BBjString ACTUAL_SIZE$=#Translations!.getTranslation("actual.size")
Translated text for actual size
public static BBjString ACTUAL_SIZE_MENU_ITEM_NAME$="BBJVActualSizeMenuItem"
Actual size menu item name
public static BBjString ALL_FILES$=#Translations!.getTranslation("all.files")
Translated text for all files
public static BBjString ALT$=#Translations!.getTranslation("alt")
Translated text for alt
public static BBjString BASIS_UTILITY_DEVICE_PIXEL_RATIO_KEY_NAME$
Name of STBL key whose value can be set to the desired device pixel ratio, overriding the dynamically determined default value.
The numeric value may be set as desired to any real number, although a minimum of 0.5 and maximum of 4 will be enforced by the utility to avoid
rendering enormous images that consume a huge amount of memory. Note that you may also set the "BASIS_UTILITY_DEVICE_PIXEL_RATIO" global
string entry either via code or in a configuration file in order to control the pixel ratio used when generating images, such as charts or reports.
Here are two examples:
1) Setting the global string entry in code, before creating any widgets or reports:
temp$ = STBL("BASIS_UTILITY_DEVICE_PIXEL_RATIO", "2")
2) Setting the global string entry in the config file, without changing any code:
SET BASIS_UTILITY_DEVICE_PIXEL_RATIO=2
16.0
public static BBjString CASE$=#Translations!.getTranslation("case")
Translated text for case
public static BBjString CLEAR_FIND$=#Translations!.getTranslation("clear.find")
Translated text for clear find text
public static BBjString CONTAINS$=#Translations!.getTranslation("contains")
Translated text for contains
public static BBjNumber CSV_SAVE_CONTRIBUTOR=10
Constant that represents the CSV save contributor
public BBJasperCSVExporter CSVExporter!
CSV exporter which contains export options
public static BBjString CTRL$=#Translations!.getTranslation("ctrl")
Translated text for ctrl
public static BBjString CURRENT_PAGE$=#Translations!.getTranslation("current.page")
Translated text for currrent page
public static BBjString CUSTOM_PAGE$=#Translations!.getTranslation("custom.page")
Translated text for custom page
public static BBjString CUSTOM_PAGE_INPUTN_NAME$="BBJVCustomPageInputN"
Custom page inputn name
public static BBjString CUSTOM_PAGE_MENU_ITEM_NAME$="BBJVCustomPageMenuItem"
Custom page menu item name
public static BBjString CUSTOM_PAGE_STATIC_TEXT_NAME$="BBJVCustomPageStaticText"
Custom page static text name
public static BBjString CUSTOM_PAGE_WINDOW_NAME$="BBJVCustomPageWindow"
Custom page window name
public static BBjString CUSTOM_ZOOM$=#Translations!.getTranslation("custom.zoom")
Translated text for custom zoom
public static BBjString CUSTOM_ZOOM_LIST_EDIT_NAME$="BBJVCustomZoomListEdit"
Custom zoome list edit name
public static BBjString CUSTOM_ZOOM_MENU_ITEM_NAME$="BBJVCustomZoomMenuItem"
Custom zoom menu item name
public static BBjString CUSTOM_ZOOM_STATIC_TEXT_NAME$="BBJVCustomZoomStaticText"
Custom zoom static text name
public static BBjString CUSTOM_ZOOM_WINDOW_NAME$="BBJVCustomZoomWindow"
Custom zoom window name
public static BBjNumber DEFAULT_SAVE_DISK=0
Constant which represents the default save location as the disk
public static BBjNumber DEFAULT_SAVE_GOOGLE=1
Constant which represents the default save location as Google docs
public BBjNumber DefaultSave=#DEFAULT_SAVE_DISK
Sets the default save location, which is either DEFAULT_SAVE_DISK or DEFAULT_SAVE_GOOGLE. Default is DEFAULT_SAVE_DISK
public static BBjNumber DOCX_SAVE_CONTRIBUTOR=12
Constant that represents the DOCX save contributor
public BBJasperDOCXExporter DOCXExporter!
DOCX exporter which contains export options
public static BBjString EMAIL$=#Translations!.getTranslation("email")
Translated text for email
public static BBjString EMAIL_MENU_ITEM_NAME$="BBJVEmailMenuItem"
Email menu item name
public static BBjNumber EMBEDDED_IMAGES_XML_SAVE_CONTRIBUTOR=7
Constant that represents the embedded images XML save contributor
public static BBjString END$=#Translations!.getTranslation("end")
Translated text for end
public static BBjString ENTIRE_REPORT$=#Translations!.getTranslation("entire.report")
Translated text for entire report
public static BBjString ERROR_SAVING$=#Translations!.getTranslation("error.saving")
Translated text for error saving
public static BBjString FIELD$=#Translations!.getTranslation("field")
Translated text for field
public static BBjString FILE_DESC_CSV$=#Translations!.getTranslation("file.desc.csv")
Translated text for CSV file description
public static BBjString FILE_DESC_DOCX$=#Translations!.getTranslation("file.desc.docx")
Translated text for DOCX file description
public static BBjString FILE_DESC_HTML$=#Translations!.getTranslation("file.desc.html")
Translated text for HTML file description
public static BBjString FILE_DESC_JRPRINT$=#Translations!.getTranslation("file.desc.jrprint")
Translated text for JRPRINT file description
public static BBjString FILE_DESC_ODS$=#Translations!.getTranslation("file.desc.ods")
Translated text for ODS file description
public static BBjString FILE_DESC_ODT$=#Translations!.getTranslation("file.desc.odt")
Translated text for ODT file description
public static BBjString FILE_DESC_PDF$=#Translations!.getTranslation("file.desc.pdf")
Translated text for PDF file description
public static BBjString FILE_DESC_PPTX$=#Translations!.getTranslation("file.desc.pptx")
Translated text for PPTX file description
public static BBjString FILE_DESC_RTF$=#Translations!.getTranslation("file.desc.rtf")
Translated text for RTF file description
public static BBjString FILE_DESC_TXT$=#Translations!.getTranslation("file.desc.txt")
Translated text for TXT file description
public static BBjString FILE_DESC_XLS_MULTIPE_SHEETS$=#Translations!.getTranslation("file.desc.xls.multiple.sheets")
Translated text for multiple sheets XLS file description
public static BBjString FILE_DESC_XLS_SINGLE_SHEET$=#Translations!.getTranslation("file.desc.xls.single.sheet")
Translated text for single sheet XLS file description
public static BBjString FILE_DESC_XLSX$=#Translations!.getTranslation("file.desc.xlsx")
Translated text for single sheet XLSX file description
public static BBjString FILE_DESC_XML$=#Translations!.getTranslation("file.desc.xml")
Translated text for XML file description
public static BBjString FILE_DESC_XML_EMBEDDED_IMAGES$=#Translations!.getTranslation("file.desc.xml.embedded.images")
Translated text for embedded images XML file description
public static BBjString FILE_OVERWRITE$=#Translations!.getTranslation("file.overwrite")
Translated text for file overwrite
public static BBjString FIND$=#Translations!.getTranslation("find")
Translated text for find
public static BBjNumber FIND_CASE_SENSITIVITY_INSENSITIVE
Find case sensitivity insensitive constant
public static BBjNumber FIND_CASE_SENSITIVITY_SENSITIVE
Find case sensitivity sensitive constant
public static BBjString FIND_CLEAR_TOOL_BUTTON_NAME$="BBJVFindClearToolButton"
Find clear text tool button name
public static BBjNumber FIND_HIGHLIGHT_FIELD
Find highlight field constant
public static BBjNumber FIND_HIGHLIGHT_TEXT
Find highlight text constant
public static BBjString FIND_LIST_EDIT_NAME$="BBJVFindListEdit"
Find list edit name
public static BBjNumber FIND_MATCH_CONTAINS
Find match contains constant
public static BBjNumber FIND_MATCH_FULL_WORD
Find match full word constant
public static BBjNumber FIND_MATCH_STARTS_WITH
Find match starts with constant
public static BBjString FIND_MENU_ITEM_NAME$="BBJVFindMenuItem"
Find menu item name
public static BBjString FIND_MENU_NAME$="BBJVFindMenu"
Find menu name
public static BBjString FIND_NEXT$=#Translations!.getTranslation("find.next")
Translated text for searc next
public static BBjString FIND_NEXT_MENU_ITEM_NAME$="BBJVFindNextMenuItem"
Find next menu item name
public static BBjString FIND_NEXT_TOOL_BUTTON_NAME$="BBJVFindNextToolButton"
Find next tool button name
public static BBjString FIND_PREVIOUS$=#Translations!.getTranslation("find.previous")
Translated text for find previous
public static BBjString FIND_PREVIOUS_MENU_ITEM_NAME$="BBJVFindPreviousMenuItem"
Find previous menu item name
public static BBjString FIND_PREVIOUS_TOOL_BUTTON_NAME$="BBJVFindPreviousToolButton"
Find previous tool button name
public static BBjNumber FIND_SCOPE_CURRENT_PAGE
Find scope current page constant
public static BBjNumber FIND_SCOPE_ENTIRE_REPORT
Find scope entire report constant
public static BBjString FIND_STATUS_BAR_NAME$="BBJVFindStatusBar"
Find status bar name
public static BBjString FIND_WINDOW_NAME$="BBJVFindWindow"
Find window name
public static BBjString FINDING$=#Translations!.getTranslation("finding")
Translated text for finding
public static BBjString FIRST_PAGE$=#Translations!.getTranslation("first.page")
Translated text for first page
public static BBjString FIRST_PAGE_MENU_ITEM_NAME$="BBJVFirstPageMenuItem"
First page menu item name
public static BBjString FIT_PAGE$=#Translations!.getTranslation("fit.page")
Translated text for fit to page
public static BBjString FIT_PAGE_MENU_ITEM_NAME$="BBJVFitPageMenuItem"
Fit page menu item name
public static BBjNumber FIT_TYPE_ACTUAL=0
Constant for fit type actual
public static BBjNumber FIT_TYPE_PAGE=2
Constant for fit type page
public static BBjNumber FIT_TYPE_WIDTH=1
Constant for fit type width
public static BBjNumber FIT_TYPE_ZOOM=3
Constant for fit type zoom
public static BBjString FIT_WIDTH$=#Translations!.getTranslation("fit.width")
Translated text for fit to width
public static BBjString FIT_WIDTH_MENU_ITEM_NAME$="BBJVFitWidthMenuItem"
Fit width menu item name
public static BBjString FROM_CURRENT_PAGE$=#Translations!.getTranslation("from.current.page")
Translated text for from currrent page
public static BBjString FULL_WORD$=#Translations!.getTranslation("full.word")
Translated text for full word
public static BBjString GO_TO$=#Translations!.getTranslation("go.to")
Translated text for go to
public static BBjString GO_TO_MENU_NAME$="BBJVGoToMenu"
Go to menu name
public static BBjString GO_TO_PAGE$=#Translations!.getTranslation("go.to.page")
Translated text for go to page
public static BBjString HIGHLIGHT$=#Translations!.getTranslation("highlight")
Translated text for highlight
public static BBjString HOME$=#Translations!.getTranslation("home")
Translated text for home
public static BBjNumber HTML_SAVE_CONTRIBUTOR=2
Constant that represents the HTML save contributor
public BBJasperHTMLExporter HTMLExporter!
HTML exporter which contains export options
public static BBjString INCREMENTAL_FIND$=#Translations!.getTranslation("incremental.find")
Translated text for incremental find
public static BBjString INSENSITIVE$=#Translations!.getTranslation("insensitive")
Translated text for insensitive
public static BBjString LAST_PAGE$=#Translations!.getTranslation("last.page")
Translated text for last page
public static BBjString LAST_PAGE_MENU_ITEM_NAME$="BBJVLastPageMenuItem"
Last page menu item name
public static BBjString LEFT_UP_ARROW$=#Translations!.getTranslation("left.up.arrow")
Translated text for left/up arrow
public static BBjString MATCH$=#Translations!.getTranslation("match")
Translated text for match
public static BBjString MORE_OPTIONS$=#Translations!.getTranslation("more.options")
Translated text for more options
public static BBjNumber MULTIPLE_SHEETS_XLS_SAVE_CONTRIBUTOR=5
Constant that represents the multiple sheet XLS save contributor
public static BBjString NEXT_PAGE$=#Translations!.getTranslation("next.page")
Translated text for next page
public static BBjString NEXT_PAGE_MENU_ITEM_NAME$="BBJVNextPageMenuItem"
Next page menu item name
public static BBjNumber ODS_SAVE_CONTRIBUTOR=15
Constant that represents the ODS save contributor
public BBJasperODSExporter ODSExporter!
ODS exporter which contains export options
public static BBjNumber ODT_SAVE_CONTRIBUTOR=9
Constant that represents the ODT save contributor
public BBJasperODTExporter ODTExporter!
ODT exporter which contains export options
public static BBjString OF$=#Translations!.getTranslation("of")
Translated text for of
public static BBjString OPEN_LINK_IN_CURRENT_WINDOW$=#Translations!.getTranslation("open.link.in.current.window")
Translated text for open link in current window
public static BBjString OPEN_LINK_IN_CURRENT_WINDOW_MENU_ITEM_NAME$="BBJVOpenLinkInCurrentWindowMenuItem"
Open link in current window menu item name
public static BBjString OPEN_LINK_IN_NEW_ACTIVE_TAB$=#Translations!.getTranslation("open.link.in.new.active.tab")
Translated text for open link in new active tab
public static BBjString OPEN_LINK_IN_NEW_ACTIVE_TAB_MENU_ITEM_NAME$="BBJVOpenLinkInNewActiveTabMenuItem"
Open link in new active tab menu item name
public static BBjString OPEN_LINK_IN_NEW_INACTIVE_TAB$=#Translations!.getTranslation("open.link.in.new.inactive.tab")
Translated text for open link in new inactive tab
public static BBjString OPEN_LINK_IN_NEW_INACTIVE_TAB_MENU_ITEM_NAME$="BBJVOpenLinkInNewInactiveTabMenuItem"
Open link in new inactive tab menu item name
public static BBjString OPEN_LINK_IN_NEW_WINDOW$=#Translations!.getTranslation("open.link.in.new.window")
Translated text for open link in new window
public static BBjString OPEN_LINK_IN_NEW_WINDOW_MENU_ITEM_NAME$="BBJVOpenLinkInNewWindowMenuItem"
Open link in new window menu item name
public static BBjNumber PDF_SAVE_CONTRIBUTOR=1
Constant that represents the PDF save contributor
public BBJasperPDFExporter PDFExporter!
PDF exporter which contains export options
public static BBjString PNG_IMAGE$=#Translations!.getTranslation("png.image")
Translated text for png image
public static BBjNumber PPTX_SAVE_CONTRIBUTOR=14
Constant that represents the PPTX save contributor
public BBJasperPPTXExporter PPTXExporter!
PPTX exporter which contains export options
public static BBjString PREVIOUS_PAGE$=#Translations!.getTranslation("previous.page")
Translated text for previous page
public static BBjString PREVIOUS_PAGE_MENU_ITEM_NAME$="BBJVPreviousPageMenuItem"
Previous page menu item name
public static BBjString PRINT$=#Translations!.getTranslation("print")
Translated text for print
public static BBjString PRINT_MENU_ITEM_NAME$="BBJVPrintMenuItem"
Print menu item name
public static BBjNumber PRINT_SAVE_CONTRIBUTOR=11
Constant that represents the PRINT save contributor
public BBJasperjavax.print.PrintServiceExporter PrintServiceExporter!
Print service exporter which contains export options
public static BBjString READY$=#Translations!.getTranslation("ready")
Translated text for ready
public static BBjString RELOAD$=#Translations!.getTranslation("reload")
Translated text for reload
public static BBjString RELOAD_MENU_ITEM_NAME$="BBJVReloadMenuItem"
Reload menu item name
public static BBjString REPORT_CHILD_WINDOW_NAME$="BBJVReportChildWindow"
Report child window name
public static BBjString REPORT_IMAGE_CONTROL_NAME$="BBJVReportImageControl"
Report image control name
public static BBjString RIGHT_DOWN_ARROW$=#Translations!.getTranslation("right.down.arrow")
Translated text for right/down arrow
public static BBjNumber RTF_SAVE_CONTRIBUTOR=8
Constant that represents the RTF save contributor
public BBJasperRTFExporter RTFExporter!
RTF exporter which contains export options
public static BBjString SAVE$=#Translations!.getTranslation("save")
Translated text for save
public static BBjString SAVE_AS$=#Translations!.getTranslation("save.as")
Translated text for save-as
public static BBjString SAVE_AS_GOOGLE_DOCUMENT$=#Translations!.getTranslation("save.as.google.document")
Translated text for save as google document
public static BBjString SAVE_AS_GOOGLE_DOCUMENT_MENU_ITEM_NAME$="BBJVSaveAsGoogleDocumentMenuItem"
Save as google document menu item name
public static BBjString SAVE_AS_MENU_ITEM_NAME$="BBJVSaveAsMenuItem"
Save as menu item name
public static BBjString SAVE_CURRENT_PAGE_AS_IMAGE$=#Translations!.getTranslation("save.current.page.as.image")
Translated text for save current page as image
public static BBjString SAVE_IMAGE_MENU_ITEM_NAME$="BBJVSaveImageMenuItem"
Save image menu item name
public static BBjString SAVE_MENU_ITEM_NAME$="BBJVSaveMenuItem"
Save menu item name
public static BBjString SAVE_MENU_NAME$="BBJVSaveMenu"
Save menu name
public static BBjString SCOPE$=#Translations!.getTranslation("scope")
Translated text for scope
public static BBjString SENSITIVE$=#Translations!.getTranslation("sensitive")
Translated text for case sensitive
public static BBjString SHIFT$=#Translations!.getTranslation("shift")
Translated text for shift
public BBjNumber ShowFileDialogOnInitDefaultSave=1
Set to TRUE if the file save dialog should be shown on the initial save, otherwise FALSE. Default is TRUE
public BBjNumber ShowFileOverwriteMsg
Flag to show overwrite save warning, by default this is TRUE
public BBjNumber ShowGoogleDialogOnInitDefaultSave=1
Set to TRUE if the Google save dialog should be shown on the initial save, otherwise FALSE. Default is TRUE
public static BBjNumber SINGLE_SHEET_XLS_SAVE_CONTRIBUTOR=4
Constant that represents the single sheet XLS save contributor
public static BBjString STARTS_WITH$=#Translations!.getTranslation("starts.with")
Translated text for starts with
public BBjString TabTitle$
Tab Title
public static BBjString TEXT$=#Translations!.getTranslation("text")
Translated text for text
public static BBjNumber TXT_SAVE_CONTRIBUTOR=13
Constant that represents the TXT save contributor
public BBJasperTXTExporter TXTExporter!
TXT exporter which contains export options
public static BBjString VIEW$=#Translations!.getTranslation("view")
Translated text for view
public static BBjString VIEW_MENU_NAME$="BBJVViewMenu"
View menu name
public BBjString WindowTitle$
Window Title
public BBJasperXHTMLExporter XHTMLExporter!
XHMTL exporter which contains export options
public BBJasperXLSExporter XLSExporter!
XLS exporter which contains export options
public static BBjNumber XLSX_SAVE_CONTRIBUTOR=6
Constant that represents the multiple sheet XLSX save contributor
public BBJasperXLSXExporter XLSXExporter!
XLSX exporter which contains export options
public static BBjNumber XML_SAVE_CONTRIBUTOR=3
Constant that represents the XML save contributor
public BBJasperXMLExporter XMLExporter!
XML exporter which contains export options
public static BBjString ZOOM_IN$=#Translations!.getTranslation("zoom.in")
Translated text for zoom in
public static BBjString ZOOM_IN_MENU_ITEM_NAME$="BBJVZoomInMenuItem"
Zoom in menu item name
public static BBjString ZOOM_OUT$=#Translations!.getTranslation("zoom.out")
Translated text for zoom out
public static BBjString ZOOM_OUT_MENU_ITEM_NAME$="BBJVZoomOutMenuItem"
Zoom out menu item name
public static BBjString ZOOM_RATIO$=#Translations!.getTranslation("zoom.ratio")
Translated text for zoom ratio
public BBJasperView(BBJasperTabbedView p_tabbedView!, BBJasperReport p_report!)
Constructor Constructs a BBJasperView given a BBJasperReport and BBJasperViewerControl objects
p_report!
A BBJasperReport objectp_viewerControl!
A BBJasperViewerControl object which will house the viewpublic BBJasperView(BBJasperReport p_report!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
Constructor Constructs a BBJasperView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
p_report!
A BBJasperReport objectp_window!
A BBjWindow object which will house the viewp_id
ID for the viewp_x
X location for the viewp_y
Y location for the viewp_width
Width of the viewp_height
Height of the viewp_fitType
Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperView(JasperPrint p_jasperPrint!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
Constructor Constructs a BBJasperView given a JasperPrint object, BBjWindow object, control id, control x, control y, control width, control height, and fit type
p_jasperPrint!
A JasperPrint objectp_window!
A BBjWindow object which will house the viewp_id
ID for the viewp_x
X location for the viewp_y
Y location for the viewp_width
Width of the viewp_height
Height of the viewp_fitType
Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE 16.0
public void addSaveContributor(BBjNumber p_type)
addSaveContributor Adds a save contributor
p_type
Specify one of the following types: PDF_SAVE_CONTRIBUTOR, HTML_SAVE_CONTRIBUTOR, XML_SAVE_CONTRIBUTOR, EMBEDDED_IMAGES_XML_SAVE_CONTRIBUTOR, SINGLE_SHEET_XLS_SAVE_CONTRIBUTOR, MULTIPLE_SHEETS_XLS_SAVE_CONTRIBUTOR, XLSX_SAVE_CONTRIBUTOR, RTF_SAVE_CONTRIBUTOR, ODT_SAVE_CONTRIBUTOR, CSV_SAVE_CONTRIBUTOR, or PRINT_SAVE_CONTRIBUTORpublic void addViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!)
addViewerWindow Adds a viewer window to the vector of viewer windows
p_bbJasperViewerWindow!
BBJasperViewerWindow object to add to the vector of viewer windowspublic void closeAllViewerWindows()
closeAllViewerWindows Closes and destroys all windows that were created from this control
public void destroy()
destroy Destroys the view
public void destroy(BBjNumber p_closeAllViewerWindows)
destroy Destroys the view and optionally all viewer windows that were created by this control
p_closeAllViewerWindows
Specify TRUE to destroy all viewer window that were created by this view, otherwise FALSEpublic void doEmailDialog()
doEmailDialog Runs the email dialog
public void doSave()
doSave Saves the report
public void doSaveAs()
doSaveAs Save as the report
public void doSaveGoogleDoc()
OnSaveGoogleDoc Callback for when the save google doc menu item is selected
BBjPopupSelectEvent
objectpublic void findReport()
findReport Findes the entire report for the current find text and updates the passed vector with report elements found in the find.
public void firstPage()
firstPage Changes the view to display the first page, if it's not already on the first page
public HashMap getAllControls()
getAllControls Returns a HashMap containg all of the controls
public BBjControl getControl(BBjString p_controlName$)
getControl Returns a view control given the control name
p_controlName$
Name of the BBjControl object to obtainpublic EmailDialog getEmailDialog()
getEmailDialog Returns the EmailDialog object so that it can be customized
public BBjNumber getFindMatches()
public BBjString getFindResults()
public BBjNumber getFindText()
public BBjNumber getFitType()
getFitType Returns the FitType (FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE)
public GDocSaveDialog getGDocSaveDialog()
getGDocSaveDialog Returns the GDocSaveDialog object so that it can be customized
public BBjString getGoogleSaveDocument()
getGoogleSaveDocument Returns the Google save document
16.0
public BBjNumber getHeight()
getHeight Returns the height of the viewer control
public BBjPopupMenu getHyperlinkPopupMenu()
getHyperlinkPopupMenu Returns the hyperlink popup menu
public net.sf.jasperreports.engine.JasperPrint getJasperPrint()
getJasperPrint Returns the JasperPrint object
public BBjNumber getNumPages()
getNumPages Returns the number of pages in the report
public BBjNumber getPage()
getPage Returns the current viewed page of the report
public BBnet.sf.jasperreports.engine.JasperReport getReport()
getReport Returns the BBJasperReport object
public BBjChildWindow getReportChildWindow()
getReportChildWindow Returns the ReportChildWindow object
public BBjString getReportName()
getReportName Returns the report name
public BBjString getSaveFile()
getSaveFile Returns the save file
16.0
public BBjPopupMenu getToolsPopupMenu()
getToolsPopupMenu Returns the tools popup menu
public BBjNumber getWidth()
getWidth Returns the width of the viewer control
public BBjNumber getX()
getX Returns the X location of the viewer control
public BBjNumber getY()
getY Returns the Y location of the viewer control
public BBjNumber getZoomLevel()
getZoomLevel Returns the current zoom level
public BBjNumber getZoomNumber(BBjString p_pctString!)
getZoomNumber Returns the zoom number, given a precentage string
p_pctString!
Specifies the percentagepublic void lastPage()
lastPage Changes the view to display the last page, if it's not already on the last page
public void loadFindOptions()
Loads the find options
public void nextFindPage()
nextFindPage Finds and sets the page to where the next find element is found
public void nextHighlight()
nextHighlight Finds the next find element
public void nextPage()
nextPage Changes the view to display the next page, if there is one
public void OnActualSize(BBjPopupSelectEvent p_event!)
OnActualSize Callback for when the actual size menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnCustomPage(BBjPopupSelectEvent p_event!)
OnCustomPage Callback for when the custom page menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnCustomPageClose(BBjCloseEvent p_event!)
OnCustomPageClose Callback for when the custom page window is close
p_event!
BBjCloseEvent objectpublic void OnCustomPageEdit(BBjEditModifyEvent p_event!)
OnCustomPageEdit Callback for when a key is pressed in the custom page inputN
p_event!
BBjEditModifyEvent objectpublic void OnCustomZoom(BBjPopupSelectEvent p_event!)
OnCustomZoom Callback for when the custom zoom menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnCustomZoomClose(BBjCloseEvent p_event!)
OnCustomZoomClose Callback for when the custom zoom window is close
p_event!
BBjCloseEvent objectpublic void OnCustomZoomListEditSelect(BBjListSelectEvent p_event!)
OnCustomZoomListEditSelect Callback for when the custom zoom list selection event occurs
p_event!
BBjListSelectEvent objectpublic void OnEmail(BBjPopupSelectEvent p_event!)
OnEmail Callback for when the email menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnFileChooserApprove(BBjFileChooserApproveEvent p_event!)
OnFileChooserApprove Callback when a file is choosen in the file chooser window
p_event!
BBjFileChooserApproveEvent objectpublic void OnFileChooserClose(BBjSysGuiEvent p_event!)
OnFileChooserClose Callback when the file chooser window is closed/canceled
p_event!
BBjSysGuiEvent objectpublic void OnFileChooserFilter(BBjFileChooserFilterEvent p_event!)
OnFileChooserFilter Callback run when user selects a filter in the file chooser
p_event!
BBjFileChooserFilterEvent objectpublic void OnFind(BBjPopupSelectEvent p_event!)
OnFind Callback for when the find menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnFindCaseInsensitive(BBjCheckOnEvent p_event!)
public void OnFindCaseSensitive(BBjCheckOnEvent p_event!)
public void OnFindClear(BBjToolButtonPushEvent p_toolButtonPushEvent!)
public void OnFindClose(BBjCloseEvent p_closeEvent!)
public void OnFindGainedFocus(BBjGainedFocusEvent p_gainedFocusEvent!)
public void OnFindHighlightField(BBjCheckOnEvent p_event!)
public void OnFindHighlightText(BBjCheckOnEvent p_event!)
public void OnFindIncrementalOff(BBjCheckOffEvent p_event!)
public void OnFindIncrementalOn(BBjCheckOnEvent p_event!)
public void OnFindKeypress(BBjEditKeypressEvent p_editKeyPressEvent!)
OnFindKeypress Callback method for key press events find list edit
p_editKeyPressEvent!
BBjEditKeypressEvent object which contains keypress informationpublic void OnFindLostFocus(BBjLostFocusEvent p_lostFocusEvent!)
public void OnFindMatchContains(BBjCheckOnEvent p_event!)
public void OnFindMatchFullWord(BBjCheckOnEvent p_event!)
public void OnFindMatchStartsWith(BBjCheckOnEvent p_event!)
public void OnFindModify(BBjEditModifyEvent p_editModifyEvent!)
public void OnFindMoreOptions(BBjToolButtonPushEvent p_toolButtonPushEvent!)
public void OnFindNext(BBjToolButtonPushEvent p_toolButtonPushEvent!)
public void OnFindPrevious(BBjToolButtonPushEvent p_toolButtonPushEvent!)
public void OnFindScopeCurrentPage(BBjCheckOnEvent p_event!)
public void OnFindScopeReport(BBjCheckOnEvent p_event!)
public void OnFirstPage(BBjPopupSelectEvent p_event!)
OnFirstPage Callback for when the first page menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnFitPage(BBjPopupSelectEvent p_event!)
OnFitPage Callback for when the fit page menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnFitWidth(BBjPopupSelectEvent p_event!)
OnFitWidth Callback for when the fit width menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnHyperlink(BBjToolButtonPushEvent p_event!)
OnHyperlink Callback when a hyperlink (tool button) is pushed
p_event!
BBjToolButtonPushEvent objectpublic void OnHyperlinkPopup(BBjPopupRequestEvent p_event!)
OnHyperlink Callback when a hyperlink (tool button) is right clicked
p_event!
BBjToolButtonPushEvent objectpublic void OnKeypress(BBjKeypressEvent p_keyPressEvent!)
OnKeypress Callback method for key press events in the view
p_keyPressEvent!
BBjKeypressEvent object with contains key press informatiompublic void OnLastPage(BBjPopupSelectEvent p_event!)
OnLastPage Callback for when the last page menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnNextPage(BBjPopupSelectEvent p_event!)
OnNextPage Callback for when the next page menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnOpenLinkInCurrentWindow(BBjPopupSelectEvent p_event!)
Called when open link in current window menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnOpenLinkInNewActiveTab(BBjPopupSelectEvent p_event!)
Called when open link in new active tab menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnOpenLinkInNewInactiveTab(BBjPopupSelectEvent p_event!)
Called when open link in new inactive tab menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnOpenLinkInNewWindow(BBjPopupSelectEvent p_event!)
Called when open link in new window menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnPreviousPage(BBjPopupSelectEvent p_event!)
OnPrevousPage Callback for when the previous page menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnPrint(BBjPopupSelectEvent p_event!)
OnPrint Callback for when the email menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnReload(BBjPopupSelectEvent p_event!)
OnReload Callback for when the reload menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnReportWindowMouseUp(BBjMouseUpEvent p_event!)
Called when the mouse is pressed up over the view
p_event!
BBjMouseUpEvent that contains event informationpublic void OnSave(BBjPopupSelectEvent p_event!)
OnSave Callback run when user selects to save the report
p_event!
BBjPopupSelectEvent objectpublic void OnSaveAs(BBjPopupSelectEvent p_event!)
OnSaveAs Callback run when user selects to save-as the report
p_event!
BBjPopupSelectEvent objectpublic void OnSaveCurrentPageAsImage(BBjPopupSelectEvent p_event!)
OnSaveCurrentPageAsImage Callback for when the create current page as image menu item is selected
p_event!
BBjToolButtonPushEvent objectpublic void OnSaveGoogleDoc(BBjPopupSelectEvent p_event!)
OnSaveGoogleDoc Callback for when the save google doc menu item is selected
BBjPopupSelectEvent
objectpublic void OnViewWindowClose(BBjCloseEvent p_event!)
OnViewWindowClose Callback invoked when a view window is closed
p_event!
BBjCloseEvent that contains close event informationpublic void OnZoomIn(BBjPopupSelectEvent p_event!)
OnZoomIn Callback for when the zoom in menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void OnZoomOut(BBjPopupSelectEvent p_event!)
OnZoomOut Callback for when the zoom out menu item is selected
p_event!
BBjPopupSelectEvent objectpublic void previousHighlight()
previousHighlight Finds the previous find element
public void previousPage()
previousPage Changes the view to display the previous page, if there is one
public void print()
print Prints the current report
public void refresh()
refresh Refreshes the image for the current report page and zoom level
public void reload()
reload Refills the report and refreshes the view
public void removeSaveContributor(BBjNumber p_type)
removeSaveContributor Removes a save contributor
p_type
Specify one of the following types: PDF_SAVE_CONTRIBUTOR, HTML_SAVE_CONTRIBUTOR, XML_SAVE_CONTRIBUTOR, EMBEDDED_IMAGES_XML_SAVE_CONTRIBUTOR, SINGLE_SHEET_XLS_SAVE_CONTRIBUTOR, MULTIPLE_SHEETS_XLS_SAVE_CONTRIBUTOR, XLSX_SAVE_CONTRIBUTOR, RTF_SAVE_CONTRIBUTOR, ODT_SAVE_CONTRIBUTOR, CSV_SAVE_CONTRIBUTOR, or PRINT_SAVE_CONTRIBUTORpublic void removeViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!)
removeViewerWindow Removes a viewer window from the vector of viewer windows
p_bbJasperViewerWindow!
BBJasperViewerWindow object to remove from the vector of viewer windowspublic void saveCurrentPageAsImage()
saveCurrentPageAsImage Saves the current report page as a image
public void selectGoogleDefaultType(BBjString p_selectType$)
selectGoogleDefaultType Selects the default Google document type
p_selectType$
Default Google document typepublic void setActualSize()
setActualSize Sets the report image to the actual size
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
public void setDefaultSaveContributor(BBjNumber p_type)
setDefaultSaveContributor Sets the default save contributor
p_type
Specify one of the following types: PDF_SAVE_CONTRIBUTOR, HTML_SAVE_CONTRIBUTOR, XML_SAVE_CONTRIBUTOR, EMBEDDED_IMAGES_XML_SAVE_CONTRIBUTOR, SINGLE_SHEET_XLS_SAVE_CONTRIBUTOR, MULTIPLE_SHEETS_XLS_SAVE_CONTRIBUTOR, XLSX_SAVE_CONTRIBUTOR, RTF_SAVE_CONTRIBUTOR, ODT_SAVE_CONTRIBUTOR, CSV_SAVE_CONTRIBUTOR, or PRINT_SAVE_CONTRIBUTOR 11.0
public void setDefaultSaveFile(BBjString p_saveFile$)
setDefaultSaveFile Sets the default save file
p_saveFile$
Name of file to set as the default save file 11.0
public void setDefaultSaveFolder(BBjString p_saveFolder$)
setDefaultSaveFolder Sets the default save folder
p_saveFolder$
Name of folder to set as the default save folder 11.0
public void setEmailCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setEmailCallback Sets a callback routine to call when email is requested
p_eventName$
Custom callback event namep_callbackRoutine!
Callback routinepublic void setEmailCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override)
setEmailCallback Sets a callback routine to call when email is requested
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callbackp_override
If TRUE, standard processing is overriden by the callbackpublic void setEmailCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setEmailCallback Sets a callback routine to call when email is requested
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to callp_callbackRoutine!
Routine to callbackpublic void setEmailCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override)
setEmailCallback Sets a callback routine to call when email is requested
p_eventName$
Event name to use when calling the callback routinep_callbackObject!
CustomObject to callbackp_callbackRoutine!
Routine to callbackp_override
If TRUE, standard processing is overriden by the callbackpublic void setFileSaveAsCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setFileSaveAsCallback Sets a callback routine to call after a file save-as occurs
p_eventName$
Custom callback event namep_callbackRoutine!
Callback routine to callpublic void setFileSaveAsCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override)
setFileSaveAsCallback Sets a callback routine to call when a file save-as occurs
p_eventName$
Custom callback event namep_callbackRoutine!
Callback routine to callp_override
If TRUE, performs custom callback instead of regular processing, otherwise as a post-processpublic void setFileSaveAsCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setFileSaveAsCallback Sets a callback routine to call after a file save-as occurs
p_eventName$
Custom callback event namep_callbackObject!
Callback object to callp_callbackRoutine!
Callback method to callpublic void setFileSaveAsCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override)
setFileSaveAsCallback Sets a callback routine to call when a file save-as occurs
p_eventName$
Custom callback event namep_callbackObject!
Callback object to call (may be NULL)p_callbackRoutine!
Callback method or routine to callp_override
If TRUE, performs custom callback instead of regular processing, otherwise as a post-processpublic void setFileSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setFileSaveCallback Sets a callback routine to call after a file save occurs
p_eventName$
Custom callback event namep_callbackRoutine!
Callback routine to callpublic void setFileSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override)
setFileSaveCallback Sets a callback routine to call when a file save occurs
p_eventName$
Custom callback event namep_callbackRoutine!
Callback routine to callp_override
If TRUE, performs custom callback instead of regular processing, otherwise as a post-processpublic void setFileSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setFileSaveCallback Sets a callback routine to call after a file save occurs
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to callp_callbackRoutine!
Method to callpublic void setFileSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override)
setFileSaveCallback Sets a callback routine to call when a file save occurs
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to call (may be NULL)p_callbackRoutine!
Method or routine to callp_override
If TRUE, performs custom callback instead of regular processing, otherwise as a post-processpublic void setFindCaseSensitivity(BBjNumber p_findCaseSensitivity)
setFindCaseSensitivity Sets case sensitivity of the find
p_findCaseSensitivity
Case sensitivitypublic void setFindHighlight(BBjNumber p_findHighlight)
setFindHighlight Sets highlight option for the find
p_findHighlight
Find highlightpublic void setFindIncremental(BBjNumber p_findIncremental)
setFindIncremental Sets incremental find option for the find
p_findIncremental
1 (TRUE) for incremental find, otherwise 0 (FALSE)public void setFindMatch(BBjNumber p_findMatch)
setFindMatch Sets match option for the find
p_findMatch
Find matchpublic void setFindScope(BBjNumber p_findScope)
setFindScope Sets scope option for the find
p_findScope
Find scopepublic void setFindText(BBjString p_findText$)
public void setFindWindowVisible(BBjNumber p_findWindowVisible)
setFindWindowVisible Set the find window visibility
p_findWindowVisible
TRUE if the find window should be made visible, otherwise FALSEpublic void setFitPage()
setFitPage Sets the report image to the fit the page
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
public void setFitType(BBjNumber p_fitType)
setFitType Sets the report image to fit based on the provided fit type
The fit type can be set using static field variables like BBJasperView.getFIT_TYPE_ACTUAL(), BBJasperView.getFIT_TYPE_PAGE(), or BBJasperView.getFIT_TYPE_WIDTH().
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
p_fitType
Specifies one the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE BBj 18.20
public void setFitWidth()
setFitWidth Sets the report image to the fit the width of the container
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
public void setGoogleDefaultDocument(BBjString p_defaultDocument$)
setGoogleDefaultDocument Sets the default Google document
p_defaultDocument$
Default Google documentpublic void setGoogleDefaultFolder(BBjString p_defaultFolder$)
setGoogleDefaultFolder Sets the default Google folder
p_defaultFolder$
Default Google folderpublic void setGoogleDefaultType(BBjString p_defaultType$)
setGoogleDefaultType Sets the default Google document type
p_defaultType$
Default Google document typepublic void setGoogleDocSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setGoogleDocSaveCallback Sets a callback routine to call after a Google Doc save occurs
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callpublic void setGoogleDocSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override)
setGoogleDocSaveCallback Sets a callback routine to call when a Google Doc save occurs
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callp_override
If TRUE, performs custom callback instead of regular processing, otherwise a post-processpublic void setGoogleDocSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setGoogleDocSaveCallback Sets a callback routine to call after a Google Doc save occurs
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to callp_callbackRoutine!
Method to callpublic void setGoogleDocSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override)
setGoogleDocSaveCallback Sets a callback routine to call when a Google Doc save occurs
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to call (may be NULL)p_callbackRoutine!
Method or routine to callp_override
If TRUE, performs custom callback instead of regular processing, otherwise a post-processpublic void setHighResolutionReportImages(BBjNumber p_highResolutionImages)
setHighResolutionReportImages Causes the BBJasperViewerControl to display high resolution images to take advantage of high density pixel (retina) displays when available
Note that the report images will be sharper but will take longer to generate.
p_highResolutionImages
Specifies whether to use high resolution images or not. 0 = Use normal resolution images, 1 = Use high resolution images when available (default). 16.0
public void setLocation(BBjNumber p_x, BBjNumber p_y)
setLocation Sets the location of the viewer control
p_x
X location of the viewer controlp_y
Y location of the viewer controlpublic void setPage(BBjNumber p_page)
setPage Sets the current page
p_page
Specifies the report page to make currentpublic void setPrintCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setPrintCallback Sets a callback routine to call after report is printed
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callpublic void setPrintCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override)
setPrintCallback Sets a callback routine to call when report is printed
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callp_override
If TRUE, standard processing is overriden by the callbackpublic void setPrintCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setPrintCallback Sets a callback routine to call after report is printed
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to callp_callbackRoutine!
Method to callpublic void setPrintCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override)
setPrintCallback Sets a callback routine to call when report is printed
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to call (may be NULL)p_callbackRoutine!
Method or routine to callp_override
If TRUE, standard processing is overriden by the callbackpublic void setReloadCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setReloadCallback Sets a callback routine to call after report is reloaded
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callpublic void setReloadCallback(BBjString p_eventName$, BBjString p_callbackRoutine!, BBjNumber p_override)
setReloadCallback Sets a callback routine to call when report is reloaded
p_eventName$
Custom callback event namep_callbackRoutine!
Routine to callp_override
If TRUE, standard processing is overriden by the callbackpublic void setReloadCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setReloadCallback Sets a callback routine to call after report is reloaded
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to callp_callbackRoutine!
Method to callpublic void setReloadCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_override)
setReloadCallback Sets a callback routine to call when report is reloaded
p_eventName$
Custom callback event namep_callbackObject!
CustomObject to call (may be NULL)p_callbackRoutine!
Method or Routine to callp_override
If TRUE, standard processing is overriden by the callbackpublic void setSize(BBjNumber p_width, BBjNumber p_height)
setSize Sets the size of the view
p_width
Width of the viewp_height
Height of the viewpublic void setVisible(BBjNumber p_visible)
setVisible Sets the visibility of the view
p_visible
Specify TRUE (1) to make the view visible, otherwise FALSE (0)public void setZoomLevel(BBjNumber p_zoomLevel)
setZoomLevel Sets the report image to the specifed zoom level
p_zoomLevel
Specifies the zoom levelpublic void storeFindOptions()
Stores the find options