Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms

Former Member
0 Kudos
182

Can anyone please tell me how I could change the font style and size of the parameter passed in a form?

Please keep in mind it is not the text but the paramter .

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
140

hi,

<b>Create a Smartstyle:</b>

1. Choose transaction SMARTSTYLES.

The initial Smart Styles screen appears.

2. Enter the style name.

3. To create a Smart Style choose Create.

4. To activate an exisiting Smart Style choose Activate.

<b>Header Data of a Smart Style</b>

In the header data you maintain the default values of a Smart Style. If you do not assign other values to the paragraph and character formats in the Smart Form, the system uses these default values.

<b>Prerequisites</b>

You must define these values in the header data:

• Standard paragraph

• Default tab stops

• Characters per inch/Lines per inch

• Font family and font size

Features:

<b>Standard Paragraph</b>

You must flag one of the existing paragraphs as default paragraph. To assign this standard paragraph to a text, you use paragraph format '*'.

<b>Default Tab Stops</b>

The system uses these values if you do not specify any other defined tabs.

<b>Default Font Attributes</b>

These include the font family, the font size, bold/italic, underline, and color. You can overrule these settings in the individual paragraph or character formats.

<b>Characters per Inch/Lines per Inch</b>

You need these specifications if you want to specify measurements (for example, for margins or indents) in the style in the measurement units CH (character) or LN (line).

The system proposes optimized values. You should change them only if the need arises.

<b>Creating Paragraph Formats</b>

A paragraph format contains information on indents, spacing, font settings, text color, tabs, numbering and outline. Each paragraph format must have a unique name. In the PC Editor, you assign these formats to a text or a field.

Indents and Spacing

You can set the following attributes:

• Alignment (default: left)

• Indent

• Spacing (default value for line spacing of the first line)

• Text flow

<b>Font Settings</b>

If a paragraph format does not contain any font settings, the system uses the default values from the header data.

You can assign a color from a color palette to the paragraph format. Provided that the printer driver and the printer support color printing, the relevant text is printed in color.

After creating Smartstyle, you can assign this smartstyle in output options of smartforms for a window or for the whole smartform itself.

Regards,

Sailaja.

5 REPLIES 5

Former Member
0 Kudos
140

you can define the font sytle and size in smartform styles.

in smartform transaction, you also have the style option to define the parameters for font style and size

0 Kudos
140

Can you please explain in detail ..where I can get it?

0 Kudos
140

Hi,

Check in your Smartform's "Form Attributes"-->"Output Options" section. It will tell you which Style this particular Smartform is using. Then go back to SMARTFORMS transaction, select Style radiobutton, enther the Style you found and edit it. Here you can add/change Paragraphs/Character Formats. Activate it and go back to the original Smartform, then you should be able to use the new Paragraph/Character format that you created/changed.

Thanks,

Murali

former_member223537
Active Contributor
0 Kudos
140

Hi,

Please refer this thread to get an understanding of setting different font and font size in smartforms :

Best regards,

Prashant

Former Member
0 Kudos
141

hi,

<b>Create a Smartstyle:</b>

1. Choose transaction SMARTSTYLES.

The initial Smart Styles screen appears.

2. Enter the style name.

3. To create a Smart Style choose Create.

4. To activate an exisiting Smart Style choose Activate.

<b>Header Data of a Smart Style</b>

In the header data you maintain the default values of a Smart Style. If you do not assign other values to the paragraph and character formats in the Smart Form, the system uses these default values.

<b>Prerequisites</b>

You must define these values in the header data:

• Standard paragraph

• Default tab stops

• Characters per inch/Lines per inch

• Font family and font size

Features:

<b>Standard Paragraph</b>

You must flag one of the existing paragraphs as default paragraph. To assign this standard paragraph to a text, you use paragraph format '*'.

<b>Default Tab Stops</b>

The system uses these values if you do not specify any other defined tabs.

<b>Default Font Attributes</b>

These include the font family, the font size, bold/italic, underline, and color. You can overrule these settings in the individual paragraph or character formats.

<b>Characters per Inch/Lines per Inch</b>

You need these specifications if you want to specify measurements (for example, for margins or indents) in the style in the measurement units CH (character) or LN (line).

The system proposes optimized values. You should change them only if the need arises.

<b>Creating Paragraph Formats</b>

A paragraph format contains information on indents, spacing, font settings, text color, tabs, numbering and outline. Each paragraph format must have a unique name. In the PC Editor, you assign these formats to a text or a field.

Indents and Spacing

You can set the following attributes:

• Alignment (default: left)

• Indent

• Spacing (default value for line spacing of the first line)

• Text flow

<b>Font Settings</b>

If a paragraph format does not contain any font settings, the system uses the default values from the header data.

You can assign a color from a color palette to the paragraph format. Provided that the printer driver and the printer support color printing, the relevant text is printed in color.

After creating Smartstyle, you can assign this smartstyle in output options of smartforms for a window or for the whole smartform itself.

Regards,

Sailaja.