I've solved my proglem On Fri, Feb 29, 2008 at 5:34 PM, Dmitry Teslenko <[EMAIL PROTECTED]> 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? >
This helps: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/Value_Objects Strange thing is what sometimes it works w/o bridge value objects and sometimes not. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
