Hi Dmitry,
The PropertyValue::Value member is of type Any. So on the COM side of
the bridge it should be represented by a Variant.
There is an example of Atomation-bridge usage in
extensions/source/activex/main/SOActiveX.cpp, although it uses pure
Automation bridge.
Regards,
Mikhail.
Dmitry Teslenko wrote:
Hello!
I'm programming OO through COM/Automation interface and noticed
strange strange thing:
I can't set PropertyValue value to bool value.
It appears when I'm trying to open document as template. There's
XComponentLoader::loadComponentFromURL method that takes sequence of
PropertyValues as one of its arguments. It property reacts to
PropertyValues with string values (DocumentTitle, for example) and
ignores PropertyValues with boolean values (AsTemplate, ReadOnly,
etc.)
Although I can call methods that take bool parameters such as
XMergeable::merge(bool)
Is there any special bools for COM/Automation bridge? Maybe some
constructor for them?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]