> How do I create a COM server that emulates the COM interface of MS
> Word? Specifically, returning this 'Documents' collection in what ever
> is the proper form.
That is a very tough question - I doubt many people are familiar enough with
the implementation details of Word to know for sure.
> M
>> If I can get an understanding of how these collections work on the
>> Python side vs the COM side, I'll be make some progress.
>
> So what is you question?
How do I create a COM server that emulates the COM interface of MS
Word? Specifically, returning this 'Documents' collection in what ever
i
> With both the actual(MS Word) and simulated(my COM server)
> configurations, I am returned a generic COM object when trying to use
> the 'Documents' object.
>
> >>> w = Dispatch("Word.Application.8")
> >>> d = w.Documents
> >>> d
> >
>
> I think this relates to being late-bound. Anyway, whereas
ED] [mailto:python-win32-
>> [EMAIL PROTECTED] On Behalf Of jeff sacksteder
>> Sent: Thursday, 3 July 2008 12:56 AM
>> To: python-win32@python.org
>> Subject: [python-win32] Implementing Collections / Shim-ing Word
>>
>> I have a legacy application that uses
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-win32-
> [EMAIL PROTECTED] On Behalf Of jeff sacksteder
> Sent: Thursday, 3 July 2008 12:56 AM
> To: python-win32@python.org
> Subject: [python-win32] Implementing Collections / Shim-ing Word
>
> I have
jeff sacksteder wrote:
Well, COM objects don't have members (externally). Everything is a
function.
If everything is a function, what's _public_attrs_ for?
I suppose it's really a matter of semantics more than a useful
distinction. _public_attrs_ creates what COM calls a "property"
jeff sacksteder wrote:
I have a legacy application that uses Word as printing engine for
standardized forms via COM. I'm trying to develop a thin COM server
shim that implements the minimum required to intercept those requests
and routes them to another application(likely OOo). I had hoped that
t
I have a legacy application that uses Word as printing engine for
standardized forms via COM. I'm trying to develop a thin COM server
shim that implements the minimum required to intercept those requests
and routes them to another application(likely OOo). I had hoped that
the free Word doc viewer i