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:
SimpleFileAccess2Partial
Partial 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.XSimpleFileAccess3
interface.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 –
CommandAbortedException
com.sun.star.uno.Exception –
Exception
- Return type:
bool
- Parameters:
file_url (str) –
Sets the
hidden
of 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 –
CommandAbortedException
com.sun.star.uno.Exception –
Exception
- Return type:
None
- Parameters:
file_url (str) –
hidden (bool) –