Groups
Groups
Sign in
Groups
Groups
RapidReportサポート QAフォーラム
Conversations
About
Send feedback
Help
改行コードを含む文字列が PDF 出力では改行されません
3,157 views
Skip to first unread message
幸
unread,
Nov 6, 2015, 3:05:06 AM
11/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
お世話になります。
複数行のフィールドに改行コードを含む文字列をいれてプレビュー画面 (FmPrintPreview) でみると改行されますが
PDF 出力すると改行されずに一行で表示されてしまいます。PDF でも改行するにはオプションがあるのでしょうか?
RapidReport はバージョン 4.20 を使用しています。
よろしくお願い致します。
RapidReport
unread,
Nov 6, 2015, 3:39:47 AM
11/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
伊藤です。
おそらく、改行コードが LF のみとなっているのではないかと思います。
帳票に渡す前に CRLF に変換して頂くようお願いいたします。
例えば、VBならば以下のようなコードで変換が可能です。
text = text.Replace(vbLf, vbCrLF)
幸
unread,
Nov 8, 2015, 9:41:50 PM
11/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
ありがとうございます。
ご指摘のとおり、改行コードが \n のみになっていました。
\r\n に変更すると PDF でも正常に改行されました。
Reply all
Reply to author
Forward
0 new messages