Upload
euelvis1045
View
222
Download
0
Embed Size (px)
Citation preview
8/16/2019 Report designer Manual - 07.Chapter 1_6
1/22
6. Table
81
6 Table
This chapter describes various functions included in Table Menu. For the concept or
components of Table, see 3.1 Table components of Chapter 4. Report Designer
Overview.
6.1. Creating Table
In order to insert a new Table on editing window, select Table > Create Table or click Create
Table ( ) button on Table Toolbar .
Create Table dialog box
If you select Table > Create Table, Create Table dialog box will appear as shown below.
Enter The required number of rows, The required number of columns, Shape of a table,
Direction of a table in the dialog box and click OK button. And ,if you drag a mouse, as
much as you want, in a desired location, you can create a table.
Create Table Icon
In case of using Create Table icon, after pushing the icon, if you assign the numbers of cells
in a row and columns with a mouse and drag a mouse as much as you want, in a desired
location, you can create a table.
6.2. Set Table Propert ies
8/16/2019 Report designer Manual - 07.Chapter 1_6
2/22
Chapter.1 Using Report Designer Editor
82
In Table Form report, in case of setting various properties of a table drawn in a body page,
you can select Table > Set Table Propert ies to set properties of a table.
If you select Table > Set Table Properties, Set Table Properties dialog box will appear as
shown below. And, after selecting a table whose properties you want to set, set desired
values of properties in Set Table Properties dialog box and then click OK button.
Number of Repetitions
A set is made for the number of repetitions for repetition section in a table object. For
example, when the total number of records is 20, if the number of repetitions is set to 5, a
table will be printed 5 times a page and a total of 4 pages will be printed.
If the number of repetitions is set as Default, repetition sections as many as possible will beprinted in a page and then a move will be made to next page.
Do not Repeat
As for a table, a row is not added and data is overwritten in the same row. It is used when
an item is shown in the same location even if there are a number of records. Therefore,
finally, the record value just before Page Break is applied.
Creating a table not to be repeated
8/16/2019 Report designer Manual - 07.Chapter 1_6
3/22
6. Table
83
As for every table with two or more rows, it has the repetition section absolutely. If you
should draw a repeated table and a non repeated table as well, two solutions can be given
as shown below.
- Creating a table only with header section.
, If you assign the desired number of rows and columns by using a function of splitting a
cell(See Chapter 6.6.2 Divide Cells) after creating a table with 1 row and 1 column and
selecting the cell of a table, you can create a non repeated table.
- Use Do not Repeat in Set Table Properties dialog box.
Once create a table with desired rows and column even if a repetition section is included init. Then, and if you check Do not Repeat in Set Table Properties dialog box, you can create
a not repeated table.
Draw Blanks
If Draw Blanks option is checked and Default is selected in Draw Blanks combo box, even
if printing a record ends in the middle of a page, the Blank will be drawn on the rest of a page.
In case ‘Draw blanks unti l the number of repetitions is n’ is selected, even if the number
of repetition rows is less n (defined number), blank rows will be drawn to create as many
repetition rows as defined. For example, if 2 repetition rows are created in the Table in which
‘Draw blanks un til the number of repetitions is 5’ is set, 3 blank rows will be drawn.
Direction of Blanks
This is an option used only for CrossTab document, and sets the direction for applying Draw
Blanks option. If you select one of three options, Default, Horizontal and Vertical and set it
as default, blanks can be drawn toward horizontal and vertical directions.
Show Table as Multi -Level
The multi levels in the right of a table will be showed based on the width of a current table. If
a table goes over the width of a page, the table will be drawn on the next page.
If you select Automatic Alignment, it adjusts automatically the space between tables
suitable for the width of a page spaces and the number of displayed tables.
If you select Set Level Space, you can assign directly the space between tables(0 ~ 100
mm) and the number of tables as well. But, in case you do not select Set Number of Levels,
the numbers of tables will be assigned automatically.
8/16/2019 Report designer Manual - 07.Chapter 1_6
4/22
Chapter.1 Using Report Designer Editor
84
In case you assign Show Table As Multi Level, a virtual table to notify it will be displayed in
the right side of a table. As it is impossible to edit a virtual table, the virtual table is affected
by the left table, which is assigned as Multi level Table. But, if the page is not enough for
multi levels as for assigning Show Table As Mult i Level, a virtual table will not be displayed.
Case of No Data
For example, in case of no data to be printed in a repetition table, if you check Combine
Repetitions for the area to set properties applied in a table, you can combine repetitious
columns into one column. If you check Show Summary, it is confirmed whether summary
section appears on the table or not. In case you check Combine Repetitions in String to
be shown, you can combine repetitious columns into one column and set directly a
notification message such as ‘Query data does not exist.’ to be printed in the column.
Give Priority to Header
This is a function applied to CrossTab Table and also a function in which, from the data in
the second row’s data, an output is made in a table after the Header is configured with the
data in the first row. According to the features of CrossTab table, the header is variable.
However, if you use Give Priority to Header , you can define the header, as you want.
For example, in case you want to draw up a monthly sales report from January to December,
if the customer corresponding to the first row does not have the sales record in March, the
column for March is not drawn in the first row. However, if THE customer for the second raw
has the March sales record, the March sales record is drawn next to December’s as shownbelow.
However, if you output any data with the corresponding values from January to December
into the first row and set Give Priority to Header to CrossTab table, an output will be made
as shown below.
Set as Repetition Table
This makes CrossTab table to be operated like a repetition table. If you use this function, a
page with CrossTab table can be used together with a page with a repetition table.
8/16/2019 Report designer Manual - 07.Chapter 1_6
5/22
6. Table
85
6.3. Table Division
After defining a block for consecutive rows or columns of a table, you can take out it from the
table. After defining a block as you want, select Table > Tale Division or click Table Toolbar
> Table Division( ). This function helps you when you want to use Header or Repetitions
separately or when you want separately to set an object properties.
6.4. Table Protection
Table Protection is the function of fixing a table size not to be changed. When this function
is applied, even if you move a divisional line between rows or between columns to resize the
row or the column, the table size is not changed. However, if you input so many characters,
even in case of a protected table, you can increase and decrease its size.
If you select Table >Table Protection, Table Protection will be set. And, if you set Table
Protection, all tables on a page will be protected.
6.5. Line
6.5.1. Draw Vertical/Horizontal Line
Draw Vertical/Horizontal Line is to split cells by lines. This function allows you to split
several cells at the same time.
Select Table > Line > Draw Vertical/Horizontal L ine, or click Table Toolbar > Draw
Vertical/Horizontal Line ( ). If you place the mouse at the vertical or horizontal line of a
table, the cursor ( ) appears. If you drag, while pushing the left button of your mouse,
8/16/2019 Report designer Manual - 07.Chapter 1_6
6/22
Chapter.1 Using Report Designer Editor
86
dotted line is shown as shown below. If you release the mouse button, the line splits cells.
When you draw a Vertical/Horizontal Line, if the cell is so small, pointer does not
appear, which does not allow you continue performing this function. In this case, you have
use Split Cells. (See Ch. 6.6.2 Divied Cells)
6.5.2. Draw Diagonal Line
Draw Diagonal Line is to draw a diagonal line in a cell. Since it does not split the cell but
draw a line only, if you write letters into the cell, letters are overwritten on the line.
Since a diagonal line is a part of a table, when you move or resize a table, it will
automatically change to be fit for a table.
Types of diagonal Lines
There are 3 types of diagonal lines as shown below.
How to draw a diagonal line
If you select Table>Line-Draw Diagonal or click Table Toolbar>Draw Diagonal Line( ),
Draw Diagonal Line dialog box appears as shown below.
After selecting type of diagonal line, click OK. If you move a mouse on the edge of a cell, a
mouse is changed into as the below first picture.
At this moment, drag while pushing the mouse left button, a dotted line with cursor
appears as the below second picture.
Once you drag the pointer to the cross edge of the cell, appears. If you release the
button, a diagonal line will be drawn as the below third picture.
8/16/2019 Report designer Manual - 07.Chapter 1_6
7/22
6. Table
87
Correcting a Diagonal Line
In case of one-edged or two-edged diagonal line, you can correct the shape of the line. After
selecting the Line selection menu and a Diagonal line, place the cursor at the edge, the
pointer will appear. At the moment
At the moment, drag while pushing down the left mouse button, the dotted line showing the
current line shape appears. After moving this line to the desired location, release the mouse
button.
Deleting a Diagonal Line
To delete a diagonal line, select the line and press .
6.5.3. Select Line
In order to assign Properties to lines of a table, once select a desired line for a change.
There are Select whole line and Select part of line in Line Selection options.
6.5.3.1. Select Whole Line
Select Whole Line is to select a row or column line from a table at a time. You can choose
this function by selecting Table>Line->Select Whole Line or clicking Table Toolbar >SelectWhole Line( ).
6.5.3.2. Select Part of Line
Select Part of Line is to select a row or column line from a cell. You can choose this function
by selecting Table > Line > Select Part Line or clicking Table Toolbar >Select Part
Line( ).
If you want to select numbers of lines at the same time, press or
drag the line. When you cancel line selection mode, click the right button of your mouse.
8/16/2019 Report designer Manual - 07.Chapter 1_6
8/22
Chapter.1 Using Report Designer Editor
88
6.5.3.3. Delete Line
In order to delete the line, select the line you want to delete and press the key. You
can delete several lines after selecting all of them at the same time.
You cannot delete the table’s outline.
6.5.3.4. Hide Line
If you change Line Thickness of a line, you can hide the selected line in whole or in part.
When you want to hide a line of cells, selected the thickness of the selected line into ‘0’ as
shown below. However, Report Designer Editor shows the hidden line (Thickness ‘0’) as gray
color.
6.5.4. Split Vertical/Horizontal Line
Split Vertical/Horizontal Line is used to split the continuous lines by cell and to treat them
as separate lines. If you split vertical line or horizontal line, you can make a table with
irregular cells.
Splitting a Vertical Line
Select Table > Line > Split Vertical Line, or click Table Toolbar > Split Vertical Line( ).
If you move a mouse close to a junction of a horizontal and vertical line, a mouse changes
into ( ). At this moment, if you click the left button, the vertical line is separated as shown
below, in the right Table.
You can see that the vertical line is divided into two separate lines.
8/16/2019 Report designer Manual - 07.Chapter 1_6
9/22
6. Table
89
Splitting a Horizontal Line
Select Table > Line>Spli t Horizontal Line, or click Table Toolbar > Split Horizontal
Line( ).
If you move a mouse close to a junction of a horizontal and vertical line, a mouse changes
into ( ). In this case, if you click the left button, the horizontal line is separated as shown
below.
You can see that a horizontal line is divided into two separate lines.
In case you can’t split a Vertical / Horizontal Line
If a Vertical/Horizontal line cannot further be split, the scissor-like pointer will not appear.
You cannot split junction lines with different properties or lines connecting betweenRepetition and Summary Section, between Header and Repetition Section.
And you cannot also spilt table border lines or the middle of a line.
6.5.5. Join Lines
Joining lines are used when you want to re-join lines after they have been split into uneven
or disjointed vertical/horizontal lines by Splitting Vertical/Horizontal Line.
After selecting the two adjacent lines by using Select Whole Line, select Table > Line >Join Lines or Click Table Toolbar > Join L ines( )
Join Horizontal Lines
Join Horizontal L ines joins two split lines with moving the upper line to the lower line.
Join Vertical Lines
8/16/2019 Report designer Manual - 07.Chapter 1_6
10/22
Chapter.1 Using Report Designer Editor
90
Join Vertical Lines joins two split lines with moving the left line to the right line.
6.5.6. Double Line
You can apply Double Line to a table only. After selecting every line or table to be changed,
as for Double line, Table > Line > Double Line or click Table Toolbar > Change Line Into
Double Line( ).
If you want to change a double line to other types of lines, change the Line Properties.
6.5.7. Repetition/Summary Section Line Properties
You can apply Repetition/Summary Section Line Properties to a Table with repetition
section in a Table Document / Table Form Document. It is useful to change line color
between repetition sections or between summary sections in order to review a report in
Viewer. You can change the line color to blue or green.
After selecting a properties line for Set Whole Line, select the line for which you want to
apply this function. From now on, you can apply this function to the line. Select Table > Line
> Repetition/Summary Section Line Properties or click Table Toolbar >
Repetition/Summary Section Line Properties ( ).
As for Repetition Section Line Properties, because the properties is changed forevery column or row, a change cannot be made by Select Part of Line.
8/16/2019 Report designer Manual - 07.Chapter 1_6
11/22
6. Table
91
After selecting a line (or click text) from Setting, if you change Line Properties, the shape to
be printed will be displayed in Preview window.
If you select Repetition Section and select 0 for line thickness, you can see the following
picture on your screen.
Setting
Report Designer draws a table by a row. Therefore, a horizontal line within a table with a
repetition section is an upper line of a lower line and is a lower line of an upper line at the
same time.
8/16/2019 Report designer Manual - 07.Chapter 1_6
12/22
Chapter.1 Using Report Designer Editor
92
In other words, within a table, one line has two properties. Setting allows you to select
properties to be changed between them and shows you the set contents.
Line Thickness
Select the desired line width.
Line Style
You can select Dash Line or Double Line. However, if you apply the desired Line Style,
Line Thickness is fixed to be 1.0.
Line Color
You can select the desired Line Color .
Preview
You can view a line properties assigned.
6.5.8. Line property mode (above)
Whenever one data record is processed, the repetition section increases one by one as for
Table Document. And, according to a condition, the summary section appears. In this case
the line between Header and Repetition section , the line between Repetition sections ,
the line between Repetition section and Summary section, the line between Summary
sections have two properties, and one property belongs to an upper section ( in case
repetition section increases toward the horizontal direction, a right section ) , the other
property belongs to a lower section( in case repetition section increases toward the
horizontal direction, a left section ).
Therefore, you can hide lines between repetition sections, you can change the line width
between the repetition section and the summary section.
There is Priority between two line properties in order to show you the properties such as its
color, width. The priority is as follows
1. Header, 2. Lower summary section, 3. Upper summary section, 4. Repetition section
8/16/2019 Report designer Manual - 07.Chapter 1_6
13/22
6. Table
93
For example, when you apply Line property mode (above) to a line between the header
and the repetition section, the line shows the header’s properties. If you do not apply it, the
line shows the repetition section’s properties.
After Line property mode (above) is applied to a line, if you change the line into double
line and release Line property mode (above) from the line and then change line width to
0, the line under the header will be double line , lines of the repetition section will be shown
in Viewer.
That is to say, between the header and the repetition section, the header has higher priority
then the repetition section. So, the line follows the header’s properties. Between repetition
sections, the priority is same. Therefore, the line follows the lower repetition’s properties. The
lower line of the upper repetition section is a straight line, but if one row as part of therepetition section is added to the repetition section, the line properties(0) of the upper line of
the lower repetition section is applied.
If you want to apply the line properties easily, it is better to use Repetition
Section/Summary Section Line Properties dialog box by selecting Table > Line >
Repetition Section/Summary Section Line Properties or clicking Table Toolbar>
Repetition Section/Summary Section Line Properties ( ).
Line Property Mode (above) makes it easy to apply another properties to a line, which has
two Line Properties.
6.5.9. Memo Line Properties
In case there are much contents in cells applied as Memo Object, the contents is needed to
connect to the next page. This function defines the line properties of the memo object.
See Chapter 8.2 TextFrame Properties for the details of memo objects.
After selecting the table that contains cells applied as Memo Object, if you select
Table>Line>Memo Line Properties, then Memo Line Properties dialog box appears as
shown below.
8/16/2019 Report designer Manual - 07.Chapter 1_6
14/22
Chapter.1 Using Report Designer Editor
94
Line Thickness
Select the desired Line Width.
Line Style
You can select Dash Line or Double Line. However if you select one of them, the line width
is fixed to 1.0.
Line Color
Select Line Color .
6.6. Cell
6.6.1. Merge Cells
Merging Cells means to combine adjacent cells into one cell.
To the Merge Cells, after defining a block for the cells to be merged at first, select Table >
Column > Merge Cells or click Table Toolbar > Merge Cells( ).
As shown below, after merging the blocked cells, a table will be changed into a table on theright.
In case of cells to be split vertically/horizontally, since the blocked cells do not retain a
square-like shape, the cells cannot be merged. However, as in the case of a table on the
right, the blocked cells retain a square-like shape and therefore, can be merged.
6.6.2. Divide Cells
In order to divide cells, place a cursor at the corresponding cell, or block select the cells.
Select Table > Column > Divide Cells or click Table Toolbar>Divide Cells ( ).Then
Divide Cells dialog box appears. Input the number of Rows and Columns respectively and
8/16/2019 Report designer Manual - 07.Chapter 1_6
15/22
6. Table
95
click OK. The cell is divided.
Divide Cells has a strong point that divides any a cell into several cells with the same size
and can divide any cells. For reference, in case of splitting a cell into many small cells, the
size of a table may be extended.
Draw Vertical/Horizontal Line allows you to divide cells. Therefore, when there are
few cells, Draw Vertical/Horizontal Line will be more convenient. When you divide a cell
into many cells, it is better to resize the cell. (Refer to Ch. 6.5.1. Draw Vertical/Horizontal
Line for the details of Draw Vertical/Horizontal L ine)
6.6.3. Internal Boundary Line
Internal Boundary Line means one line or more to be drawn within a cell of a table with
even spacing. The line does not divide a cell into many cells, it is used for showing a number
digit by digit. Therefore, you cannot select the line with Select Whole Line or Select Part of
Line.
6.6.3.1. Internal Boundary Line Properties & Usage
It is a fixed line, which is not affected by the size of the input text, the text space.
When you want to insert lines between digits of a number, if the number is in a cell, it is
difficult to use Draw Vertical/Horizontal Line because the function divides a cell into
another cells. At this time, Internal Boundary Line is useful.
8/16/2019 Report designer Manual - 07.Chapter 1_6
16/22
Chapter.1 Using Report Designer Editor
96
A cell with Internal Boundary L ine is blocked as a cell.
6.6.3.2. Draw Internal Boundary Line
After defining a block for a target cell, select Table > Column > Internal Boundary Line
then Internal Boundary Line dialog box appears.
In order to delete Internal Boundary L ine, define 0 as Number of lines.
Number of lines
Input the desired number of Internal Boundary Line.
Line shape
Select Horizontal Line or Vertical Line and then select the line type of Internal Boundary
Line.
Draw sol id lines in cell
This is a function for drawing Thick Solid Line or 1/2 Solid L ine as you select, taking the
number of lines you input for Draw sol id lines in cell as the unit.
For example, after drawing 15 internal boundary lines, if you input 3 as Show solid lines
and select Thick Solid Line , the third , sixth, ninth, twelfth, fifteenth will be Thick Line.
8/16/2019 Report designer Manual - 07.Chapter 1_6
17/22
6. Table
97
Auto adjust character space
If you check this option, the digit space is automatically adjusted for the data not to overlap
with Internal Boundary Line. Text is aligned on the right side.
Even If you change Letter space or Alignment from TextFrame properties, Automatic Letter
Space has higher priority. If font size is too big, Automatic Letter Space is neglected.
6.6.4. Swap Cells
After blocking two target cells, select Table > Column > Swap Cells or click Table Toolbar
> Sw ap Cells ( ), then the contents of two cells will be switched.
6.7. Matrix
6.7.1. Change Direction of Matrix
This function allows converting rows into columns, and vice versa. After selecting a targetTable, select Table > Matrix > Change Direction of Matrix or click Table Toolbar >
Change Direction of Matrix ( ).
This function is mainly used, in a table document. to create a table whose columns repeat
(extending to the right).
8/16/2019 Report designer Manual - 07.Chapter 1_6
18/22
Chapter.1 Using Report Designer Editor
98
6.7.2. Set Matrix Group
If the repetition section has many columns or rows, where the same value appears frequently,
you can set the column or the row as Matrix Group. Then the column or the row shows the
value when the value changes. This function is applied to Table Document, not to
CrossTab Table.
In order to use this function, after selecting target columns or rows, select Table > Matrix >
Set Matrix Group. When Matrix Group dialog box appears, check Set Matrix Group.
If you set Matrix Group, the repeation section has one green line. The column or the rowshows the value when the value changes, other columns or rows shows values in every
records.
Display on Page Break allows showing the value once at the start of the next page..
Set Matrix Group can be applied to each row in case the repetition section is
displayed.
6.7.3. Add Header/Repetit ion/Summary Section
Table Object basically consists of Header Section and Repetition Section in a tabledocument. When you need to add Header Section or Repetition Section to the table,
which has another Header Section or Repetition Section, you can use this function.
Add Header Section
After selecting a table object with repetition section only, select Table > Matrix > Add
Header Section then it is created like as the repetition section.
Add Repeti tion Sect ion
After selecting a table object with Header section only, select Table > Matrix > Add
Repetition Section then it is created like as the Header section.
8/16/2019 Report designer Manual - 07.Chapter 1_6
19/22
6. Table
99
See Chapter 6.3 Table Divis ion for dividing a table object into Header Section andRepetition Section.
Add Summary Section
After selecting a table object with Repetition section in a table document, select Table >
Matrix > Add summary Section or click Table Toolbar > Add Summary Section( ).
Then Summary section is added at the bottom of the repetition section.
After adding Summary section, you can see another blue line as shown below.
Distinguish Repetition section and Summary section
After opening Connect to dataset dialog box, select the target cell. If Summary Condition
tab exists, it is the summary section.
6.8. Insert / Delete
6.8.1. Insert Above/Below the Row
If you insert rows, row(s) is inserted on the block cell or above/below the cell in which the
mouse cursor is located. If you do not block cells, the only row is inserted. If you insert
blocked row(s) cells of which have a diagonal line, the inserted row(s) has also a diagonal
line as the blocked row(s).
When you insert rows, select Table > Insert > Insert Above the Row/Insert Below the
Row or click Table Toolbar> Insert Above the Row( )/Insert Below the Row( ).
Press while a mouse is in the last row/column, then a row is inserted.
6.8.2. Insert Left/Right of the Column
If you insert a column, it is inserted into the left or right of a column which was blocked or in
which a mouse is placed.
8/16/2019 Report designer Manual - 07.Chapter 1_6
20/22
Chapter.1 Using Report Designer Editor
100
When you insert Columns, select Table > Insert > Insert Left o f the Column/Insert Right
of the Column or click Table Toolbar> Insert Left of the Column ( )/Insert Right of the
Column( ).
6.8.3. Delete Rows/Columns
You can delete Rows/Columns only in case the outline of a rows/column, which is blocked or
in which a cursor is placed, is a square.
In case you do not delete an outline to look like a rectangle, the segment of the outline
is misaligned by Splitting a Vertical/Horizontal Line.
Deleting Rows
After placing a mouse at the row to be delete or defining a block for it, select Table > Delete
> Delete Rows or click Table Toolbar > Delete Rows( )
Deleting Columns
After placing a mouse at the column to be delete or defining a block for it, select Table >
Delete > Delete Columns or click Table Toolbar > Delete Columns( )
6.8.4. When Inserting / Deleting is available or not
6.8.4.1. When Inserting / Deleting is available
You cannot insert/delete two Rows/Columns that are separated by an unselected cell, as
shown below.
8/16/2019 Report designer Manual - 07.Chapter 1_6
21/22
6. Table
101
6.8.4.2. When Insert ing / Deleting is not available
If you do not block the entire row or column but a part of it as shown below, you can insert
Row/Column but cannot delete it. If you want to delete it, you should delete it after blocking
the entire row or column,
6.9. Convert
Generally, the table is divided into a rectangle and a rounded table. Before creating a table,
you can select one of both. After creating a table, you may change it by selecting Table >
Convert > To General Table or To Rounded Table.
To General Table
After selecting a rounded table, select Table > Convert > To General table then the tablechanges into a general table.
To Rounded Table
After selecting a general table, select Table > Convert > To Rounded table then the table
changes into a rounded table.
6.10. Set/Cancel Header/Repetit ion Section
This function makes a table of a Fixed Form Document to have Header Section and
Repetition Section like as Table Form Document .
After select a row to be used as Header section or Repetition Section, select Table > Set
Header Section/Cancel Repetition Section . It is possible to set some repetition sections
for a table in Fixed Form Document. However, it is not possible in a table document.
8/16/2019 Report designer Manual - 07.Chapter 1_6
22/22
Chapter.1 Using Report Designer Editor
102
After setting Header/Repetition, a table shows a properties line like as it is created in Table
Form Document.
As above, you can assign object variables to the table set the repetition section. Then youcan add data to the repetition section by using AddDataBody of script.
When other tables or objects are at the button of the table set repetition section, as the
repetition section increases, the repetition section meets other objects. At this time, In case
of a Table Form Document , Page Break function operates. However in case of a Fixed
Form Document, other object moves below automatically not to meet the repetition section.
When you set header section to a table, if the table is too long to fit a page, the table is
divided on the page margin. However, the divided table on the next page has the same
header section as you set.