PC SOFT

WINDEV的在线文档

  • Overview
  • Creating the Page Footer block
  • Printing the Page Footer block
  • Printing the Page Footer block before or after the End of Document block
  • Printing the Page Footer block before or after the End of Document block
  • Page Footer block stuck to the previous blocks
  • Page Footer block stuck to the previous blocks
  • End of Document block stuck to Page Footer block
  • End of Document block stuck to Page Footer block
  • End of Document block instead of Page Footer block on the last page of the report
  • End of Document block instead of Page Footer block on the last page of the report
  • Visibility of the Page Footer block
  • Keep space for the Page Footer block when it is invisible
  • Keep space for the Page Footer block when it is invisible
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
The Page footer block is one of the blocks found in a report created with the report editor. The Page footer block is run at the end of each page.

The Page footer block contains the information that must be printed at the bottom of each page (counters and/or totals generated when creating the document or added thereafter, or the current page number in relation to the total number of pages for example).

The Page footer block is one of the blocks found in a report created with the report editor. The Page footer block is run at the end of each page.

The Page footer block contains information that must be printed at the bottom of each page, counters and/or totals generated when creating the document or added thereafter, or the number of the current page in relation to the total number of pages for example.

Creating the Page Footer block
To create a Page Footer block:
  1. Perform one of the following operations in the report editor:
    • select "Insert .. New block".on the "创建" pane, in the "结构" group, expand "块".
    • select "Add a block" from the popup menu of the report (right mouse click on the report currently created).
    • click the "Add a block" button in the "Blocks" tab of the report description.
  2. Select the "Page footer" type.
To create a Page Footer block:
  1. Perform one of the following operations in the report editor:
    • on the "创建" pane, in the "结构" group, expand "块".
    • select "Add a block" from the popup menu of the report (right mouse click on the report currently created).
    • click the "Add a block" button in the "Blocks" tab of the report description.
  2. Select the "Page footer" type.

Printing the Page Footer block

Printing the Page Footer block before or after the End of Document block

By default, the Page footer block is printed after the End of document block on the last page of the report. The report editor allows you to modify this default print order.

To print the Page Footer block before the End of Document block on the last page:
  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "Print the "End of document" block AFTER the "Page footer" block on the last page".
To print the Page Footer block before the End of Document block on the last page:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block AFTER the "Page footer" block on the last page".
19版本和更高版本
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".
19新版本
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".

Printing the Page Footer block before or after the End of Document block

By default, the Page footer block is printed after the End of document block on the last page of the report. The report editor allows you to modify this default print order.

To print the Page Footer block before the End of Document block on the last page:

  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block AFTER the "Page footer" block on the last page".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".

Page Footer block stuck to the previous blocks

By default, the Page footer block is printed at the bottom of each page. The report editor allows you to modify this default operating mode.

To avoid printing the Page Footer block at the bottom of each page:

  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks".
    The Page footer block will not necessarily be printed at the bottom of each page. The Page footer block may be followed by an empty space.

Page Footer block stuck to the previous blocks

By default, the Page footer block is printed at the bottom of each page. The report editor allows you to modify this default operating mode.

To avoid printing the Page Footer block at the bottom of each page:

  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks".
    The Page footer block will not necessarily be printed at the bottom of each page. The Page footer block may be followed by an empty space.

End of Document block stuck to Page Footer block

By default, the End of document block is stuck to the Body block or to the Body complement block if it exists. You can force the End of document block to be stuck to the Page footer block.

To stick the End of Document block to the Page Footer block:
  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "The "End of document" block is stuck to the "Page footer" block".
    The End of document block will be printed just before or just after the Page footer block.
To stick the End of Document block to the Page Footer block:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "The "End of document" block is stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
19版本和更高版本
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
19新版本
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.

End of Document block stuck to Page Footer block

By default, the End of document block is stuck to the Body block or to the Body complement block if it exists. You can force the End of document block to be stuck to the Page footer block.

To stick the End of Document block to the Page Footer block:

  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "The "End of document" block is stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.

End of Document block instead of Page Footer block on the last page of the report

