[pywin32-bugs] [ pywin32-Bugs-962094 ] Word9 unit conversion functions fail
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-05-28 09:09:43
|
Bugs item #962094, was opened at 2004-05-28 11:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=962094&group_id=78018 Category: com Group: None Status: Open Resolution: None Priority: 5 Submitted By: Malte Forkel (mforkel) Assigned to: Nobody/Anonymous (nobody) Summary: Word9 unit conversion functions fail Initial Comment: The unit conversions functions of Word9 fail with an exception. Here is an example using CentimetersToPoint: >>> app.CentimetersToPoints <bound method _Application.CentimetersToPoints of <win32com.gen_py.Microsoft Word 9.0 Object Library._Application instance at 0x20221704>> >>> app.CentimetersToPoints(1.0) Traceback (most recent call last): File "<interactive input>", line 1, in ? File "win32com\gen_py\00020905-0000-0000-C000- 000000000046x0x8x1.py", line 14423, in CentimetersToPoints return self._oleobj_.InvokeTypes(371, LCID, 1, (4, 0), ((4, 1),),Centimeters) com_error: (-2147467259, 'Unbekannter Fehler', None, None) A workaround for this problem was suggested some time ago (http://groups.google.de/groups?hl=de&lr=&ie=UTF- 8&threadm=35D6EBE5.511C5430% 40appliedbiometrics.com&rnum=2&prev=/groups) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=962094&group_id=78018 |