on 04-21-2016 7:36 AM
Hi All,
I have used "tab" keyword to give some space between two strings for proper alignment. When I click on evaluate, the result will be as expected but in output, tab is replaced with single space. Because of this the alignment is not proper. Please refer the below screenshot for the issue.
Evaluation Result:
Output:
And my expression is like the following "Plant"&tab&": "&Repeater_0.Output{/Row/Plant} .
Please let me know, is there any way to give spacing between two strings.
Thanks,
Aravinth
Hey Aravinth,
Try using ADS Printing action block and use option save as PDF...
You can define table structure in XDP file with your headings (Plant, Station, Model ID...) in one column and map their values in second column so your output will be in proper format.
Thanks,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aravinth,
As per my knowledge, tab is not interpreted/supported by pdf text.
In case specific to yours, you will have to build a separate string by checking the no. of characters in a line and then add " " for each of characters remaining till ":" character.
You will then have to append pre and post part of ":" together separated by above created string. Take example of "Plant" which is 5 characters and let's say you have kept ":" at 20th position. Then you loop (20-5) i.e. 15 times(this would be dynamically configured) and append " " to a string variable.
Post which you get a string for your first line that's separated by above string i.e. 15 " "s.
Please note, there would be multiple repeats for each line, so may hit performance, again depends on case.
Hope this helps.
Regards,
Swaroop
Hi Aravinth,
Instead of tab you will have to use a defined set of blank spaces or tabs for this, and you can achieve it in the output.
"Plant"&" "&"xyz" gives you the required result.
Regards,
Saptaparna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.