By default, the Page footer block is printed on each page (including the last page of the report). The report editor allows you to replace the Page footer block by the End of document block on the last page of the report.

To replace the Page Footer block by the End of Document block on the last page of the report:
  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "Print the "End of document" block INSTEAD OF the "Page footer" block on the last page". In this case:
    • the End of document block will replace the Page footer block on the last page of the report.
    • the option "The "End of document" block is stuck to the "Page footer" block" will be ignored on the last page of the report.
    • the option "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks" will be taken into account for the End of document block on the last page of the report.
To replace the Page Footer block by the End of Document block on the last page of the report:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block INSTEAD OF the "Page footer" block on the last page".
19版本和更高版本
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
19新版本
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
In this case:
  • the End of document block will replace the Page footer block on the last page of the report.
  • the option "The "End of document" block is stuck to the "Page footer" block" will be ignored on the last page of the report.
  • the option "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks" will be taken into account for the End of document block on the last page of the report.
Note: To avoid the overlay effects, the End of document block and the Page footer block must have the same height.

End of Document block instead of Page Footer block on the last page of the report

By default, the Page footer block is printed on each page (including the last page of the report). The report editor allows you to replace the Page footer block by the End of document block on the last page of the report.

To replace the Page Footer block by the End of Document block on the last page of the report:

  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block INSTEAD OF the "Page footer" block on the last page".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
In this case:
  • the End of document block will replace the Page footer block on the last page of the report.
  • the option "The "End of document" block is stuck to the "Page footer" block" will be ignored on the last page of the report.
  • the option "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks" will be taken into account for the End of document block on the last page of the report.
Note: To avoid the overlay effects, the End of document block and the Page footer block must have the same height.

Visibility of the Page Footer block
By default, the Page footer block is visible on all the report pages. The report editor allows you to specify the report pages on which the Page footer block must be displayed.

To specify the pages on which the Page Footer block must be displayed:

  1. Display the "Details" tab in the description window of the block ("Block description" from the popup menu).Display the "GUI" tab in the description window of the block ("Block description" from the popup menu).
  2. Specify the visibility of the block:
    • Always visible: The block and its controls will be displayed on all the pages of the report.
    • Always invisible: The block and its controls will not be displayed in the report.
    • Visible on the first page only: The block and its controls will be displayed on the first page of the report.
    • Invisible on the first page only: The block and its controls will be displayed on all the pages of the report except for the first one.
By default, the Page footer block is visible on all the report pages. The report editor allows you to specify the report pages on which the Page footer block must be displayed.

To specify the pages on which the Page Footer block must be displayed:

  1. Display the "GUI" tab in the description window of the block ("Block description" from the popup menu).
  2. Specify the visibility of the block:
    • Always visible: The block and its controls will be displayed on all the pages of the report.
    • Always invisible: The block and its controls will not be displayed in the report.
    • Visible on the first page only: The block and its controls will be displayed on the first page of the report.
    • Invisible on the first page only: The block and its controls will be displayed on all the pages of the report except for the first one.

Keep space for the Page Footer block when it is invisible

By default, the space taken by the Page Footer block will always be kept in the report pages (no matter whether the block is visible or not). The report editor allows you to modify this default operating mode.

To avoid keeping space for the Page Footer block when it is invisible:

  1. Display the "Details" tab in the description window of the block ("Block description" from the popup menu).Display the "GUI" tab in the description window of the block ("Block description" from the popup menu).
  2. Uncheck "Keep space for the page footer when it is invisible". The space occupied by the Page Footer block will be kept only in the pages where the block is visible. This option is used to optimize the method for filling the report pages.

Keep space for the Page Footer block when it is invisible

By default, the space occupied by the Page Footer block will always be kept in the report pages (no matter whether the block is visible or not). The report editor allows you to modify this default operating mode.

To avoid keeping space for the Page Footer block when it is invisible:

  1. Display the "GUI" tab in the description window of the block ("Block description" from the popup menu).
  2. Uncheck "Keep space for the page footer when it is invisible". The space occupied by the Page Footer block will be kept only in the pages where the block is visible. This option is used to optimize the method for filling the report pages.