ooodev.format.inner.direct.write.frame.hyperlink.image_map_options module
- class ooodev.format.inner.direct.write.frame.hyperlink.image_map_options.ImageMapOptions(*, server_map=False)[source]
Bases:
StyleBase
Image Map Options
New in version 0.9.0.
- __init__(*, server_map=False)[source]
Constructor
- Parameters:
server_map (str, optional) – Server side image map. Defaults to
False
.- Return type:
None
- apply(obj: Any)[source]
- apply(obj: Any, **kwargs)
- apply(obj, **kwargs)
Applies padding to
obj
- Parameters:
obj (Any) – UNO object that supports
com.sun.star.style.CharacterProperties
service.kwargs (Any, optional) – Expandable list of key value pairs that may be used in child classes.
- Return type:
None
- classmethod from_obj(obj)[source]
- classmethod from_obj(obj, **kwargs)
- classmethod from_obj(obj, **kwargs)
Gets Image Map info instance from object.
- Parameters:
obj (object) – UNO object.
- Raises:
NotSupportedError – If
obj
is not supported.- Returns:
Instance that represents
obj
Image map options.- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_server_map: bool
Gets/Sets server side
- Return type:
bool