01-18-2017
04:31 AM
- last edited on
10-27-2020
08:36 AM
by
gspbsoperations
Hi,
Is there any way to align text within a holder within the print layout?
The text for this holder may have different text based on the type of drawing/project the client has open.
Our customer wants this text to be centered.
Please see attached image
01-19-2017 03:56 AM - edited 01-19-2017 03:57 AM
Hi Ciaran,
This relates to an existing bug in Java Swing UI which incorrectly interprets some Rich Text notations:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4735839
I saw that somebody was successful with this workaround:
1) Save the print layout to a SCL file.
2) Edit the SCL file and correct the Rich Text formating there.
3) Save the file and use it in Smart Client print.
I've tested with string in this article...
http://www.askingbox.com/info/rtf-align-text-left-right-centered-and-justified
...and it printed out like this (I know it's not fancy but it serves its purposes )
Regards,
Jan
01-26-2017 03:00 AM
Hi Jan,
Just one more thing. We have a user input for one of the text values in the printout. However when extended text is entered it goes onto the next line and it looses its alignment. Please see the attached printout for the Transformer option.
Thanks
Ciaran
01-26-2017 04:00 AM
Hi Ciaran,
Can you provide related RTF part? Best if it would already contain the text with broken line. Please note that I'm by no means an RTF expert
Please also see the RTF reference: http://www.biblioscape.com/rtf15_spec.htm#Heading31
Regards,
Jan