.... ahh yes that should be spaces before the X's (dont know what
happend to the spaces in my mail ...).
i tried inserting tab characters (	 in XML) but it didn't really work.
Michael Seeberger
Am 11.05.2011 15:55, schrieb Michael Rubin:
I am guessing they are space characters before the X's. I was just
wondering if you have tried tab characters at all? Does that have a
similar effect? Certainly in word processing tabs align much better
than spaces especially where different fonts are involved.
Thanks.
-Mike
On 11/05/11 14:37, Michael Seeberger wrote:
Hello,
i have a problem with whitespace-treatment in FOP. I'm using FOP 1.0
and can't get my text formatted the way i want to:
my formatted text is (leading whitespaces before Bank, BLZ, Konto and
Empf�nger)
��� Bank:������������������������������������� XXXXX
��� BLZ:��������������������������������������� XXXXX
��� Konto:������������������������������������ XXXXX
��� Empf�nger:��������������������������� XXXXX
Gutschriften �berweisen wir auf die uns seinerzeit mitgeteilte
Bankverbindung. Sofern sich diese
ge�ndert haben sollte, bitten wir zur Vermeidung von Fehlbuchungen um
Bekanntgabe.
the value in my xml-tag is:
<abrechnungsfreitext isMonospace="false" text="���
Bank:������������������ XXXXX
��� BLZ:�������������������
XXXXX
��� Konto:����������������� XXXXX
���
Empf�nger:������������� XXXXX

Gutschriften �berweisen wir
auf die uns seinerzeit mitgeteilte Bankverbindung. Sofern sich diese
ge�ndert haben sollte, bitten wir zur Vermeidung von Fehlbuchungen um
Bekanntgabe." />
i tried several combinations of white-space-collapse,
white-space-treatment and linefeed-treatment. For example when using
1. white-space-collapse=false, linefeed-treatment=preserve,
white-space-treatment=*preserve *or *ignore-if-before-linefeed*
��� => The text "Gutschriften �berweisen ...." gets wrapped at
"diese" and a leading whitespace is added to the following line so it
looks like this:
���
��� Gutschriften �berweisen wir auf die uns seinerzeit mitgeteilte
Bankverbindung. Sofern sich diese
���� ge�ndert haben sollte, bitten wir zur Vermeidung von
Fehlbuchungen um Bekanntgabe.
2. white-space-collapse=false, linefeed-treatment=preserve,
white-space-treatment=*ignore-if-after-linefeed* or
*ignore-if-surrounding-linefeed*
��� => The leading whitespaces before "Bank", "BLZ" etc. are beeing
ignored so the text is printed this way;
���
��� Bank:������������������������������������� XXXXX
��� BLZ:��������������������������������������� XXXXX
��� Konto:������������������������������������ XXXXX
��� Empf�nger:��������������������������� XXXXX
��� Gutschriften �berweisen wir auf die uns seinerzeit mitgeteilte
Bankverbindung. Sofern sich diese
��� ge�ndert haben sollte, bitten wir zur Vermeidung von
Fehlbuchungen um Bekanntgabe.
Is there a way to prevent FOP from deleting the inserted whitespaces
before "Bank", and inserting a whitespace when performing an
automatic linebreak??
I hope you get my point and can help me.
Thx
Michael Seeberger
*Michael Rubin*
Developer
Thunderhead Logo Tagline Triangles
*T*
*F*
*M*
*E*
*W*
+44 20 8238 7400
+44 20 8238 7401
[email protected] <mailto:[email protected]>
www.thunderhead.com <http://www.thunderhead.com>
Thunderhead featured in The Sunday Times Profit Track 100 league table
of companies with fastest-growing profits. Click here
<http://www.fasttrack.co.uk/fasttrack/press/pt11-lon.pdf> to read more.
LinkedIn <http://www.linkedin.com/companies/25033/Thunderhead> twitter
<http://twitter.com/Thunderheadon>RSS
<http://www.thunderhead.com/rss/rss.php>YouTube
<http://www.youtube.com/user/ThunderheadOn><http://thunderheadinnovate.wordpress.com/>
were-hiring <http://thunderhead.com/about/careers.php>
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the
named addressee or an authorized designee, you may not copy or use it,
or disclose it to anyone else. If you received it in error please
notify us immediately and then destroy it.
--
iSYS Software GmbH
Michael Seeberger | Softwareentwickler
+++ Achtung: Wir ziehen am 20.05.2011 um +++
Unsere neue Anschrift:
Grillparzerstr. 10
81675 München
Tel. +49 (0) 89 462328-0
Fax +49 (0) 89 462328-14
Tel: +49 (0) 89 46 23 28-0 | Fax (0) 89 46 23 28-14
email: [email protected]
Lucile-Grahn-Str. 37 | D-81675 Muenchen
www.isys-software.de
Sitz der Gesellschaft: München | HRB 111760
Geschaeftsfuehrer: Prof. Dr. Peter Mandl und Michael Sailer