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$fontType='bold' StyleDefs$ArialLeftBold$fontColor='#000000' StyleDefs$ArialNormalRight$parentStyleName='' StyleDefs$ArialNormalRight$type='Paragraph' StyleDefs$ArialNormalRight$textAlign='end' StyleDefs$ArialNormalRight$fontName='Arial' StyleDefs$ArialNormalRight$fontSize='12pt' StyleDefs$ArialNormalRight$fontType='italic' StyleDefs$ArialNormalRight$fontColor='#000000' #StyleDefs$ArialItalic = StyleDefs$ArialNormal #StyleDefs$ArialItalic$fontType='italic' setStyleDefs(StyleDefs) The ArialNormalRight definition isn't working, though the ArialLeftBold is. Could someone help? Looking at the code, odfWeave uses functions readXML and addStyleDefs, which I cannot find. How should I go about finding these? Abhijit Dasgupta, Ph.D. Assistant Professor | Division of Biostatistics Department of Pharmacology and Experimental Therapeutics | Thomas Jefferson University 1015 Chestnut St | Suite M100 | Philadelphia, PA 19107 Ph: (215) 503-9201 | Fax: (215) 503-3804 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.