Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
reading / Primavera P6™ Project.pdf
Скачиваний:
0
Добавлен:
12.06.2025
Размер:
10.82 Mб
Скачать

Customizing Reports 469

Adding Text Cells to Reports

The Report Editor enables you to add four types of text cells to reports:

Field Title cells, Field Data cells, Variable cells, and Custom Text cells.

Field Title cells contain the name of a Project Management module field you specify. Field Title cells are helpful when you want to add a label to a column or another text cell. Examples of field titles are WBS Code and Activity Name.

Field Data cells compile and report information from a Project Management module field you specify. For example, if you add a Field Data cell that refers to the field WBS Code, then the cell will report codes for WBS elements.

Variable cells report information related to the overall report, rather than a specific data source. Report name and page number are examples of Variable type information.

Custom Text cells contain custom text that you specify.

Select the type of cell you want to add to the report.

Primavera - Project Management

470 Part 5: Customizing Projects

For more information about adding rows to reports, see the preceding section.

Add field title or field data cells to reports

1In the Report Editor, select the row to which you want to add a field title or field data cell.

2Click .

3Click the Cell tab, then select Field Title or Field Data as the cell type.

If the cell is part of a data source, select the category of information that contains the field title you want to report in the cell.

4Select the field whose title you want to report in the cell for a Field Title cell; for a Field Data cell, select the field whose information you want to compile and report in the cell.

Field Title and Field Data are only functional when the selected report cell is within a data source.

Add variable or custom text cells to reports

1In the Report Editor, select the row to which you want to add a variable or custom text cell.

2Click .

3Click the Cell tab, select Variable or Custom Text as the cell type.

4Select the type of variable information you want to report in the cell, or type the custom text you want to appear in the cell.

Add image cells to reports

1In the Report Editor, double-click the row to which you want to add an image cell.

2Click from the Image tab of the Properties dialog box.

3Click Select Image, then click Load.

Primavera - Project Management

Customizing Reports 471

You can also change a cell’s width directly in the Report Editor. Place your pointer over the cell’s left or right edge. When the pointer changes to a double-headed arrow, drag the cell’s edge to a new position.

4Select the drive that contains the image’s file.

5In the Look in field, double-click the folder(s) that contains the image’s file, select the file, then click Open.

To expand the image to the size of the selected image cell, mark the Stretch Image checkbox.

6Click OK.

The Report Editor supports BMP and JPG files.

Define layout options for image cells

1Double-click the image cell whose layout options you want to define.

2Click the Image tab, then click the Image alignment arrow

To use your mouse to drag the cell to the appropriate position in the row, select None.

To position the cell relative to the left margin, select Left, then type the cell’s left indent in the Left field.

To position the cell flush against the right margin, select Right. To extend the cell across the entire row, select Center.

3In the Width field, type the cell’s numeric width, or the distance you want the cell to occupy between the report’s left and right margins. If the cell’s alignment is Center, you cannot enter the cell’s width.

Define HTML settings for image cells The Project Management module enables you to specify how you want to include an image in a report if you compile the report to an HTML file.

1Double-click the image cell whose HTML settings you want to define.

2Click the Image tab, then click Select Image.

To copy the image’s file, type a location and name for the copied image file, relative to the report’s HTML directory, in the Relative Image Path field. Copying an image file allows you to maintain a stable HTML directory for the report.

To reference the image’s file, rather than copy the file, mark the Reference Image Instead checkbox, then type the location and name of the image’s file in the Relative Image Path field. Referencing an image’s file is helpful when the image’s content frequently changes.

Primavera - Project Management

472 Part 5: Customizing Projects

You can also change a cell’s width directly in the Report Editor. Place your pointer over the cell’s left or right edge. When the pointer changes to a double-headed arrow, drag the cell’s edge to a new position.

Add line cells to reports

1In the Report Editor, select the row to which you want to add a line cell.

2Click .

3Click the Line tab, then specify the number of lines to include in the new line cell.

Define layout options for line or text cells

1Double-click the line or text cell whose layout options you want to define.

2To define options for a line cell, click the Line tab, then click the Line alignment arrow. To define options for a text cell, click the Cell tab, then select the cell alignment.

To use your mouse to drag the cell to the appropriate position in the row, select None.

To position the cell relative to the left margin, select Left, then type the cell’s left indent in the Left field.

To position the cell flush against the right margin, select Right. To extend the cell, or line, across the entire row, select Center.

