hello, i have a couple questions about formatting with aspose.word (and html <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
the first question is about the latest version of aspose compared to an
older version i worked with.
Report-old.doc is a document i created with a version of aspose from
10/29/2004. i took lots of time making the spacing, and formatting be
exactly what i wanted. Report-latest.doc is a document created with the
exact same code, but with the latest version of aspose installed. it is
quite different. with the most obvious difference being the line spacing.
did something change on purpose in the new version? (how write() and
writeln() are handled?) or have i found some sort of bug? is there any way
i can get my report to look like it did with the old version without going
back to all 65 controls (each "chart" or "paragraph" is a seperate control)
and reformatting them to look like i want with the new version of aspose?
(and should i expect to have to reformat my reports each time i upgrade to a
new version of aspose?)
the second question is about doc formatting comapred to html and pdf.
Report-latest.doc, Report-latest.htm and Report-latest.pdf are all reports
generated with the same code, with only the destination format changing.
Report-latest.doc is what i want the report to look like. (apart from the line spacing problems i mentioned in the first question) Report-latest.htm is quite different. the most glaring differences being the lack of cell shading in the tables, and the fact that the table cell widths aren't correct. look at the charts in the "California Standards Tests (CST)"
section. you can see that the columns don't like up well at all. i
formatted the cells in the .doc file by setting the widths in pixels. some are down to hundredths of pixels. ie:
builder.CellFormat.Width = 1.28 * 72;
and i set the shading for the cells like this:
builder.CellFormat.Shading.Texture = TextureIndex.Texture25Percent;
is there something about the methods i'm using that would make the html charts not line up? and make the table cell shading not show up in html?
Report-latest.pdf is also different. the most obvious, again, being the shading. the columns in the tables seem to align correctly for the pdf version.
if you know of something i can do to get the reports to look the same (i know they won't be exact, but they have to be closer than they are now)
please let me know.