ooodev.adapter.awt.font_mapping_use_partial module

class ooodev.adapter.awt.font_mapping_use_partial.FontMappingUsePartial(component, interface=com.sun.star.awt.XFontMappingUse)[source]

Bases: object

Partial class for XFontMappingUse.

Since LibreOffice 7.3

Parameters:
  • component (XFontMappingUse) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.awt.XFontMappingUse)[source]

Constructor

Parameters:
  • component (XFontMappingUse) – UNO Component that implements com.sun.star.awt.XFontMappingUse interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XFontMappingUse.

Return type:

None

finish_tracking_font_mapping_use()[source]

Stop tracking of how requested fonts are mapped to available fonts and return the mappings that took place since the call to start_tracking_font_mapping_use().

Since LibreOffice 7.3

Return type:

Tuple[XFontMappingUseItem, ...]

start_tracking_font_mapping_use()[source]

Activate tracking of how requested fonts are mapped to available fonts.

Since LibreOffice 7.3

Return type:

None