GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 42
Registered: ‎02-24-2016

Print Layout alignment

[ Edited ]

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

Technical Evangelist
Posts: 1,405
Registered: ‎09-11-2015

Re: Print Layout alignment

[ Edited ]

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 Smiley Happy)

Untitled.png

 

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Contributor
Posts: 42
Registered: ‎02-24-2016

Re: Print Layout alignment

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

Technical Evangelist
Posts: 1,405
Registered: ‎09-11-2015

Re: Print Layout alignment

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 Smiley Wink

 

Please also see the RTF reference: http://www.biblioscape.com/rtf15_spec.htm#Heading31

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial