[python-win32] Converting HTML formatting to Microsoft Word
Mark Hammond
skippy.hammond at gmail.com
Wed Jun 15 12:51:28 CEST 2011
On 14/06/2011 6:51 PM, sharpblade wrote:
> I whipped up this function: http://pastebin.com/kaZz5dBd which should
> work, but line 22 and 23 doesn't work for some reason - all text after
> it is bold.
The last thing you do in those lines is set the range to bold -
presumably later you then insert more text right at the end of the range
- maybe word is just keeping the bold for the new text just like it
would do if you where typing (ie, IIRC, if the cursor is at the end of a
bold range, new text you type is also bold...)
Or not - just a thought :)
Mark
More information about the python-win32
mailing list