Sorry, I should have read the current kword.dtd, as it is now well explained. -----Original Message----- From: Thomas Zander [SMTP:zander@planescape.com] Sent: Friday, March 16, 2001 6:11 PM To: koffice-devel@max.tat.physik.uni-tuebingen.de Subject: Re: [BUG] Constant "rows" and "cols" attributes in table On Friday 16 March 2001 12:38, Nicolas Goutte wrote: > I have just noticed that when you create a table in a document, the > opening tags have a problem. > > Independently on how much columns and rows the table has, the attributes > "rows" and "cols" are always set to "1". > > The old KWord had already that bug, but as it is still in the new one, I am > writing this email. > > If for any reason, the real value cannot be computed, it would be better if > no information was given at all. If you look at the XML structure, you see that the tag rows and the tag cols is set in the frameset tag. The frameset tag is one cell in the table. So you might deduce that the attributes are per cell, and thus display the about of rows and the amount of cols 1 cell spans. No bug. You simply forgot to read the dtd... -- Thomas _______________________________________________ Koffice-devel mailing list Koffice-devel@master.kde.org http://master.kde.org/mailman/listinfo/koffice-devel _______________________________________________ Koffice-devel mailing list Koffice-devel@master.kde.org http://master.kde.org/mailman/listinfo/koffice-devel