Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513401
By: anchavesb
Hi,
I have a html decorator that inserts an extra row before the row that Displaytag
is processsing. The extra row is added in the startRow method of the decorator.
I want to do the same in an excel decorator but I noticed that the row is passed
only in the FinishRow method. From the HssfTableWriter class:
protected void writeDecoratedRowFinish(TableModel model) throws Exception
{
TableDecorator decorator = model.getTableDecorator();
if (decorator instanceof DecoratesHssf)
{
DecoratesHssf hdecorator = (DecoratesHssf) decorator;
hdecorator.setSheet(this.sheet);
}
decorator.finishRow();
this.rowNum = this.sheet.getLastRowNum();
this.rowNum++;
}
Would be there a problem if I modify the code and call the setSheet routine
in the writeDecoratedRowStart method?
Thanks in advance,
Andrés Chaves
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user