Package parasol :: Module Word_wrapper :: Class WordWrap
[hide private]
[frames] | no frames]

Class WordWrap

source code

Wrapper around Word documents to make them easy to build. Has variables for the Applications, Document and Selection; most methods add things at the end of the document

Instance Methods [hide private]
 
__init__(self, templatefile=None) source code
 
show(self) source code
 
showFastView(self) source code
 
setFastOptions(self) source code
 
saveAs(self, filename) source code
 
Quit(self) source code
 
abandonWord(self) source code
 
printout(self) source code
 
changeStartSelection(self, NChar=-1)
changes selection by NChar characters at Start
source code
 
changeEndSelection(self, NChar=-1)
changes selection by NChar characters at End
source code
 
selectEnd(self) source code
 
addText(self, text) source code
 
addSelectedText(self, text) source code
 
getStyleList(self) source code
 
addStyledPara(self, text, stylename) source code
 
addTable(self, tableList, styleid=None, Range=None, fullWidth=0) source code
 
createTableStyle(self, name='myStyle', font='Arial', color='', bgcolor='', size=14, borders=1, bold=0, keepTogether=1) source code
 
addCellText(self, Table=None, row=1, col=1, text='') source code
 
setAllTableCellStyle(self, Table=None, StyleName=None) source code
 
setCellStyle(self, Table=None, row=1, col=1, text='', StyleName='', fontName='', fontSize=0, just='', bold=None, color='', bgcolor='', width=0) source code
 
mergeRow(self, Table=None, NRow=1) source code
 
addInlineExcelChart(self, filename, caption='', height=216, width=432) source code
 
addImage(self, filename, Range=None, fracPage=0.5) source code
 
selectParagraph(self, N=1) source code
 
selectSentence(self, N=1) source code
 
selectWord(self, N=1) source code
 
selectCharacter(self, N=1) source code