[ 
https://issues.apache.org/jira/browse/VELOCITY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463915#comment-17463915
 ] 

Ivan Galkin commented on VELOCITY-950:
--------------------------------------

We use xdocreport for generation of docx report. In the report we use velocity 
functional. So one report includes some functions (like if...) and the other 
one generates with the values of these functions. And the problem is that I 
explained above

> Skipping empty lines
> --------------------
>
>                 Key: VELOCITY-950
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-950
>             Project: Velocity
>          Issue Type: Wish
>          Components: Engine
>            Reporter: Ivan Galkin
>            Priority: Major
>
> I need to convert text from Word to PDF using "if" (or others) construction 
> of Velocity. I need to get rid of empty lines.
> Example:
> In Word it looks like: 
> «#if(xxx == "true)»1«#end»
> «#if(yyy == "true)»1«#end»
> «#if(zzz == "true)»1«#end»
> If yyy == false, xxx and zzz are true in PDF we will get:
> 1
>  
> 1
> But I need get it without an empty line somehow:
> 1
> 1
> Is it possible to do it with such functionality?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to