2

HTML で見栄えのするレポートを作成しようとしています。画像とそれらの画像のテキストが重なっている場合、FastReport でレポートを HTML に変換すると、すべての画像が他のオブジェクトと重ならないように移動するという問題があります。

問題は、レポート内で Css/JScrip を編集して、画像を希望どおりに表示する方法はありますか? 追加のように:

img
{
margin-right:-1px;
}

また

.test
{
margin-right:-1px;
}

<img class='test'>

しかし、それらを手動で編集することはできません。可能であれば、関数、イベント、または可能な方法で、それを行うには高速レポートが必要です。

ありがとうございました。

これは私が高速レポートから得たものです:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name=Generator content="FastReport 4.0 http://fast-report.com">

<title>100</title>
<style type="text/css"><!-- 
.page_break {page-break-before: always;}
.s0 {
 font-family: Arial;
 font-size: 13px;
 color: #000000; font-style: normal;
 background-color: #FFFFFF;
 text-align: Left; vertical-align: Top;
}
--></style>
</head>
<body
 bgcolor="#FFFFFF" text="#000000">

<a name="PageN1"></a>
<table width="798" border="1" cellspacing="0" cellpadding="0">
<tr style="height: 1px"><td width="359"/><td width="2"/><td width="437"/></tr>
<tr style="height:161px">
<td class="s0" style="font-size:1px"><img src="http://i44.tinypic.com/29kqot1.jpg" width="805" height="571" alt=""></td>
</tr>

<tr style="height:251px">
<td  class="s1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat</td>
</tr>

</table>
</body></html>

画像の上にテキストを入れたいのですが、できません。Fast Report ですべて試しました。Divide The Images に関連付けましたが、問題は HTML の画像間に 1px のスペースがあることです。そのため、Margin-right: -1px が必要ですが、それを実行できません。

4

1 に答える 1

2

一部のユーザーがこの問題に遭遇した場合に備えて、HTMLExport のソースを高速レポートから変更しました。

于 2013-05-07T09:28:01.233 に答える