pdf-writer

how to set color in ruby pdf-writer

Hi folks. I'm using pdf-writer gem in ruby. While drawing a table, i need to set the shade_color and shade_color2 of table so that the rows get the alternate shade and shade2 colors. Can anyone tell me how to set them? Like table.shade2 = Color::RGB::Magenta But i have a hexa vaue like 989898. Now, how to use this. Any help is appr...

How to add cell-padding or cell-spacing in ruby pdf-writer

Hi folks, I have seen an ocean of options in pdf-writer Simple-Table, but it doesn't seem to have the cell-spacing and cell-padding. 1) Is it implemented, did i miss it? If so, can you plz gimme a line of code. 2) If not implemented, is there any work-around? Any help is appreciated. THanks ...