LibreOffice
LibreOffice 7.2 SDK API Reference
Public Attributes | List of all members
NameClashResolveRequest Exception Referencepublished

This request is used to indicate a name clash. More...

import"NameClashResolveRequest.idl";

Inheritance diagram for NameClashResolveRequest:
ClassifiedInteractionRequest Exception

Public Attributes

string TargetFolderURL
 contains the URL of the folder that contains the clashing resource. More...
 
string ClashingName
 contains the clashing name. More...
 
string ProposedNewName
 contains a proposal for a new, non-clashing name. More...
 
- Public Attributes inherited from ClassifiedInteractionRequest
com::sun::star::task::InteractionClassification Classification
 The classification of the request. More...
 
- Public Attributes inherited from Exception
string Message
 gives a detailed description of the reason, why the exception was thrown. More...
 
com::sun::star::uno::XInterface Context
 should contain a reference to the original, which raised the exception. More...
 

Detailed Description

This request is used to indicate a name clash.

For example, when copying a file there might 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.

Version
1.0

Member Data Documentation

◆ ClashingName

string ClashingName

contains the clashing name.

◆ ProposedNewName

string ProposedNewName

contains a proposal for a new, non-clashing name.

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

◆ TargetFolderURL

string TargetFolderURL

contains the URL of the folder that contains the clashing resource.


The documentation for this exception was generated from the following file: