You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/12/22 12:33:00 UTC
[jira] [Commented] (VELOCITY-950) Skipping empty lines
[ https://issues.apache.org/jira/browse/VELOCITY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463779#comment-17463779 ]
Michael Osipov commented on VELOCITY-950:
-----------------------------------------
Your request is confusing me?! PDF is a binary format. Velocity produces text formats. Please explain.
> Skipping empty lines
> --------------------
>
> Key: VELOCITY-950
> URL: https://issues.apache.org/jira/browse/VELOCITY-950
> Project: Velocity
> Issue Type: Wish
> Components: Engine
> Affects Versions: 1.7.x
> Reporter: Ivan Galkin
> Priority: Major
> Fix For: 1.7.x
>
>
> 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-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org