Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

exception NameClashResolveRequest
Base Hierarchy
NameClashResolveRequest
 ┗ ::com::sun::star::task::ClassifiedInteractionRequest
    ┗ ::com::sun::star::uno::Exception
Description
This request is used to indicate a name clash.

For example, when copying a file there migth be another file in the target folder that has the same file name as the source file.

If this exception is passed to an ::com::sun::star::task::XInteractionHandler an XInteractionSupplyName and an XInteractionReplaceExistingData should be supplied with the ::com::sun::star::task::XInteractionRequest. On return the XInteractionSupplyName, if selected, will contain a new name supposed to resolve the name clash. The XInteractionReplaceExistingData will be selected if the clashing resource shall be overwritten.


Elements' Summary
TargetFolderURL contains the URL of the folder that contains the clashing resource.  
ClashingName contains the clashing name.  
ProposedNewName contains a proposal for a new new, non-clashing name.  
Elements' Details
TargetFolderURL
string TargetFolderURL;
Description
contains the URL of the folder that contains the clashing resource.
ClashingName
string ClashingName;
Description
contains the clashing name.
ProposedNewName
string ProposedNewName;
Description
contains a proposal for a new new, non-clashing name.

This field may be left empty if the implementation is not able to suggest a new name.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.