PC SOFT

WINDEV的在线文档

  • Overview
  • Describing the report blocks
  • Parameters and print options of a block
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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 different characteristics of a block can be viewed and/or modified in the description window of this block.

Depending on the type of block, the description window is used to configure:

  • the name of the block.
  • the break item linked to the block (break blocks only).
  • the parameters and the print options of the block. See the Parameters and print options of a block for more details.
  • the height of the block.
  • the style of the block (background color, border, ...).

Describing the report blocks
To display the description window of a block, perform one of the following operations:
  • double-click the caption of the block.
  • select "Report .. Report controls and blocks" (or press [F12]), select the block and click the "Description" button.on the "显示" pane, click the group icon of the "选项" group (group icon) or press the [F12] key. In the window that is displayed, select the block and click the "Description" button.
  • select "Block description" from the popup menu of the block (right mouse click on the block caption).
For example, description window of a "Break header" block:

Parameters and print options of a block
The parameters and the print options of a block are defined in the "Details" tab of its description (double click on the caption of the block).The parameters and the print options of a block are defined in the "GUI" tab of its description (double click on the caption of the block).The parameters and the print options of the report blocks are as follows:
  • Visibility:
    • 可见:
      The block can be displayed or not. If a block is invisible, the block and its controls will not be displayed in the report.
      This characteristic can be modified by programming with ..可见.
    • Always visible:
      The block and its controls will be displayed on all the pages of the report.
      This option is available for the Page Header and Page Footer blocks.This option is available for the Page Header and Page Footer blocks.
    • Always invisible:
      The block and its controls will not be displayed in the report.
      This option is available for the Page Header and Page Footer blocks.This option is available for the Page Header and Page Footer blocks.
    • Visible on the first page only:
      The block and its controls will be displayed on the first page of the report.
      This option is available for the Page Header and Page Footer blocks.This option is available for the Page Header and Page Footer blocks.
    • 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.
      This option is available for the Page Header and Page Footer blocks.This option is available for the Page Header and Page Footer blocks.
  • Breakability:
    • Breakable:Breakable block:If a block is breakable and there is not enough space left on a page to print the entire block, the content of the block is printed on several pages.
      If a block is unbreakable and there is not enough space on the page to print the entire block, the content of the block is printed on the next page.
  • Filling the page:
    • Completion until the end of the page:
      A block can be stretched until it reaches the end of the page.
      Note: This option is useful if the block has a background image or a background color.
    • Extend the table columns until the end of the page (for the blocks containing a table):
      The table columns can be extended until they reach the end of the page.
      Note: To extend the table columns until the end of the page, you also have the ability to add a Body complement block. The Body complement blocks are automatically stretched until they reach the end of the page.
    • Repeated until the end of the page:
      The block can be copied until it reaches the end of the page.
      This option is available especially for the Body block.
    • Keep space for the page footer when it is invisible (for the Page Footer blocks only):
      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). With this option, the space taken by the Page Footer block will be kept only in the pages where this block is visible. This option is used to optimize the method for filling the report pages.
      Keep space for the page footer when it is invisible (for the Page Footer blocks only):
      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). With this option, the space taken by the Page Footer block will be kept only in the pages where this block is visible. This option is used to optimize the method for filling the report pages.
    • 20版本和更高版本
      Reinitialize the number of pages after the block print: By default, the number of pages present in the " Number of pages" and "Number of pages and page number" preset controls are not reinitialized during printing. Thanks to this option, you can reinitialize these preset controls automatically after printing the block (for a break or at the end of the print job).
      This option can be used when printing a set of invoices for example, to number the pages of each invoice independently.
      20新版本
      Reinitialize the number of pages after the block print: By default, the number of pages present in the " Number of pages" and "Number of pages and page number" preset controls are not reinitialized during printing. Thanks to this option, you can reinitialize these preset controls automatically after printing the block (for a break or at the end of the print job).
      This option can be used when printing a set of invoices for example, to number the pages of each invoice independently.
      Reinitialize the number of pages after the block print: By default, the number of pages present in the " Number of pages" and "Number of pages and page number" preset controls are not reinitialized during printing. Thanks to this option, you can reinitialize these preset controls automatically after printing the block (for a break or at the end of the print job).
      This option can be used when printing a set of invoices for example, to number the pages of each invoice independently.
  • Automati break:
    • Page break after the block:
      A page break can be automatically generated once the block is printed.
    • 16版本和更高版本
      Column break after the block: (only for the Body block of multi-column reports)
      A column break can be automatically generated once the block is printed.
      16新版本
      Column break after the block: (only for the Body block of multi-column reports)
      A column break can be automatically generated once the block is printed.
      Column break after the block: (only for the Body block of multi-column reports)
      A column break can be automatically generated once the block is printed.