Primavera - Project Management

Customizing Reports 473

3Type the cell’s numeric width, or the distance you want the cell to occupy between the report’s left and right margins.

If the cell’s alignment is Center, you cannot enter the cell’s width.

Add borders to text cells in reports

1In the Report Editor, double-click the text cell to which you want to add borders.

2Click the Cell tab, then click Borders.

3Mark the appropriate checkboxes to add borders to the cell.

Cell borders always appear in black. You cannot change the color of a cell’s borders.

Clear the appropriate checkboxes to remove the cell’s borders.

Primavera - Project Management

474 Part 5: Customizing Projects

Format text in text cells

1Double-click the cell whose text you want to format.

2Click the Cell tab.

To change the position of the cell’s text relative to the cell’s left and right edges, select a new alignment.

To apply a style to the cell’s text, select a new font style.

To apply a custom style to the cell’s text, select Custom as the font style, then click Custom Font to select new formatting options.

Change a text cell’s background color

1Double-click the text cell whose background color you want to change.

2Click the Cell tab, then click Color.

You can use the Color dialog box to either select a color from the Basic Colors palette or define a custom color with the color spectrum.

To select a color from the Basic Colors palette, under Basic Colors, click the color you want to apply to the text cell, then click OK.

To define a custom color

1In the color spectrum, click the color you want to apply, then drag the slider at the right of the dialog box to adjust the color’s attributes.

You can also type the color’s numeric values in the RGB (Red, Green, Blue) and HLS (Hue, Luminescence, Saturation) fields.

2Click Add to Custom Colors, then click OK.

Clear this checkbox to disable the HTML link for the cell.

Primavera - Project Management

Customizing Reports 475

The Link Prefix field will most likely be the URL prior to the file you wish to link to, for example ‘http:// www.foo.com/’. Likewise, the Enable Link Field checkbox and the Link Suffix field will be used to generate the actual filename and extension you wish to link to. If Enable Link Field is marked, then the Link Object and Link Field fields will determine the filename and the Link Suffix field will provide the extension of the file you wish to link to, for example ‘.html’. If Enable Link Field is not marked, then the Link Suffix field will provide both the filename and extension of the file you wish to link to, for example ‘foo.html’.

Add HTML links to image or text cells

1Double-click the cell to which you want to add an HTML link.

2Click the appropriate tab for the type of cell for which you want to add the link: Cell tab for text cells or Image tab for Image cells, then click HTML links.

3Type the Internet address of the Web page to which you want the selected text cell to link, or type the prefix of the Internet address to which you want the selected image cell to link.

4If you want each report record to be a hot-link to another file, mark the Enable Link Field checkbox.

To disable the link if a specific field does not produce any records in the compiled report, mark the Disable Link If Empty Value checkbox. Select an object, or category of information, and a field from the Link Object and Link Field lists. The list of available objects and fields reflects the type of information reported by the cell’s row.

5Type the suffix of the Internet address to which you want the selected cell to link.

6To create a link to a specific frame in the Web page, if the Web page uses frames, type the name of the frame.

Both Link Prefix and Link Suffix are used to build the URL link for the text or image cell. The URL is built as follows: [Link Prefix]+[Link Field]+[Link Suffix], if the Enable Link Field checkbox is marked. If the Enable Link Field checkbox is not marked, then the URL is built like this: [Link Prefix]+[Link Suffix].

Primavera - Project Management

476 Part 5: Customizing Projects

If the background image is smaller than the report’s page, the Project Management module tiles, or repeats, the image to fill the report’s background area. If the background image is larger than the report’s page, the Project Management module positions the image in the upper-left corner of the report page, then excludes those areas of the image that do not fit within the report’s right and bottom margins.

Add background images to reports

1In the Report Editor, click .

2Click the Report tab, then click Background Image.

3Click Load.

4Select the drive that contains the image’s file.

5Under Look In, double-click the folder(s) that contains the image’s file, select the file, then click Open.

Remove background images from reports

1In the Report Editor, click .

2Click the Report tab, then click Background Image.

3Click Clear, then click OK.

Copy (or cut) and paste cells

1Right-click the cell you want to copy (or cut), then choose Copy (or Cut).

2Right-click the row in which you want to paste the copied cell, then choose Paste.

To paste the cell to a row that contains other cells, select a cell in the row, press Esc, then press Ctrl+V.

Remove cells from reports Right-click the cell you want to remove, then choose Delete.

Primavera - Project Management