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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
|
|
|
|
|
|
addInlineExcelChart(self,
filename,
caption='',
height=216,
width=432) |
source code
|
|
|
|
| addImage(self,
filename,
Range=None,
fracPage=0.5) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|