Groups
Groups
Sign in
Groups
Groups
excella
Conversations
About
Send feedback
Help
列の削除について
898 views
Skip to first unread message
タナカ
unread,
Dec 7, 2010, 11:28:53 PM
12/7/10
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 excella
たびたび失礼します。
タナカです。
先日はありがとうございました。
今回また質問がございます。
列の追加や削除を行なうことはできますか?
よろしくお願いします。
横井@bbreak
unread,
Dec 7, 2010, 11:41:22 PM
12/7/10
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 excella
横井です。
$Cもしくは$BCを使う事で列方向へのデータの展開が可能です。
利用方法はそれぞれ$R、$BRと同様です。
削除についてはタグでは対応していません。
以上、よろしくお願いします。
タナカ
unread,
Dec 8, 2010, 12:19:00 AM
12/8/10
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 excella
早速のご連絡ありがとうございました。
業務の要件に応じて、展開される列を変えたいと考えています。
タグ上では削除ができないという事なので
その場合、Excelファイルを生成した後で、列の削除をpoiなどを使って行うということになるのでしょうか??
> > よろしくお願いします。- 引用テキストを表示しない -
>
> - 引用テキストを表示 -
AMD
unread,
Dec 8, 2010, 5:06:39 AM
12/8/10
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 excella
横井です。
> 業務の要件に応じて、展開される列を変えたいと考えています。
> タグ上では削除ができないという事なので
> その場合、Excelファイルを生成した後で、列の削除をpoiなどを使って行うということになるのでしょうか??
そうですね。
ReportProcessListenerを使ってPOIのAPIで削除する形になります。
以上、よろしくお願いします。
seki
unread,
Dec 8, 2010, 9:32:00 PM
12/8/10
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 excella
関と申します。いつもお世話になっております。
ちょっと気になりましたので、横から失礼します。
タグでは列の削除ができないとのことですが、
$REMOVE{column}
で削除できるかと思います。
また、$REMOVEタグは通常の$タグ(SingleParamParser)より後に実行されるので、
それを応用することで、要件に応じた調整もできます。
例えば、私はExcelテンプレートに ${temp} のように適当なタグを記述しておいて、
帳票の条件上、不要となった行に対して
reportSheet.addParam(SingleParamParser.DEFAULT_TAG, "temp",
"$REMOVE{row}");
のように後から$REMOVEタグを詰めて行を削除する、といったことを時々行っています。
REMOVEタグをうまく使えば1つのテンプレートでもある程度使い回しができるので、
開発効率や保守性が高くなります。
蛇足かもしれませんが、参考までにお伝えしました。
以上です。
横井@bbreak
unread,
Dec 8, 2010, 9:38:02 PM
12/8/10
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 excella
関さん
フォローありがとうございます。
確かに・・・Removeタグ追加になっていましたね。
かなり使いこんでおられるようなので、今後ともフォローお願いします!
==
横井
タナカ
unread,
Dec 9, 2010, 1:39:26 AM
12/9/10
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 excella
関様
横井様
ご返信頂きましてありがとうございます。
なるほど、タグそのものに対してタグを埋め込んでしまえば言いわけですね!
よくわかりました。これで業務要件に応じて展開ができますね!
助かりました。お二方ともありがとうございました。
On 12月9日, 午前11:32, seki <
sqlplus7...@gmail.com
> wrote:
Reply all
Reply to author
Forward
0 new messages