hmReports

Documentation
Introduction
License
Overview
Release notes
Update Guide to Version 4
System Requirements
Architecture
Registering hmReports
Fundamentals
Concepts of hmReports
Creating the hmReports Palette (Subform)
Using the hmReports Palette
Customizing Structure
How to store hmReports
How to create a report
Script Execution
Script types
The Script Editor
Writing scripts
Object manipulation
Debugger
Script Compatibility
Script Execution Cycle
Private functions
XLIFF
Printing as PDF
Print session
Export HTML
Using Standard Variables
Copy and Paste
Barcodes in hmReports
Picture Formats
Process Tags
FAQ
Commands
Areas
hmRep_Register
hmRep_New Offscreen Area
hmRep_DELETE OFFSCREEN AREA
hmRep_GET AREA LIST
hmRep_Is Area Valid
hmRep_Get Version
hmRep_Get Last Error
hmRep_INSTALL CALLBACK
hmRep_Get Callback
hmRep_SET AREA PROPERTY
hmRep_GET AREA PROPERTY
hmRep_SET TOOL
hmRep_Get Tool
hmRep_SET TOOL VISIBLE
hmRep_Get Tool Visible
hmRep_SET TOOL TIP TEXT
hmRep_Get Tool Tip Text
hmRep_SET EVENT STATE
hmRep_Get Event State
hmRep_GET MOUSE
hmRep_SET FONTS
hmRep_GET FONTS
hmRep_DRAG AND DROP PROP
hmRep_GET BARCODE LIST
hmRep_SET FORMAT LIST
hmRep_GET FORMAT LIST
hmRep_SET AUTOMATIC RELATIONS
hmRep_GET AUTOMATIC RELATIONS
hmRep_SET CURSOR
hmRep_SET MOUSE LIMITS
hmRep_Get Last Event
hmRep_SET NEW AREA FOCUSABLE
Reports
hmRep_Create Report
hmRep_DELETE REPORT
hmRep_CLEAR REPORT
hmRep_SET CURRENT REPORT
hmRep_Get Current Report
hmRep_SET SCALE
hmRep_Get Scale
hmRep_SET REPORT PROPERTY
hmRep_GET REPORT PROPERTY
hmRep_REPORT TO BLOB
hmRep_REPORT TO SVG
hmRep_Report To Picture
hmRep_BLOB TO REPORT
hmRep_GET IMPORT PROTOCOLL
hmRep_Render To Text
hmRep_Render To Blob
hmRep_Render To HTML
hmRep_RENDER TO PICTURE
hmRep_Enumerate Pages
hmRep_ZOOM TO RECT
hmRep_SET COLOR
hmRep_SET COLOR WITH ALPHA
hmRep_GET COLOR
hmRep_GET COLOR WITH ALPHA
hmRep_Pixel To Rulerunit
hmRep_Rulerunit To Pixel
hmRep_SET SCRIPT
hmRep_Get Script
hmRep_GET REPORT LIST
hmRep_GET REPORT DEPENDENCIES
hmRep_GET DIALOG RECT
hmRep_SET DIALOG RECT
Pages
About Pages
hmRep_INSERT PAGE
hmRep_DELETE PAGE
hmRep_SET CURRENT PAGE
hmRep_Get Current Page
hmRep_Count Pages
hmRep_SET PAGE PROPERTY
hmRep_GET PAGE PROPERTY
hmRep_Get Page Number From ID
hmRep_Get Page ID From Number
hmRep_GET PAGE
hmRep_SET PAGE
Layers
hmRep_Create Layer
hmRep_DELETE LAYER
hmRep_GET LAYER LIST
hmRep_SET LAYER PROPERTY
hmRep_GET LAYER PROPERTY
hmRep_SET CURRENT LAYER
hmRep_Get Current Layer
hmRep_SET LAYER CLIP
hmRep_GET LAYER CLIP
hmRep_SORT LAYER
Guides
hmRep_Create Guide
hmRep_Count Guides
hmRep_DELETE GUIDE
hmRep_SET GUIDES
hmRep_GET GUIDES
hmRep_SET GUIDE PROPERTY
hmRep_GET GUIDE PROPERTY
Printing
hmRep_Print
hmRep_Page Setup
hmRep_Print settings to BLOB
hmRep_BLOB TO PRINT SETTINGS
hmRep_SET PRINT OPTION
hmRep_GET PRINT OPTION
hmRep_GET PAPER SIZE
hmRep_GET RENDER LOG
hmRep_Get Native Print Header
hmRep_SET NATIVE PRINT HEADER
hmRep_OPEN PRINTING JOB
hmRep_CLOSE PRINTING JOB
Sections
About sections
hmRep_GET SECTIONS
hmRep_SET SECTION ITERATION
hmRep_GET SECTION ITERATION
hmRep_SET SECTION HEIGHT
hmRep_SET SECTION COUNT
hmRep_Get Section Count
hmRep_SET SECTION PROPERTY
hmRep_GET SECTION PROPERTY
hmRep_GET SECTION BY POINT
hmRep_ORDER SECTIONS
Objects
hmRep_Create Rectangle
hmRep_Create Round Rectangle
hmRep_Create Text
hmRep_Create Oval
hmRep_Create Line
hmRep_Create Picture
hmRep_Create Group
hmRep_Create Arc
hmRep_Create Freehand
hmRep_Create Subreport
hmRep_Create Path
hmRep_START PATH
hmRep_PATH POINT
hmRep_PATH MOVE TO
hmRep_PATH CURVE
hmRep_CLOSE PATH
hmRep_End Path
hmRep_GET PATH INFORMATION
hmRep_SET PATH
hmRep_Get Path
hmRep_DELETE OBJECT
hmRep_DELETE OBJECTS
hmRep_SET OBJECTS
hmRep_GET OBJECTS
hmRep_SET OBJECT PROPERTY
hmRep_GET OBJECT PROPERTY
hmRep_GET OBJECT LIST
hmRep_GET OBJECTS BY POINT
hmRep_GET OBJECTS BY RECT
hmRep_SET PICTURE
hmRep_GET PICTURE
hmRep_GET OBJECT RECT
hmRep_SET OBJECT RECT
hmRep_SELECT OBJECTS
hmRep_SET OBJECT DATA
hmRep_GET OBJECT DATA
hmRep_UPDATE SUBREPORTS
hmRep_SET OBJECT LINEDASH
hmRep_GET OBJECT LINEDASH
hmRep_SET RECT COLUMNS
hmRep_GET RECT COLUMNS
hmRep_SET RECT ROWS
hmRep_GET RECT ROWS
Scripting
About Scripting
hmRep_SET VARIABLE
hmRep_GET VARIABLE
hmRep_SET ARRAY
hmRep_GET ARRAY
hmRep_SET ARRAY ELEMENT
hmRep_GET ARRAY ELEMENT
hmRep_GET VARIABLE LIST
hmRep_DELETE VARIABLE
hmRep_GET VARS FROM SCRIPTS
hmRep_TOKENIZE
hmRep_Detokenize
hmRep_SET TOKENIZED SCRIPT
hmRep_GET TOKENIZED SCRIPT
hmRep_CREATE METHOD
hmRep_DELETE METHOD
hmRep_GET METHOD LIST
hmRep_SET METHOD
hmRep_Get Method
hmRep_Is Old Script
Styled Text
About Styled Text
hmRep_CREATE STYLED TEXT RUN
hmRep_GET STYLED TEXT RUN
hmRep_SET STYLED TEXT
hmRep_Get Styled Text
hmRep_Count Runs
hmRep_DELETE ALL RUNS
Custom properties
About Custom Properties
hmRep_SET PROPERTY BY NAME
hmRep_Get Property By Name
hmRep_GET PROPERTY BY INDEX
hmRep_Count Properties
hmRep_DELETE PROPERTY
hmRep_DELETE PROPERTIES
hmRep_Has Property
hmRep_SEARCH PROP BY NAME
Virtual Structure
About Virtual Structure
hmRep_Create VStructure Table
hmRep_Create VStructure Field
hmRep_Create VStructure Var
hmRep_Create VStructure Meth
hmRep_Create VStructure Group
hmRep_DELETE VSTRUCTURE
hmRep_SET VSTRUCTURE PROPERTY
hmRep_GET VSTRUCTURE PROPERTY
hmRep_GET VSTRUCTURE LIST
hmRep_Search VStructure
hmRep_GET VSTRUCTURE ARRAYS
hmRep_VStructure To Blob
hmRep_BLOB TO VSTRUCTURE
Menus
About menus
Menu actions
hmRep_GET MENU LIST
hmRep_GET MENU ITEM LIST
hmRep_GET MENU ITEM BY ACTION
hmRep_SET MENU ITEM
hmRep_GET MENU ITEM
hmRep_EXECUTE COMMAND
hmRep_DELETE MENU ITEM
hmRep_Insert Menu Item
hmRep_SET MENU ITEM SHORTCUT
hmRep_GET MENU ITEM SHORTCUT
hmRep_Get Subcommand
hmRep_SET MENU ITEM CHECKMARK
hmRep_Get Menu Item Checkmark
Undo
About Undo
hmRep_START UNDO
hmRep_SAVE UNDO
hmRep_SET UNDO TYPE STATE
hmRep_Get Undo Type State
hmRep_START UNDO RECORDING
hmRep_Validate Undo Recording
hmRep_CANCEL UNDO RECORDING
Ruler units
About ruler units
hmRep_Create Rulerunit
hmRep_GET RULERUNIT
hmRep_SET RULERUNIT
hmRep_Count Rulerunits
hmRep_DELETE RULERUNIT
Executer
About the Executer
hmX_Create Execution Context
hmX_DELETE EXECUTION CONTEXT
hmX_SET VARIABLE
hmX_GET VARIABLE BY INDEX
hmX_GET POINTER BY INDEX
hmX_GET BLOB BY INDEX
hmX_GET PICTURE BY INDEX
hmX_SET ARRAY
hmX_GET ARRAY
hmX_GET ARRAY BY INDEX
hmX_GET ARRAY ELEMENT
hmX_Count Variables
hmX_Process Tags
hmX_TOKENIZE
hmX_TOKENIZE IN CONTEXT
hmX_Detokenize
hmX_Detokenize In Context
hmX_DETOKENIZE TO ARRAYS
hmX_DETOKENIZE CTX TO ARRAYS
hmX_Execute
hmX_Execute Method In Context
hmX_ADD METHOD TO CONTEXT
hmX_DELETE METHOD IN CONTEXT
hmX_GET METHOD
hmX_ACTIVATE VSCTRUCTURE
hmX_Create VStructure Table
hmX_Create VStructure Field
hmX_Create VStructure Meth
hmX_SET 4D CODE STYLE
hmX_GET 4D CODE STYLE
hmX_Count 4D Code Styles
hmX_GET LAST ERROR
hmX_GET AVAILABLE COMMANDS
hmX_SET ALLOWED COMMANDS
hmX_GET ALLOWED COMMANDS
hmX_GET CONTEXT LIST
PDF Tools
hmRep_Create Report With PDF
hmRep_Print Over PDF
hmRep_PDF Split
hmRep_Combine PDF
Utilities
hmRep_TEXT2ARRAY
hmRep_GET TEXT MEASURES
hmRep_Get String Width
hmRep_GET MEMORY INFO
hmRep_GET PICTURE TYPES
hmRep_INDEX2RGB
hmRep_RGB2Index
hmRep_Get Resources Folder
hmRep_Get Font Family Name
hmRep_Get Current Thread ID
Appendix
Error Codes
Area properties
Report properties
Page properties
Layer properties
Guide properties
Section properties
Object data types
Events
Import types
Iteration types
Object properties
Object types
Picture types
Gradient types
Colors
Scopes
Section types
Path types
Section visible types
Section break types
Tools
Barcode types
Virtual Structure properties
Virtual Structure item types
dialog types
List of supported 4D commands