Vincenzo Giuliano wrote:

> Hi ALL,
> I have a problem.
> 
> I loaded a Writer Document in this way
> 
> 
> 
> PropertyValue [] props = new PropertyValue[1];
>        props[0] = new PropertyValue();
>        props[0].Name = "OpenNewView";
>        props[0].Value = new Boolean(true);
> 
> xCompLoad.loadComponentFromURL("path_MYFILE_WRITER","_default",FrameSearchFlag.ALL,props);
>  
> 
> xCompLoad.loadComponentFromURL("path_MYFILE_WRITER","_default",FrameSearchFlag.ALL,props);
>  
> 
> 
> I expected two "New View", the document is loaded twice instead.

The definition of this parameter in the DevGuide is not unambiguous, the
current behavior is not in contradiction to it, especially because for
some situations it is the only possible one (e.g. for Writer Web). But I
agree that opening a new view to the same document would be more intuitive.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to