ooodev.adapter.ucb.simple_file_access3_partial module
- class ooodev.adapter.ucb.simple_file_access3_partial.SimpleFileAccess3Partial(component, interface=com.sun.star.ucb.XSimpleFileAccess3)[source]
Bases:
SimpleFileAccess2PartialPartial Class XSimpleFileAccess3.
- Parameters:
component (XSimpleFileAccess3) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.ucb.XSimpleFileAccess3)[source]
Constructor
- Parameters:
component (XSimpleFileAccess3) – UNO Component that implements
com.sun.star.ucb.XSimpleFileAccess3interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XSimpleFileAccess3.
- Return type:
None
Checks if a file is
hidden.- Raises:
com.sun.star.ucb.CommandAbortedException –
CommandAbortedExceptioncom.sun.star.uno.Exception –
Exception
- Return type:
bool- Parameters:
file_url (str) –
Sets the
hiddenof a file according to the boolean parameter, if the actual process has the right to do so and the used operation system supports this operation.- Raises:
com.sun.star.ucb.CommandAbortedException –
CommandAbortedExceptioncom.sun.star.uno.Exception –
Exception
- Return type:
None- Parameters:
file_url (str) –
hidden (bool) –