search for: getstyledefs

Displaying 7 results from an estimated 7 matches for "getstyledefs".

2010 Feb 09
1
odfTable: table width and alignment
Dear R and odfWeave users, I am trying to figure out how to control table width and alignment on the page for a table generated by odfTable. Based on reading odfWeave documentation (including formattingOut.odt), here is how I manipulate the styles: st = getStyleDefs() # modify the table style tab = getStyles()$table st[[tab]]$align = "center" # seems to have no effect st[[tab]]$marginLeft = "2.0 in" # seems to have no effect setStyleDefs(st) My table always ends up fully justified (taking all page width). When I check Table...
2009 Mar 20
1
odfWeave : change of text style of output is ignored
...embedded code sections come out in the style "ttBlue" wich is Times New Roman and Blue when I open document. I would like to change this to a fixed witdth font, smaller and less blue by using style definitions in the document, but it really does not affect the output. I tried including getStyleDefs() -> styl styl$ttBlue$fontname <- "Courier" styl$ttBlue$fontSize <- "9pt" styl$ttBlue$fontColor <- "#000000" setStyleDefs(styl) at the beginning of the document, but the output is still blue, not fixed width and still 10pt. Any ideas on how to get this to...
2013 Apr 11
3
odfWeave: Some questions about potential formatting options
Hello All, Learning to use the odfWeave package. I really like the package. It has good documentation, makes some very nice looking tables, and seems to have lots of options for customizing output. There are a few things I'd like to do that don't seem to be covered in the documentation though. So I'm not sure if they're possible or not. Here's a list of some things I'd
2006 Sep 06
0
odfWeave Version 0.4.4
...f the user specified a relative path to the source file, an error occurred o Fonts contained in the style definitions are automatically registered in the ODF document. Previously, fonts that specified using setStyleDefs but were not used in the document were ignored. Now, the fonts found using getStyleDefs() at the start of odfWeave execution are added to the document. o A new function, odfTmpDir, is now used to set the path to the working directory. A new directory is created in the location of tempdir(). As always, please send any comments, suggestions or bug reports to max.kuhn at pfizer.com...
2006 Sep 06
0
odfWeave Version 0.4.4
...f the user specified a relative path to the source file, an error occurred o Fonts contained in the style definitions are automatically registered in the ODF document. Previously, fonts that specified using setStyleDefs but were not used in the document were ignored. Now, the fonts found using getStyleDefs() at the start of odfWeave execution are added to the document. o A new function, odfTmpDir, is now used to set the path to the working directory. A new directory is created in the location of tempdir(). As always, please send any comments, suggestions or bug reports to max.kuhn at pfizer.com...
2006 Dec 22
1
odfWeave problem
Hi, I'm trying to customize some formating for a table using odfWeave. I'm having some trouble getting the formatting to work. I've defined the following format defns: origStyleDefs <- getStyleDefs() StyleDefs=origStyleDefs StyleDefs$ArialLeftBold$parentStyleName='' StyleDefs$ArialLeftBold$type='Paragraph' StyleDefs$ArialLeftBold$textAlign='left' StyleDefs$ArialLeftBold$fontName='Arial' StyleDefs$ArialLeftBold$fontSize='12pt' StyleDefs$ArialLeftBold$fo...
2007 Jun 05
1
odfTable
Hello, I am using the odfWeave packages; I draw a table using the function odfTable: partCols <- gsub(?\\.?, ? ?, names(partenaires)) odfTable(partenaires, useRowNames = FALSE, colnames=partCols) it's working as I have a table in my output file. I would like to know how to change the background color for the header cells. I assuming i have to use tableStyles, but I don't understand