Skip to main content

Hi there,

I am trying to write text values imported as attributes to a PDF, and want my text within the 'description' attribute to wrap when it reaches the edge of the page. I have tried to use the TextWrapper transformer, using the bounds extractor values, but no luck.

Screenshot below shows the resultant PDF from the above workbench, with title text (Site Diary) and the description as per the transformer below. I've tried adding in the PDFPageFormatter but this doesn't seem to make any difference

Any suggestions?

Many thanks

Hi @andrewskl,

The transformer TextWrapper generate list of Attributes. For example:

Text:

"O futebol, também referido como futebol de campo, futebol de onze e, controversamente, futebol associado, é um desporto de equipe jogado entre dois times de 11 jogadores cada um e um árbitro que se ocupa da correta aplicação das normas"

Using TextWrapper with Maximum Line Length:80 and it was created 4 Lists:

If you try to Expose theses Lists of Attributes before the PDFPageFormatter?

Thanks,

Danilo


Thanks @danilo_fme this seems to have worked!


Thanks @danilo_fme this seems to have worked!

Hi @andrewskl

 

I'm happy to help you :)

 


Reply