Changeset 333
- Timestamp:
- 06/06/08 10:59:27 (3 months ago)
- Files:
-
- projects/MyPoint/src/pdfslidereporter.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/MyPoint/src/pdfslidereporter.cpp
r332 r333 279 279 280 280 QTextDocument tableDoc; 281 tableDoc.setDefaultStyleSheet(" p, li { white-space: pre-wrap; }");281 tableDoc.setDefaultStyleSheet("table { border-style: solid; border-color: black; }"); 282 282 tableDoc.setHtml( printTable(block) ); 283 283 … … 452 452 if( !block->table().isEmpty() ) 453 453 { 454 table += "<table >";454 table += "<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" WIDTH=\"100%\">"; 455 455 foreach( QStringList line, block->table() ) 456 456 { 457 457 table += "<tr>"; 458 458 foreach( QString cell, line ) 459 table += "<td >" + SimpleParser::formatWikiText( cell ) + "</td>";459 table += "<td align=\"center\" valign=\"middle\">" + SimpleParser::formatWikiText( cell ) + "</td>"; 460 460 table += "</tr>"; 461 461 }
