Standard Action Export has the following properties:
In order to read about the properties Caption, Tooltip, Enabled by Default, Control type, Image, Image class, Disabled Image, Disabled Image Class, Action Group Button Class, Action Group Disabled Button Class, Button Class and Disabled Button Class follow this link: Standard Actions
Specifies whether to consider in the navigation the conditions inserted by user directly in the Conditions of the object, like it is displayed above for Export object:
Specifies the template from where all the ExportReport will take its printblocks and code. This could be useful for adding the header and footer of all the reports. This template will be a procedure. You can use &Title variable and this will be replaced with the title of the Report.
For example, we create a procedure ExportReportTemplate and assign it to this property:
We build the application and visualize the results:
You can insert user print blocks in Export Report objects, and add user code in the source of it to define its behaviour. The code and the printblocks added will not be overwritten when reapplying the pattern. The user printblocks should have the prefix 'user'.
You can also replace the default WorkWithPlus printblocks used on the Export Report. In order to use this feature a new printblock has to be created. The name of this new printblock must start with usercustom and go on with the name of the printblock that is going to be replaced.
For example, if you want to replace the default printBlockLines printblock with your own printblock, you should create a new printblock called usercustomprintBlockLines. Then, you should apply WorkWithPlus in the transaction in order to generate the procedure properly.
This can be done with every WorkWithPlus printblock in order to customize the report.
Specifies whether to include or not the filters added in the object that generates this export to PDF archive. This property can be False (will not include any filters), or Only modified (will show only the ones that user inserted some filter value).
For example, we set this property as 'Only modified', and in PersonWW we select some search filters:
We press in 'PDF' action and visualize the results:
Specifies the amount of rows that each record of the PDF will occupy. The possible values are:
- <Automatic>: the line height will be 3 rows if any column have more than 1 row in its height definition.
- 1 row - 10 row: the line height will the specified.
GeneXus does not support having a dynamic line height. This means that if a line occupies 3 rows but the data of the field fits in one row, there will be two rows empty for that record. The StandardAction added in a particular instance has this property, so you can have a default value and customize some of the instances.
Specifies whether totalizers are included in the Export Report or not.
In new KBs, the totalizers will be enabled by default.
Specifies whether Conditional Formatting is included in the PDF or not.
Specifies the size of the font's title.
Specifies the title that will be added to the PDF document. In the example above this value is 'Persons List' for the StandardAction ExportReport related to Person transaction. You can use the tags <TRN_NAME>, <TRN_DESCRIPTION>, <TRN_DESCRIPTION_PLURAL>, <WW_CAPTION>
Specifies the size of the paper where the PDFs will be generated. The options are: Letter, Legal, Exclusive, A4, A5, B4, B5
Specifies the orientation of the paper where the PDFs will be generated. The options are: Portrait and Landscape.
|