Bug in cellpadding function? Cellpadding in word tables doesn't work. #10
Comments
Hi.
|
Thanks in advance! kind regards, |
It's corrected (paddings were not translated in EMUs as expected by Office). Below a code I am using (some FlexTable arguments have changed a little to let body and header/footers be formatted differently). You can modify parProp to see padding effects on paragraphs (the cell[1,1] of the FlexTable). David
|
Hi David, Thanks! Do I understand you changed the parProperties function (in which case need to update the library)? I will check it out. KInd regards, |
Hi, Yes, update your package with the following command:
Also, note that FlexTable arguments have changed: cell_format, par_format, text_format have been dropped and replaced by arguments body.cell.props, body.par.props, body.text.props, header.cell.props, header.par.props, header.text.props David |
Hi David, One final question. Do I understand my old code doesn't work anymore? Or did you just add new functions wihout removing the old ones? Kind regards, |
Yes, you have to rename arguments in your function calls. Formatting properties arguments have been renamed in FlexRow, FlexTable, FlexCell, etc. Below a "translation" of your code and then 2 suggestions to reduce the code:
David |
And again, I thank you so much!! You are very helpful. I hope the ReporteRs package will get many users. It really is a very useful package. I will keep on spreading the word :-) Kind regards, |
Thanks! |
Hi David, I am not sure what's going wrong, but the installment of your update didn't succeed. Maybe it's my machine that causes the problem. Or shall I wait till your update is on CRAN? Kind regards, This the error: *** arch - i386
|
Hi Do you have Rtools installed? It is required to compile the souces of the package. If you just want the Windows binaries, go to the new release page: David |
Thanks! I got it running now. kind regards, |
I left it as a question on stackoverflow, but perhaps I am dealing with a bug here.
Here's the stackoverflow topic :http://stackoverflow.com/questions/23434035/r-package-reporters-how-to-let-it-show-cell-padding-in-generated-docx-document
many thanks in advance!
The text was updated successfully, but these errors were encountered: