<< Click to Display Table of Contents >>
global.resourcefile
Sets the xml file path that defines the title and the message of the progress bar or the alert window.
Reference
The xml file should be created in UTF-8 encoding and you can set the title and message of the progress bar.
Sets the title and the upper message of the binding progress bar.
<?xml version="1.0" encoding="UTF-8"?> <VIEWERSTRINGRESOURCE VERSION="1.0"> <TYPE id="PROGRESSBAR_OZ">OZ Viewer</TYPE> <TYPE id="PROGRESSBAR_TITLE">Binding of the report.</TYPE> </VIEWERSTRINGRESOURCE> |
Sets the upper and bottom messages of the saving progress bar.
<?xml version="1.0" encoding="UTF-8"?> <VIEWERSTRINGRESOURCE VERSION="1.0"> <TYPE id="EXPORT_PROGRESSBAR_TITLE">Save Report</TYPE> <TYPE id="EXPORT_PROGRESSBAR_MESSAGE">Saving of the report...</TYPE> </VIEWERSTRINGRESOURCE> |
Sets the upper and bottom messages of the printing progress bar.
<?xml version="1.0" encoding="UTF-8"?> <VIEWERSTRINGRESOURCE VERSION="1.0"> <TYPE id="PRINT_PROGRESSBAR_TITLE">Print Report</TYPE> <TYPE id="PRINT_PROGRESSBAR_MESSAGE">Printing of the report...</TYPE> </VIEWERSTRINGRESOURCE> |
Sets the text displayed on the alert window when in the viewer mode.
<?xml version="1.0" encoding="UTF-8"?> <VIEWERSTRINGRESOURCE VERSION="1.0"> <TYPE id="INPUT_MODE_MESSAGE">The text is displayed when switching to the input mode.</TYPE> <TYPE id="EDIT_MODE_MESSAGE">The text is displayed when switching to the edit mode.</TYPE> </VIEWERSTRINGRESOURCE> |
Keys supported by viewer type
Viewer Type |
Key |
Resource File Path |
---|---|---|
EXE |
PROGRESSBAR_TITLE PROGRESSBAR_OZ EXPORT_PROGRESSBAR_TITLE EXPORT_PROGRESSBAR_MESSAGE PRINT_PROGRESSBAR_TITLE PRINT_PROGRESSBAR_MESSAGE |
OZ Repository URL(ozp://), Web Server URL(http://), Local URL(file://) |
HTML5 |
PROGRESSBAR_TITLE PROGRESSBAR_OZ |
Sets the xml file to be located in the res folder of the viewer first and then sets only the file name as the parameter value. |
Android |
EXPORT_PROGRESSBAR_MESSAGE INPUT_MODE_MESSAGE EDIT_MODE_MESSAGE |
Sets the xml file to be located in the assets folder of the project first and then sets the parameter value in the res://file name format. |
iOS |
PROGRESSBAR_TITLE EXPORT_PROGRESSBAR_MESSAGE INPUT_MODE_MESSAGE EDIT_MODE_MESSAGE |
Sets the xml file to be located in the folder of the project first and then sets the parameter value in the res://file name format. |