Placeholder

Customer Forum

custom multi line fields adding extra blank line on pdf

Brian Posted: 2020-02-25 21:07

When I set up a new custom multi line field under Configuration - PDF Templates - Default Settings, and add the following code to the unified.xsl file, the pdf generated adds an extra blank line above the address field, despite it not being in the default setting!

This produces:

Burton Department

Burton Address1
Burton Address2
Postcode
Telephone

However nothing I do seems to be able to remove the extra blank line between Department and Address1!

I am using exacting the same code as the predefined code for third party address in the unified.xsl

HELP!

Brian Posted: Tue, 25.02.2020 - 21:10

all the coding disappeared!

ORIGINAL CODE:

MY CODE - GENERATING ERROR:

Brian Posted: Tue, 25.02.2020 - 21:11

not sure how to post xsl code!!!

Brian Posted: Tue, 25.02.2020 - 21:13

Brian Posted: Tue, 25.02.2020 - 21:14

Brian Posted: Tue, 25.02.2020 - 21:15

I've remove all the code start and ends!

fo:block font-weight="bold" font-size="6pt"
fo:inline
xsl:value-of select = "/hash/text/Burton_Department"/
/fo:inline
/fo:block
fo:block white-space-collapse="true" linefeed-treatment="preserve"
xsl:value-of select = "/hash/text/Burton_Address"/
/fo:block
fo:block font-weight="bold"
fo:inline
xsl:value-of select = "/hash/text/Burton_Telephone"/
/fo:inline
/fo:block

Gavin (Workbooks Online) Posted: Thu, 27.02.2020 - 09:52

Hi Brian, 

 

Thank you for comments. 

 

I believe we have resolved this query in our Support ticket CASE-66935.

 

Kind Regards,

 

Workbooks Support