Joseph -- not igoring this thread.

Joseph Lamoree wrote:
Thanks Alan. Using version 1.38 of the plugin fixes the argument count mismatch.

However, it doesn't function as expected, and I'm not sure why.
Consider the following:

hf = structNew();
hf.bold = "true";
ss = spreadsheetNew("subscribers", false);
spreadsheetFormatRow(ss, hf, 1);
spreadsheetAddRow(ss, "Name,Address", 1, 1);
//spreadsheetAddRows(ss, data, 2, 1);
f = getTempFile(getTempDirectory(), "subscribers");
spreadsheetWrite(ss, f, true);

If I uncomment the spreadsheetAddRows() line, it throws an exception
with a null message/detail. If I leave it commented out, the
spreadsheet file is created, but the formatting is not applied.

If I comment out the spreadsheetFormatRow() line and uncomment the
spreadsheetAddRows(), the file is generated as it should with all the
rows.

I tried changing the order of the formatting (before and after the
rows were added). That didn't seem to make a difference.

I didn't get deep into the plugin Java code to see what's going on.
Before I do, should the task I'm attempting work? If this feature
isn't implemented yet, I'll just check back later.

Thanks again.

-joseph


--
aw2.0
  http://www.aw20.co.uk/

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to