IPWorks ZIP 2020 Python Edition

Questions / Feedback?

on_eval_entity Event

Fired every time an entity needs to be evaluated.


class OfficeDocEvalEntityEventParams(object):
  def entity() -> str: ...
  def value() -> str: ...
  def value(value) -> None: ...

# In class OfficeDoc:
def on_eval_entity() -> Callable[[OfficeDocEvalEntityEventParams], None]: ...
def on_eval_entity(event_hook: Callable[[OfficeDocEvalEntityEventParams], None]) -> None: ...


The Value parameter contains a suggested value for the entity (normally the entity name itself). You may set Value to a value of your choice, which will be later passed into the text stream.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Python Edition - Version 20.0 [Build 7720]