lotus notes - Change background color of richtexttablecell -
i change backgroundcolor of richtexttablecell, try solve problem lotusscript, there isn't method or attribute in lotus script. looks possible solve c api.
can me?
use notesdxlexporter
, notesdxlimporter
:
- export document dxl,
- replace table properties in dxl ,
- import document.
make sure use notesdxlexporter.richtextoption=0
.
this example table background colors in dxl format:
<item name='body'> <richtext> <pardef id='1' /> <par def='1' /> <table widthtype='fixedleft' refwidth='2.1493in'> <tablecolumn width='1.0667in' /> <tablecolumn width='1.0826in' /> <tablerow> <tablecell bgcolor='blue'> <pardef id='3' keepwithnext='true' keeptogether='true' /> <par def='3' /> </tablecell> <tablecell bgcolor='red'> <pardef id='4' keepwithnext='true' keeptogether='true' /> <par def='4' /> </tablecell> </tablerow> <tablerow> <tablecell bgcolor='yellow'> <par def='3' /> </tablecell> <tablecell> <par def='4' /> </tablecell> </tablerow> </table> <par def='1' /> </richtext> </item>
it should easy replace bgcolor properties in dxl.
you can find code snippet dxl-export here.
Comments
Post a Comment