on 01-09-2008 7:17 AM
Hi all!
In scripts-> Paragraph formats, we have tabs :standard,font,tab,outline right?There are no. of options to mention the tab postion and correspnding allignment for a paragraph format right?How can we make use of those many tab positions for the same paragraph format? And for these tab positions, I have seen an allignment option 'SIGN'.What is this?
Hi,
The tabs you define in you SAPscript have the same function as they would in a Word document, and in SAPscript are the only way of aligning columns.
In your SAPscript text element you need to seperate fields with ,, to push the next field out to the next tab position, e.g. &FIELD1&,,&FIELD2&,,&FIELD3&
In defining the tabs SIGN is used to line up decimal values, so for example 101.34, 34.00 and 1256.56 all have different lengths and you wouldn't want them aligned by the first digit so SIGN in the tab definition aligns by the sign of the number (i.e. at the left).
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No.
The tab defines the position from the left margin, not the distance from the last tab. In your example you have tabs 10 characters apart. Lets say you have three fields, &FIELD1&, &FIELD2& and &FIELD3&, each is five characters (and contains the numbers 12345) your text element has the following;
&FIELD1&,,&FIELD2&,,&FIELD3&
The line will be (using dots to indicate spaces)
12345.....12345.....12345
The tab will go to the next available position, so if your first variable is 12 character long you'll get &FIELD2& at position 20, as you've already passed position 10.
Regards,
Nick
The Main Use of Tab is to fix postion of columns in a layout.
if u have 2 fields to display in a layout nad if u want to dispaly 2nd field from 4 CM from left margin
U will maintain 1 tab 4 CM then
&1st Field&,,&2nd field& then second field will exactly starts at 4 CM from left margin.
and you have allignment for the tab. that specifies left right or center
Regds,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.