Field Properties
This topic describes how you can use the Field Properties dialog box to update the properties of a field. Server displays the dialog box when you right-click a field and select Properties from the shortcut menu.
This topic contains the following sections:
You see these elements on all the tabs:
OK
Select OK to apply any changes you made here.
Cancel
Select Cancel to close the dialog box without saving any changes.
Select to view information about the Field Properties dialog box.
Select to close the dialog box without saving any changes.
General Tab Properties
This tab shows some general information of the field.
Name
Specifies the display name of the field.
Show NLS Value
Select to show the translated name for the display name of the object in the Name text box if you have enabled the NLS feature and translated it, and when you have not modified the display name of the object.
Format
Specifies the format of the field.
Auto Scale in Number
Select true if you want to automatically scale the values that are of the Number data type when the values fall into the two ranges:- When 1000 <= value < 10^15, Logi Report uses the following quantity unit symbols of the International System of Units to scale the values: K (10^3), M (10^6), G (10^9), and T (10^12).
- When 0 < value < 0.001 or value >= 10^15, Logi Report uses scientific notation to scale the values.
The value auto means that the setting follows that of the parent data container. When you set the property to true, the specified format will apply to the integer part of the values after being scaled. If the specified format conflicts with the Number data type, Logi Report will ignore the Auto Scale in Number setting.
Height
Specifies the height of the field.
Width
Specifies the width of the field.
Position
Select the position mode of the object when it is directly contained in the report body, a tabular cell, or a text box.
- Absolute
Select if you want to use the X and Y property values to decide the object's position. - Static
Select if you want to place the object at the default location in its container. Server will hide or disable the X, Y, and other position-related properties.
Top Padding
Specifies the space between the text of the field and its top border.
Bottom Padding
Specifies the space between the text of the field and its bottom border.
Left Padding
Specifies the space between the text of the field and its left border.
Right Padding
Specifies the space between the text of the field and its right border.
Background
Specifies the background color of the field.
To change the color, select the color indicator to select a color from the color palette. You can select More Colors in the color palette to access the Color Picker dialog box in which you can select a color within a wider range. You can also type a color string in the format #RRGGBB directly in the text box. If you want to make the background transparent, type Transparent in the text box.
Foreground
Specifies the foreground color of the field.
To change the color, select the color indicator to select a color from the color palette. You can select More Colors in the color palette to access the Color Picker dialog box in which you can select a color within a wider range. You can also type a color string in the format #RRGGBB directly in the text box.
The following four options are available when image data is stored in the field, for example, a DBField with image as the data, or a formula field the expression of which is openBinFile()
or openBinURL()
. You can specify to use the original size of the image or customize the size by yourself.
Original Size
Web Report Studio adopts the original size of the image by default. Clear this option if you want to scale the image, then specify the scaling mode.
Scaling Mode
Logi Report enables this option when you clear Original Size.
- actual size
Select to show the image in its actual size. If the display area is smaller than the image, Server hides part of the image. - fit image
Select if you want the image to fill the display area and keep the original perspective ratio under the limitation of Max Ratio. - fit width
Select if you want the image to fit the display area width under the limitation of Max Ratio. - fit height
Select if you want the image to fit the display area height, under the limitation of Max Ratio. - customize
Select if you want to specify the width and height of the image in the size fields.
Image Height
Specifies the height of the area for displaying the image. Available when Original Size is unselected.
Image Width
Specifies the width of the area for displaying the image. Available when Original Size is unselected.
Font Tab Properties
Specify the font properties of the field.
Font
Specifies the font face of the text.
Size
Specifies the font size of the text.
Horizontal Alignment
Specifies the horizontal alignment mode of the text in the field.
Vertical Alignment
Specifies the vertical alignment mode of the text in the field.
Bold
Specifies whether to make the text bold or not.
Underline
Specifies whether the text will be underlined or not.
Strikethrough
Specifies whether to attach a strikeout line to the text.
Italic
Specifies whether to make the text italic or not.
Autofit
Specifies whether to automatically adjust the width of the field. If the field is in a table column, the property takes effect only when the option Autofit on the shortcut menu of the column is also set to true. takes effect only when the option Autofit on the shortcut menu of the column containing the field is also set to true.
Word Wrap
Specifies whether to wrap the text to the field width.
Ignore HTML Tag
Enable this property if you don't want Logi Report Engine to parse the HTML tag elements in the text, at runtime and in the HTML output, so they display exactly as what they are in the report.
Disable this property if you want Engine to transfer the HTML tag elements to the web browser so the web browser translates them into HTML.
Border Tab Properties
This tab shows information about borders of the field.
Color
Specify the border color.
Width
Specify the border width.
Top Line
Select the style of the top border line.
Bottom Line
Select the style of the bottom border line.
Left Line
Select the style of the left border line.
Right Line
Select the style of the right border line.
Shadow
Select if you want to add a shadow effect to the border. Web Report Studio and JDashboard cannot render the shadow effect.
Shadow Color
Specify the color of the border shadow.