public class BBJasperViewerControl extends Object
In BBj 12.0 the BBJasperViewerControl utility was re-written in BBj native code to enable the ability to be run in BUI
Modifier and Type | Field and Description |
---|---|
static BBjString |
ACTUAL_SIZE$
Translated text for actual size
|
static BBjString |
ALL_FILES$
Translated text for all files
|
static BBjString |
BBJASPER_TABBED_VIEW_KEY_NAME$
Name of STBL key to globally specify if a tabbed view should be used
|
static BBjString |
CONTROL_CHILD_WINDOW_NAME$
Viewer control child window name
|
static BBjNumber |
CONTROL_ERROR
Constant that represents a control error
|
static BBjString |
CREATE_IMAGE_TOOL_BUTTON_NAME$
Create imaage tool button name
|
static BBjString |
CREATE_IMAGE$
Translated text for create image
|
static BBjNumber |
CSV_SAVE_CONTRIBUTOR
Constant that represents the CSV save contributor
|
static BBjString |
CUSTOM_ZOOM_RATIO$
Translated text for custom zoom
|
static BBjNumber |
DEFAULT_SAVE_DISK
Constant which represents the default save location as the disk
|
static BBjNumber |
DEFAULT_SAVE_GOOGLE
Constant which represents the default save location as Google docs
|
static BBjString |
EMAIL_TOOL_BUTTON_NAME$
Email tool button name
|
static BBjString |
EMAIL$
Translated text for email
|
static BBjNumber |
EMBEDDED_IMAGES_XML_SAVE_CONTRIBUTOR
Constant that represents the embedded images XML save contributor
|
static BBjNumber |
FIND_EDIT_BOX_WIDTH
Width of the find edit, the default is 140
|
static BBjNumber |
FIND_STATIC_TEXT_WIDTH
Width of the find static text, the default is 60
|
static BBjString |
FIND_TOOL_BUTTON_NAME$
Find tool button name
|
static BBjString |
FIND$
Translated text for find
|
static BBjString |
FIRST_PAGE_TOOL_BUTTON_NAME$
First page tool button name
|
static BBjString |
FIRST_PAGE$
Translated text for first page
|
static BBjString |
FIT_ACTUAL_SIZE_TOOL_BUTTON_NAME$
Fit actual size tool button name
|
static BBjString |
FIT_PAGE_TOOL_BUTTON_NAME$
Fit page tool button name
|
static BBjString |
FIT_PAGE$
Translated text for fit to page
|
static BBjNumber |
FIT_TYPE_ACTUAL
Constant for fit type actual
|
static BBjNumber |
FIT_TYPE_PAGE
Constant for fit type page
|
static BBjNumber |
FIT_TYPE_WIDTH
Constant for fit type width
|
static BBjNumber |
FIT_TYPE_ZOOM
Constant for fit type zoom
|
static BBjString |
FIT_WIDTH_TOOL_BUTTON_NAME$
Fit width tool button name
|
static BBjString |
FIT_WIDTH$
Translated text for fit to width
|
static BBjString |
GO_TO_PAGE$
Translated text for go to page
|
static BBjNumber |
HTML_SAVE_CONTRIBUTOR
Constant that represents the HTML save contributor
|
static BBjString |
LAST_PAGE_TOOL_BUTTON_NAME$
Last page tool button name
|
static BBjString |
LAST_PAGE$
Translated text for last page
|
static BBjNumber |
MULTIPLE_SHEETS_XLS_SAVE_CONTRIBUTOR
Constant that represents the multiple sheet XLS save contributor
|
static BBjString |
NEXT_PAGE_TOOL_BUTTON_NAME$
Next page tool button name
|
static BBjString |
NEXT_PAGE$
Translated text for next page
|
static BBjNumber |
ODT_SAVE_CONTRIBUTOR
Constant that represents the ODT save contributor
|
static BBjNumber |
PAGE_INPUTN_WIDTH
Width of the page inputn, the default is 40
|
static BBjString |
PAGE_NUMBER_INPUTN_NAME$
Page number inputn name
|
static BBjString |
PAGE_STATUS$
Translated text for page status
|
static BBjNumber |
PDF_SAVE_CONTRIBUTOR
Constant that represents the PDF save contributor
|
static BBjString |
PNG_IMAGE$
Translated text for png image
|
static BBjString |
PREVIOUS_PAGE_TOOL_BUTTON_NAME$
Previous page tool button name
|
static BBjString |
PREVIOUS_PAGE$
Translated text for previous page
|
static BBjNumber |
PRINT_SAVE_CONTRIBUTOR
Constant that represents the PRINT save contributor
|
static BBjString |
PRINT_TOOL_BUTTON_NAME$
Print tool button name
|
static BBjString |
PRINT$
Translated text for print
|
static BBjString |
RELOAD_TOOL_BUTTON_NAME$
Reload tool button name
|
static BBjString |
RELOAD$
Translated text for reload
|
static BBjNumber |
RTF_SAVE_CONTRIBUTOR
Constant that represents the RTF save contributor
|
static BBjString |
SAVE_AS_GOOGLE_DOCUMENT_MENU_ITEM_NAME$
Save as google docment item name
|
static BBjString |
SAVE_AS_GOOGLE_DOCUMENT$
Translated text for save as google document
|
static BBjString |
SAVE_AS_MENU_ITEM_NAME$
Save as menu item name
|
static BBjString |
SAVE_AS$
Translated text for save-as
|
static BBjString |
SAVE_MENU_BUTTON_NAME$
Save menu button name
|
static BBjNumber |
SAVE_MENU_BUTTON_WIDTH
Width of the save menu button, the default is 39
|
static BBjString |
SAVE_MENU_ITEM_NAME$
Save menu item name
|
static BBjString |
SAVE$
Translated text for save
|
static BBjNumber |
SCROLL_BAR_SIZE
Height and width of the scroll bars, the defaults are set the UI
|
BBjNumber |
ShowFileOverwriteMsg
Flag to show overwrite save warning, by default this is TRUE
|
static BBjNumber |
SINGLE_SHEET_XLS_SAVE_CONTRIBUTOR
Constant that represents the single sheet XLS save contributor
|
static BBjNumber |
STATUS_BAR_HEIGHT
Height of the status bar, the default is 20
|
static BBjString |
STATUS_BAR_NAME$
Status bar name
|
static BBjString |
TOOL_BAR_CHILD_WINDOW_NAME$
Tool bar child window name
|
static BBjNumber |
TOOL_BAR_CONTROL_HEIGHT
Height of the tool bar controls, the default is 22
|
static BBjNumber |
TOOL_BAR_CONTROL_INTERSPACE
The space between controls on the tool bar, the default is 2
|
static BBjNumber |
TOOL_BAR_CONTROL_Y
Y location of the tool bar controls, the default is 3
|
static BBjNumber |
TOOL_BAR_HEIGHT
Height of the tool bar, the default is the TOOL_BAR_CONTROL_HEIGHT + 7
|
static BBjNumber |
TOOL_BAR_SPACER_WIDTH
Width of the tool bar spacer, the default is 8
|
static BBjNumber |
TOOL_BUTTON_ERROR
Constant that represents a tool button error
|
static BBjNumber |
TOOL_BUTTON_WIDTH
Width of the tool buttons, the default is 22
|
BBJasperViewerWindow |
ViewerWindow!
Viewer window
|
static BBjNumber |
WINDOW_ERROR
Constant that represents a window error
|
static BBjNumber |
XLSX_SAVE_CONTRIBUTOR
Constant that represents the multiple sheet XLSX save contributor
|
static BBjNumber |
XML_SAVE_CONTRIBUTOR
Constant that represents the XML save contributor
|
static BBjString |
ZOOM_IN_TOOL_BUTTON_NAME$
Zoom in tool button name
|
static BBjString |
ZOOM_IN$
Translated text for zoom in
|
static BBjNumber |
ZOOM_LIST_EDIT_BOX_WIDTH
Width of the zoom list edit, the default is 80
|
static BBjString |
ZOOM_LIST_EDIT_NAME$
Zoom list edit name
|
static BBjString |
ZOOM_OUT_TOOL_BUTTON_NAME$
Zoom out tool button name
|
static BBjString |
ZOOM_OUT$
Translated text for zoom out
|
static BBjString |
ZOOM_RATIO$
Translated text for zoom ratio
|
Constructor and Description |
---|
BBJasperViewerControl(BBJasperReport p_report!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height)
Constructs a BBJasperViewerControl given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, and control height
|
BBJasperViewerControl(BBJasperReport p_report!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_fitType)
Constructs a BBJasperViewerControl given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
|
BBJasperViewerControl(BBJasperViewerWindow p_viewerWindow!,
BBjVector p_reports!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_fitType)
Constructs a BBJasperViewerControl given a BBJasperViewerWindow object, BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
|
BBJasperViewerControl(BBJasperViewerWindow p_viewerWindow!,
JasperPrint p_jasperPrint!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_fitType)
Constructs a BBJasperViewerControl given a BBJasperViewer object, JasperPrint object, BBjWindow object, control id, control x, control y, control width, control height, and fit type
|
BBJasperViewerControl(BBjVector p_reports!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height)
Constructs a BBJasperViewerControl given a BBjVector containing BBJasperReport objects, BBjWindow object, control id, control x, control y, control width, and control height
|
BBJasperViewerControl(BBjVector p_reports!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_fitType)
Constructs a BBJasperViewerControl given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
|
BBJasperViewerControl(JasperPrint p_jasperPrint!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height)
Constructs a BBJasperViewerControl given a JasperPrint object, BBjWindow object, control id, control x, control y, control width, and control height
|
BBJasperViewerControl(JasperPrint p_jasperPrint!,
BBjWindow p_window!,
BBjNumber p_id,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_fitType)
Constructs a BBJasperViewerControl 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)
Adds a save contributor
|
BBjToolButton |
addToolbarButton(BBjNumber p_IconImageListIndex,
BBjString p_shortCue$,
BBjString p_name$)
Adds a tool button at the end of the tool bar
|
BBjToolButton |
addToolbarButton(BBjString p_image$,
BBjString p_shortCue$)
Adds a tool button at the end of the tool bar
|
BBjToolButton |
addToolbarButton(BBjString p_image$,
BBjString p_shortCue$,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_text$,
BBjNumber p_id,
BBjNumber p_index)
Adds a tool button to the tool bar at the specified index
|
BBjToolButton |
addToolbarButton(BBjString p_image$,
BBjString p_shortCue$,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_text$,
BBjNumber p_id,
BBjNumber p_index,
BBjString p_name$)
Adds a tool button to the tool bar at the specified index
|
BBjToolButton |
addToolbarButton(BBjString p_image$,
BBjString p_shortCue$,
BBjString p_name$)
Adds a tool button at the end of the tool bar
|
BBjChildWindow |
addToolbarChildWindow(BBjNumber p_width,
BBjNumber p_height,
BBjString p_title$,
BBjString p_flags$,
BBjNumber p_index)
Adds a child window to the tool bar at the specified index
|
BBjChildWindow |
addToolbarChildWindow(BBjNumber p_width,
BBjNumber p_height,
BBjString p_title$,
BBjString p_flags$,
BBjNumber p_index,
BBjString p_name$)
Adds a child window to the tool bar at the specified index
|
void |
addToolbarSpacer()
Adds a tool bar spacer at the end of the tool bar
|
void |
addToolbarSpacer(BBjNumber p_index)
Adds a tool bar spacer at the specified index of the tool bar
|
void |
addToolbarSpacer(BBjNumber p_index,
BBjString p_name$)
Adds a tool bar spacer at the specified index of the tool bar
|
void |
addToolButton(BBjNumber p_id,
BBjString p_text$,
BBjString p_shortCue$,
BBjString p_image$,
BBjString p_callbackRoutine!)
Adds a tool button to the tool bar
|
void |
addToolButton(BBjNumber p_id,
BBjString p_text$,
BBjString p_shortCue$,
BBjString p_image$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!)
Adds a tool button to the tool bar
|
void |
addToolButton(BBjNumber p_id,
BBjString p_text$,
BBjString p_shortCue$,
BBjString p_image$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_index)
Adds a tool button to the tool bar
|
void |
addToolButton(BBjNumber p_id,
BBjString p_text$,
BBjString p_shortCue$,
BBjString p_image$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!,
BBjNumber p_width,
BBjNumber p_height,
BBjNumber p_index,
BBjString p_name$)
Adds a tool button to the tool bar
|
void |
addViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!)
Adds a viewer window to the vector of viewer windows
|
void |
closeAllViewerWindows()
Closes and destroys all windows that were created from this control
|
void |
destroy()
Destroys the viewer control
|
void |
destroy(BBjNumber p_closeAllViewerWindows)
Destroys the control and optionally all
viewer windows that were created by this control
|
void |
findReport()
Findes the entire report for the current find text and updates the passed vector with
report elements found in the find.
|
HashMap |
getAllControls()
Returns a HashMap containg all of the controls
|
BBjControl |
getControl(BBjString p_controlName$)
Returns a control given the control name
|
BBJasperCSVExporter |
getCSVExporter()
Returns the CSV exporter which contains export options
|
BBjNumber |
getDefaultSave()
Returns the default save location
|
BBJasperDOCXExporter |
getDOCXExporter()
Returns the DOCX exporter which contains export options
|
EmailDialog |
getEmailDialog()
Returns the EmailDialog object so that it can be customized
|
BBjNumber |
getFitType()
Returns the FitType (FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE)
|
GDocSaveDialog |
getGDocSaveDialog()
Returns the GDocSaveDialog object so that it can be customized
|
BBjNumber |
getHeight()
Returns the height of the viewer control
|
BBJasperHTMLExporter |
getHTMLExporter()
Returns the HTML exporter which contains export options
|
JasperPrint |
getJasperPrint()
Returns the JasperPrint object
|
BBJasperODSExporter |
getODSExporter()
Returns the ODS exporter which contains export options
|
BBJasperODTExporter |
getODTExporter()
Returns the ODT exporter which contains export options
|
BBjNumber |
getPage()
Return the current page
|
BBJasperPDFExporter |
getPDFExporter()
Returns the PDF exporter which contains export options
|
BBJasperPPTXExporter |
getPPTXExporter()
Returns the PPTX exporter which contains export options
|
BBJasperPrintServiceExporter |
getPrintServiceExporter()
Returns the PrintService exporter which contains export options
|
BBJasperReport |
getReport()
Returns the BBJasperReport object
|
BBjVector |
getReports()
Returns a BBjVector containing the BBJasperReport objects
|
BBJasperRTFExporter |
getRTFExporter()
Returns the RTF exporter which contains export options
|
BBjPopupMenu |
getSavePopupMenu()
Returns the save popup menu
|
BBjNumber |
getShowFileDialogOnInitDefaultSave()
Returns if the file save dialog should be shown on the intitial save
|
BBjNumber |
getShowGoogleDialogOnInitDefaultSave()
Returns if the Google save dialog should be shown on the intitial save
|
BBJasperTabbedView |
getTabbedView()
Returns the tabbed view
|
BBjChildWindow |
getToolbar()
Returns the tool bar
|
BBjControl |
getToolbarControlAt(BBjNumber p_index)
Returns a tool bar control at the specified index
|
BBJasperTXTExporter |
getTXTExporter()
Returns the TXT exporter which contains export options
|
BBJasperView |
getView()
Returns the current view
|
BBjNumber |
getWidth()
Returns the width of the viewer control
|
BBjNumber |
getX()
Returns the X location of the viewer control
|
BBJasperXHTMLExporter |
getXHTMLExporter()
Returns the XHTML exporter which contains export options
|
BBJasperXLSExporter |
getXLSExporter()
Returns the XLS exporter which contains export options
|
BBJasperXLSXExporter |
getXLSXExporter()
Returns the XLSX exporter which contains export options
|
BBJasperXMLExporter |
getXMLExporter()
Returns the XML exporter which contains export options
|
BBjNumber |
getY()
Returns the Y location of the viewer control
|
BBjNumber |
getZoomLevel()
Returns the current zoom level
|
void |
OnActualSizeToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the acutal size tool button is pushed
|
void |
OnCreateImageToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the create image tool button is pushed
|
void |
OnEmailToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the email tool button is pushed
|
void |
OnFindToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the find tool button is pushed
|
void |
OnFirstToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the first page tool button is pushed
|
void |
OnFitPageToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the fit to page tool button is pushed
|
void |
OnFitWidthToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the fit to width tool button is pushed
|
void |
OnKeypress(BBjKeypressEvent p_keyPressEvent!) |
void |
OnLastToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the last page tool button is pushed
|
void |
OnNextToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the next page tool button is pushed
|
void |
OnPageNumberEdit(BBjEditModifyEvent p_event!)
Callback for when a key is pressed in the page number inputN
|
void |
OnPreviousToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the previous page tool button is pushed
|
void |
OnPrintToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the print tool button is pushed
|
void |
OnReloadToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the reload tool button is pushed
|
void |
OnReportWindowMouseUp(BBjMouseUpEvent p_event!)
Called when the mouse is pressed up over the report window
|
void |
OnSave(BBjSysGuiEvent p_event!)
Callback run when user selects to save the report
|
void |
OnSaveAs(BBjSysGuiEvent p_event!)
Callback run when user selects to save-as the report
|
void |
OnSaveGoogleDoc(BBjPopupSelectEvent p_event!)
Callback for when the save google doc menu item is selected
|
void |
OnToolBarWindowMouseUp(BBjMouseUpEvent p_event!)
Called when the mouse is pressed up over the tool bar window
|
void |
OnToolButtonPush(BBjToolButtonPushEvent p_event!)
Callback called when a tool button is pushed
|
void |
OnZoomGainedFocus(BBjGainedFocusEvent p_gainedFocusEvent!) |
void |
OnZoomInToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the zoom in tool button is pushed
|
void |
OnZoomListEditSelect(BBjListSelectEvent p_event!)
Callback for when a zoom level selection is made
|
void |
OnZoomLostFocus(BBjLostFocusEvent p_lostFocusEvent!) |
void |
OnZoomOutToolButton(BBjToolButtonPushEvent p_event!)
Callback for when the zoom out tool button is pushed
|
void |
refresh()
Refreshes the image for the current report page and zoom level
|
void |
refreshToolbar()
Refreshes the toolbar in case controls have been added/removed outside the class
|
void |
reload()
Refills the report and refreshes the viewer
|
void |
removeSaveContributor(BBjNumber p_type)
Removes a save contributor
|
void |
removeViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!)
Removes a viewer window from the vector of viewer windows
|
void |
selectGoogleDefaultType(BBjString p_selectType$)
Selects the default Google document type
|
void |
setActualSize()
Sets the report image to the actual size
|
void |
setCSVExporter(BBJasperCSVExporter p_csvExporter!)
Sets the CSV exporter which contains export options
|
void |
setDefaultSave(BBjNumber p_defaultSave)
Sets the default save location
|
void |
setDefaultSaveContributor(BBjNumber p_type)
Sets the default save contributor
|
void |
setDefaultSaveFile(BBjString p_saveFile$)
Sets the default save file
|
void |
setDefaultSaveFolder(BBjString p_saveFolder$)
Sets the default save folder
|
void |
setDOCXExporter(BBJasperDOCXExporter p_docxExporter!)
Sets the DOCX exporter which contains export options
|
void |
setFileSaveCallback(BBjString p_eventName$,
BBjString p_callbackRoutine!)
Sets a callback routine to call when a file save occurs
|
void |
setFileSaveCallback(BBjString p_eventName$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!)
Sets a callback routine to call when a file save occurs
|
void |
setFindCaseSensitivity(BBjNumber p_findCaseSensitivity) |
void |
setFindHighlight(BBjNumber p_findHighlight) |
void |
setFindMatch(BBjNumber p_findMatch) |
void |
setFindScope(BBjNumber p_findScope) |
void |
setFindText(BBjString p_findText$)
Sets the find text
|
void |
setFitPage()
Sets the report image to the fit the page
|
void |
setFitType(BBjNumber p_fitType)
Sets the report image to fit based on the provided fit type
|
void |
setFitWidth()
Sets the report image to the fit the width of the container
|
void |
setGoogleDefaultDocument(BBjString p_defaultDocument$)
Sets the default Google document
|
void |
setGoogleDefaultFolder(BBjString p_defaultFolder$)
Sets the default Google folder
|
void |
setGoogleDefaultType(BBjString p_defaultType$)
Sets the default Google document type
|
void |
setGoogleDocSaveCallback(BBjString p_eventName$,
BBjString p_callbackRoutine!)
Sets a callback routine to call when a Google Doc save occurs
|
void |
setGoogleDocSaveCallback(BBjString p_eventName$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!)
Sets a callback routine to call when a Google Doc save occurs
|
void |
setHTMLExporter(BBJasperHTMLExporter p_htmlExporter!)
Sets the HTML exporter which contains export options
|
void |
setLocation(BBjNumber p_x,
BBjNumber p_y)
Sets the location of the viewer control
|
void |
setMouseClickCallback(BBjString p_eventName$,
BBjString p_callbackRoutine!)
Sets a callback routine to call when the mouse is clicked
|
void |
setMouseClickCallback(BBjString p_eventName$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!)
Sets a callback routine to call when the mouse is clicked
|
void |
setODSExporter(BBJasperODSExporter p_odsExporter!)
Sets the ODS exporter which contains export options
|
void |
setODTExporter(BBJasperODTExporter p_odtExporter!)
Sets the ODT exporter which contains export options
|
void |
setPage(BBjNumber p_page)
Sets the current page
|
void |
setPDFExporter(BBJasperPDFExporter p_pdfExporter!)
Sets the PDF exporter which contains export options
|
void |
setPPTXExporter(BBJasperPPTXExporter p_pptxExporter!)
Sets the PPTX exporter which contains export options
|
void |
setPrintServiceExporter(BBJasperPrintServiceExporter p_printServiceExporter!)
Sets the PrintService exporter which contains export options
|
void |
setRTFExporter(BBJasperRTFExporter p_rtfExporter!)
Sets the RTF exporter which contains export options
|
void |
setShowFileDialogOnInitDefaultSave(BBjNumber p_showFileDialogOnInitDefaultSave)
Sets if the file save dialog should be shown on the intitial save
|
void |
setShowGoogleDialogOnInitDefaultSave(BBjNumber p_showGoogleDialogOnInitDefaultSave)
Sets if the Google save dialog should be shown on the intitial save
|
void |
setSize(BBjNumber p_width,
BBjNumber p_height)
Sets the sizes of the viewer control
|
void |
setStatusBarText(BBjString p_statusBarText$)
Sets the text in the status bar
|
void |
setTXTExporter(BBJasperTXTExporter p_txtExporter!)
Sets the TXT exporter which contains export options
|
void |
setView(BBJasperView p_view!)
Set the current view for the viewer control
|
void |
setVisible(BBjNumber p_visible)
Sets the visibility of the viewer control
|
void |
setXHTMLExporter(BBJasperXHTMLExporter p_xhtmlExporter!)
Sets the XHTML exporter which contains export options
|
void |
setXLSExporter(BBJasperXLSExporter p_xlsExporter!)
Sets the XLS exporter which contains export options
|
void |
setXLSXExporter(BBJasperXLSXExporter p_xlsxExporter!)
Sets the XLSX exporter which contains export options
|
void |
setXMLExporter(BBJasperXMLExporter p_xmlExporter!)
Sets the XML exporter which contains export options
|
void |
setZoomLevel(BBjNumber p_zoomLevel)
Sets the report image to the specifed zoom level
|
void |
updateControls()
Updates the controls based on the current view
|
void |
updateNavButtonControls()
Updates the navigation button to enabled/disabled states
|
void |
updatePageControls()
Updates the page controls
|
void |
updateZoomControl()
Updates the zoom control to the current report zoom
|
public BBJasperViewerWindow ViewerWindow!
public BBjNumber ShowFileOverwriteMsg
public static BBjNumber DEFAULT_SAVE_DISK
public static BBjNumber DEFAULT_SAVE_GOOGLE
public static BBjNumber FIT_TYPE_ACTUAL
public static BBjNumber FIT_TYPE_WIDTH
public static BBjNumber FIT_TYPE_PAGE
public static BBjNumber FIT_TYPE_ZOOM
public static BBjNumber SAVE_MENU_BUTTON_WIDTH
public static BBjNumber TOOL_BUTTON_WIDTH
public static BBjNumber PAGE_INPUTN_WIDTH
public static BBjNumber ZOOM_LIST_EDIT_BOX_WIDTH
public static BBjNumber FIND_EDIT_BOX_WIDTH
public static BBjNumber FIND_STATIC_TEXT_WIDTH
public static BBjNumber TOOL_BAR_CONTROL_HEIGHT
public static BBjNumber TOOL_BAR_CONTROL_INTERSPACE
public static BBjNumber TOOL_BAR_CONTROL_Y
public static BBjNumber TOOL_BAR_HEIGHT
public static BBjNumber TOOL_BAR_SPACER_WIDTH
public static BBjNumber STATUS_BAR_HEIGHT
public static BBjNumber SCROLL_BAR_SIZE
public static BBjNumber PDF_SAVE_CONTRIBUTOR
public static BBjNumber HTML_SAVE_CONTRIBUTOR
public static BBjNumber XML_SAVE_CONTRIBUTOR
public static BBjNumber SINGLE_SHEET_XLS_SAVE_CONTRIBUTOR
public static BBjNumber MULTIPLE_SHEETS_XLS_SAVE_CONTRIBUTOR
public static BBjNumber XLSX_SAVE_CONTRIBUTOR
public static BBjNumber EMBEDDED_IMAGES_XML_SAVE_CONTRIBUTOR
public static BBjNumber RTF_SAVE_CONTRIBUTOR
public static BBjNumber ODT_SAVE_CONTRIBUTOR
public static BBjNumber CSV_SAVE_CONTRIBUTOR
public static BBjNumber PRINT_SAVE_CONTRIBUTOR
public static BBjNumber WINDOW_ERROR
public static BBjNumber CONTROL_ERROR
public static BBjNumber TOOL_BUTTON_ERROR
public static BBjString PAGE_STATUS$
public static BBjString SAVE$
public static BBjString SAVE_AS$
public static BBjString SAVE_AS_GOOGLE_DOCUMENT$
public static BBjString PRINT$
public static BBjString RELOAD$
public static BBjString FIRST_PAGE$
public static BBjString PREVIOUS_PAGE$
public static BBjString NEXT_PAGE$
public static BBjString LAST_PAGE$
public static BBjString GO_TO_PAGE$
public static BBjString ACTUAL_SIZE$
public static BBjString FIT_PAGE$
public static BBjString FIT_WIDTH$
public static BBjString ZOOM_IN$
public static BBjString ZOOM_OUT$
public static BBjString ZOOM_RATIO$
public static BBjString CUSTOM_ZOOM_RATIO$
public static BBjString CREATE_IMAGE$
public static BBjString PNG_IMAGE$
public static BBjString EMAIL$
public static BBjString ALL_FILES$
public static BBjString FIND$
public static BBjString CONTROL_CHILD_WINDOW_NAME$
public static BBjString TOOL_BAR_CHILD_WINDOW_NAME$
public static BBjString STATUS_BAR_NAME$
public static BBjString SAVE_MENU_BUTTON_NAME$
public static BBjString SAVE_MENU_ITEM_NAME$
public static BBjString SAVE_AS_MENU_ITEM_NAME$
public static BBjString SAVE_AS_GOOGLE_DOCUMENT_MENU_ITEM_NAME$
public static BBjString PAGE_NUMBER_INPUTN_NAME$
public static BBjString ZOOM_LIST_EDIT_NAME$
public static BBjString CREATE_IMAGE_TOOL_BUTTON_NAME$
public static BBjString PRINT_TOOL_BUTTON_NAME$
public static BBjString EMAIL_TOOL_BUTTON_NAME$
public static BBjString RELOAD_TOOL_BUTTON_NAME$
public static BBjString FIRST_PAGE_TOOL_BUTTON_NAME$
public static BBjString PREVIOUS_PAGE_TOOL_BUTTON_NAME$
public static BBjString NEXT_PAGE_TOOL_BUTTON_NAME$
public static BBjString LAST_PAGE_TOOL_BUTTON_NAME$
public static BBjString FIT_ACTUAL_SIZE_TOOL_BUTTON_NAME$
public static BBjString FIT_PAGE_TOOL_BUTTON_NAME$
public static BBjString FIT_WIDTH_TOOL_BUTTON_NAME$
public static BBjString ZOOM_IN_TOOL_BUTTON_NAME$
public static BBjString ZOOM_OUT_TOOL_BUTTON_NAME$
public static BBjString FIND_TOOL_BUTTON_NAME$
public static BBjString BBJASPER_TABBED_VIEW_KEY_NAME$
public BBJasperViewerControl(BBJasperReport p_report!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height)
p_report!
- A BBJasperReport objectp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlpublic BBJasperViewerControl(BBjVector p_reports!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height)
p_reports!
- BBjVector containing BBJasperReport objectsp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlpublic BBJasperViewerControl(BBJasperReport p_report!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
p_report!
- A BBJasperReport objectp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerControl(BBjVector p_reports!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
p_reports!
- BBjVector that contains BBJasperReport objectsp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerControl(BBJasperViewerWindow p_viewerWindow!, BBjVector p_reports!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
p_viewerWindow!
- A BBJasperViewerWindow objectp_reports!
- BBjVector that contains BBJasperReport objectsp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerControl(JasperPrint p_jasperPrint!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height)
p_jasperPrint!
- A JasperPrint objectp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlpublic BBJasperViewerControl(JasperPrint p_jasperPrint!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
p_jasperPrint!
- A JasperPrint objectp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerControl(BBJasperViewerWindow p_viewerWindow!, JasperPrint p_jasperPrint!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
p_viewerWindow!
- A BBJasperViewer objectp_jasperPrint!
- A JasperPrint objectp_window!
- A BBjWindow object which will house the controlp_id
- ID for the viewer controlp_x
- X location for the viewer controlp_y
- Y location for the viewer controlp_width
- Width of the viewer controlp_height
- Height of the viewer controlp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic void reload()
public void refresh()
public void OnSave(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnSaveAs(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnSaveGoogleDoc(BBjPopupSelectEvent p_event!)
BBjPopupSelectEvent
- objectpublic void setGoogleDefaultFolder(BBjString p_defaultFolder$)
p_defaultFolder$
- Default Google folderpublic void setGoogleDefaultDocument(BBjString p_defaultDocument$)
p_defaultDocument$
- Default Google documentpublic void setGoogleDefaultType(BBjString p_defaultType$)
p_defaultType$
- Default Google document typepublic void selectGoogleDefaultType(BBjString p_selectType$)
p_selectType$
- Default Google document typepublic void setGoogleDocSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
p_eventName$
- Event to specify during the callbackp_callbackRoutine!
- Callback routine to callpublic void setGoogleDocSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
p_eventName$
- Event to specify during the callbackp_callbackObject!
- Callback object to callp_callbackRoutine!
- Callback routine to callpublic void OnPrintToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnEmailToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic EmailDialog getEmailDialog()
public void OnReloadToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnFirstToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnPreviousToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnNextToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnLastToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnPageNumberEdit(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEvent objectpublic void setPage(BBjNumber p_page)
p_page
- Specifies the report page to make currentpublic BBjNumber getPage()
public void updateControls()
public void updateNavButtonControls()
public void updateZoomControl()
public void updatePageControls()
public void OnActualSizeToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void setActualSize()
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
public void OnFitPageToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void setFitPage()
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
public void OnFitWidthToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void setFitWidth()
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
public void setFitType(BBjNumber p_fitType)
The fit type can be set using static field variables like BBJasperViewerControl.getFIT_TYPE_ACTUAL(), BBJasperViewerControl.getFIT_TYPE_WIDTH(), or BBJasperViewerControl.getFIT_TYPE_PAGE()
All Fit Methods: setFitWidth(), setFitPage(), setActualSize(), and setFitType()
p_fitType
- Specifies one the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic void OnZoomInToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnZoomOutToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnZoomListEditSelect(BBjListSelectEvent p_event!)
p_event!
- BBjListSelectEvent objectpublic void setZoomLevel(BBjNumber p_zoomLevel)
p_zoomLevel
- Specifies the zoom levelpublic void OnCreateImageToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnFindToolButton(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnZoomGainedFocus(BBjGainedFocusEvent p_gainedFocusEvent!)
public void OnZoomLostFocus(BBjLostFocusEvent p_lostFocusEvent!)
public BBjNumber getZoomLevel()
public void setFindText(BBjString p_findText$)
p_findText$
- Text to find forpublic void findReport()
public void setFindCaseSensitivity(BBjNumber p_findCaseSensitivity)
public void setFindHighlight(BBjNumber p_findHighlight)
public void setFindScope(BBjNumber p_findScope)
public void setFindMatch(BBjNumber p_findMatch)
public void OnKeypress(BBjKeypressEvent p_keyPressEvent!)
public void OnToolBarWindowMouseUp(BBjMouseUpEvent p_event!)
p_event!
- BBjMouseUpEvent that contains event informationpublic void OnReportWindowMouseUp(BBjMouseUpEvent p_event!)
p_event!
- BBjMouseUpEvent that contains event informationpublic void setMouseClickCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
p_eventName$
- Event name to use when calling the callback routinep_callbackRoutine!
- Routine to callback when a file save occurspublic void setMouseClickCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
p_eventName$
- Event name to use when calling the callback routinep_callbackObject!
- CustomObject to callback when a file save occursp_callbackRoutine!
- Routine to callback when a file save occurspublic void setSize(BBjNumber p_width, BBjNumber p_height)
p_width
- Width of the viewer controlp_height
- Height of the viewer controlpublic void setVisible(BBjNumber p_visible)
p_visible
- Specify TRUE (1) to make the viewer control visible, otherwise FALSE (0)public BBjNumber getWidth()
public BBjNumber getHeight()
public void setLocation(BBjNumber p_x, BBjNumber p_y)
p_x
- X location of the viewer controlp_y
- Y location of the viewer controlpublic BBjNumber getX()
public BBjNumber getY()
public BBjVector getReports()
public BBJasperReport getReport()
public JasperPrint getJasperPrint()
public BBjNumber getFitType()
public GDocSaveDialog getGDocSaveDialog()
public void addViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!)
p_bbJasperViewerWindow!
- BBJasperViewerWindow object to add to the vector of viewer windowspublic void removeViewerWindow(BBJasperViewerWindow p_bbJasperViewerWindow!)
p_bbJasperViewerWindow!
- BBJasperViewerWindow object to remove from the vector of viewer windowspublic void closeAllViewerWindows()
public void destroy()
public void destroy(BBjNumber p_closeAllViewerWindows)
p_closeAllViewerWindows
- Specify TRUE to destroy all viewer window that were created by this control, otherwise FALSEpublic void addSaveContributor(BBjNumber p_type)
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 removeSaveContributor(BBjNumber p_type)
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 setDefaultSaveContributor(BBjNumber p_type)
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 setDefaultSaveFolder(BBjString p_saveFolder$)
p_saveFolder$
- Name of folder to set as the default save folderpublic void setDefaultSaveFile(BBjString p_saveFile$)
p_saveFile$
- Name of file to set as the default save filepublic void setFileSaveCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
p_eventName$
- Event name to use when calling the callback routinep_callbackRoutine!
- Routine to callback when a file save occurspublic void setFileSaveCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
p_eventName$
- Event name to use when calling the callback routinep_callbackObject!
- CustomObject to callback when a file save occursp_callbackRoutine!
- Routine to callback when a file save occurspublic void addToolButton(BBjNumber p_id, BBjString p_text$, BBjString p_shortCue$, BBjString p_image$, BBjString p_callbackRoutine!)
p_id
- ID of the tool buttonp_text$
- Text of the tool buttonp_shortCue$
- Short cue for the tool buttonp_image$
- Image for the tool buttonp_callbackRoutine!
- Routine to callback when the tool button is pressedpublic void addToolButton(BBjNumber p_id, BBjString p_text$, BBjString p_shortCue$, BBjString p_image$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
p_id
- ID of the tool buttonp_text$
- Text of the tool buttonp_shortCue$
- Short cue for the tool buttonp_image$
- Image for the tool buttonp_callbackObject!
- CustomObject to callback when the tool button is pressedp_callbackRoutine!
- Routine to callback when the tool button is pressedpublic void addToolButton(BBjNumber p_id, BBjString p_text$, BBjString p_shortCue$, BBjString p_image$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_width, BBjNumber p_height, BBjNumber p_index)
p_id
- ID of the tool buttonp_text$
- Text of the tool buttonp_shortCue$
- Short cue for the tool buttonp_image$
- Image for the tool buttonp_callbackObject!
- CustomObject to callback when the tool button is pressedp_callbackRoutine!
- Routine to callback when the tool button is pressedp_width
- Width of the tool buttonp_height
- Height of the tool buttonp_index
- Tool bar control index at which to add the tool button.public void addToolButton(BBjNumber p_id, BBjString p_text$, BBjString p_shortCue$, BBjString p_image$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!, BBjNumber p_width, BBjNumber p_height, BBjNumber p_index, BBjString p_name$)
p_id
- ID of the tool buttonp_text$
- Text of the tool buttonp_shortCue$
- Short cue for the tool buttonp_image$
- Image for the tool buttonp_callbackObject!
- CustomObject to callback when the tool button is pressedp_callbackRoutine!
- Routine to callback when the tool button is pressedp_width
- Width of the tool buttonp_height
- Height of the tool buttonp_index
- Tool bar control index at which to add the tool button.p_name
- Name of the tool button.public void OnToolButtonPush(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic BBjToolButton addToolbarButton(BBjString p_image$, BBjString p_shortCue$)
p_image$
- Image for the tool buttonp_shortCue$
- Short cue for the tool buttonpublic BBjToolButton addToolbarButton(BBjString p_image$, BBjString p_shortCue$, BBjString p_name$)
p_image$
- Image for the tool buttonp_shortCue$
- Short cue for the tool buttonp_name$
- Name for the tool buttonpublic BBjToolButton addToolbarButton(BBjNumber p_IconImageListIndex, BBjString p_shortCue$, BBjString p_name$)
p_IconImageListIndex
- Image for the tool button indicated by the index in the IconImageList (images/BBJasperImageList@2x.png)p_shortCue$
- Short cue for the tool buttonp_name$
- Name for the tool buttonpublic BBjToolButton addToolbarButton(BBjString p_image$, BBjString p_shortCue$, BBjNumber p_width, BBjNumber p_height, BBjString p_text$, BBjNumber p_id, BBjNumber p_index)
p_image$
- Image for the tool buttonp_width
- Width of the tool buttonp_height
- Height of the tool buttonp_text$
- Text of the tool buttonp_id
- ID of the tool buttonp_index
- Tool bar control index at which to add the tool buttonpublic BBjToolButton addToolbarButton(BBjString p_image$, BBjString p_shortCue$, BBjNumber p_width, BBjNumber p_height, BBjString p_text$, BBjNumber p_id, BBjNumber p_index, BBjString p_name$)
p_image$
- Image for the tool buttonp_width
- Width of the tool buttonp_height
- Height of the tool buttonp_text$
- Text of the tool buttonp_id
- ID of the tool buttonp_index
- Tool bar control index at which to add the tool buttonp_name$
- Name of the tool buttonpublic BBjChildWindow addToolbarChildWindow(BBjNumber p_width, BBjNumber p_height, BBjString p_title$, BBjString p_flags$, BBjNumber p_index)
p_width
- Width of the child windowp_height
- Height of the child windowp_title$
- Title of the child windowp_flags$
- Flags for the child windowp_index
- Tool bar control index at which to add the child windowpublic BBjChildWindow addToolbarChildWindow(BBjNumber p_width, BBjNumber p_height, BBjString p_title$, BBjString p_flags$, BBjNumber p_index, BBjString p_name$)
p_width
- Width of the child windowp_height
- Height of the child windowp_title$
- Title of the child windowp_flags$
- Flags for the child windowp_index
- Tool bar control index at which to add the child windowp_name$
- Name for the child windowpublic void addToolbarSpacer()
public void addToolbarSpacer(BBjNumber p_index)
p_index
- Tool bar control index at which to add the spacerpublic void addToolbarSpacer(BBjNumber p_index, BBjString p_name$)
p_index
- Tool bar control index at which to add the spacerp_name$
- Name of the spacerpublic void refreshToolbar()
public void setView(BBJasperView p_view!)
p_view!
- BBJasperView object that will be the current viewpublic void setStatusBarText(BBjString p_statusBarText$)
p_statusBarText$
- Text to display in the status barpublic void setShowFileDialogOnInitDefaultSave(BBjNumber p_showFileDialogOnInitDefaultSave)
p_showFileDialogOnInitDefaultSave
- Set to TRUE if the file save dialog should be shown on the initial save, otherwise FALSE. Default is TRUEpublic void setShowGoogleDialogOnInitDefaultSave(BBjNumber p_showGoogleDialogOnInitDefaultSave)
p_showGoogleDialogOnInitDefaultSave
- Set to TRUE if the Google save dialog should be shown on the initial save, otherwise FALSE. Default is TRUEpublic void setDefaultSave(BBjNumber p_defaultSave)
p_defaultSave
- Set to either DEFAULT_SAVE_DISK or DEFAULT_SAVE_GOOGLE. Default is DEFAULT_SAVE_DISKpublic void setCSVExporter(BBJasperCSVExporter p_csvExporter!)
p_csvExporter!
- BBJasperCSVExporter object which contains export optionspublic void setDOCXExporter(BBJasperDOCXExporter p_docxExporter!)
p_docxExporter!
- BBJasperDOCXExporter object which contains export optionspublic void setHTMLExporter(BBJasperHTMLExporter p_htmlExporter!)
p_htmlExporter!
- BBJasperHTMLExporter object which contains export optionspublic void setODSExporter(BBJasperODSExporter p_odsExporter!)
p_odsExporter!
- BBJasperODSExporter object which contains export optionspublic void setODTExporter(BBJasperODTExporter p_odtExporter!)
p_odtExporter!
- BBJasperODTExporter object which contains export optionspublic void setPDFExporter(BBJasperPDFExporter p_pdfExporter!)
p_pdfExporter!
- BBJasperPDFExporter object which contains export optionspublic void setPrintServiceExporter(BBJasperPrintServiceExporter p_printServiceExporter!)
p_printServiceExporter!
- BBJasperPrintServiceExporter object which contains export optionspublic void setPPTXExporter(BBJasperPPTXExporter p_pptxExporter!)
p_pptxExporter!
- BBJasperPPTXExporter object which contains export optionspublic void setRTFExporter(BBJasperRTFExporter p_rtfExporter!)
p_rtfExporter!
- BBJasperRTFExporter object which contains export optionspublic void setTXTExporter(BBJasperTXTExporter p_txtExporter!)
p_txtExporter!
- BBJasperTXTExporter object which contains export optionspublic void setXHTMLExporter(BBJasperXHTMLExporter p_xhtmlExporter!)
p_xhtmlExporter!
- BBJasperXHTMLExporter object which contains export optionspublic void setXLSExporter(BBJasperXLSExporter p_xlsExporter!)
p_xlsExporter!
- BBJasperXLSExporter object which contains export optionspublic void setXLSXExporter(BBJasperXLSXExporter p_xlsxExporter!)
p_xlsxExporter!
- BBJasperXLSXExporter object which contains export optionspublic void setXMLExporter(BBJasperXMLExporter p_xmlExporter!)
p_xmlExporter!
- BBJasperXMLExporter object which contains export optionspublic BBjNumber getShowFileDialogOnInitDefaultSave()
public BBjNumber getShowGoogleDialogOnInitDefaultSave()
public BBjNumber getDefaultSave()
public BBJasperCSVExporter getCSVExporter()
public BBJasperDOCXExporter getDOCXExporter()
public BBJasperHTMLExporter getHTMLExporter()
public BBJasperODSExporter getODSExporter()
public BBJasperODTExporter getODTExporter()
public BBJasperPDFExporter getPDFExporter()
public BBJasperPrintServiceExporter getPrintServiceExporter()
public BBJasperPPTXExporter getPPTXExporter()
public BBJasperRTFExporter getRTFExporter()
public BBJasperTXTExporter getTXTExporter()
public BBJasperXHTMLExporter getXHTMLExporter()
public BBJasperXLSExporter getXLSExporter()
public BBJasperXLSXExporter getXLSXExporter()
public BBJasperXMLExporter getXMLExporter()
public BBjChildWindow getToolbar()
public BBjControl getToolbarControlAt(BBjNumber p_index)
public BBjControl getControl(BBjString p_controlName$)
p_controlName$
- Name of the BBjControl object to obtainpublic HashMap getAllControls()
public BBJasperTabbedView getTabbedView()
public BBJasperView getView()
public BBjPopupMenu getSavePopupMenu()