Interface allowing users of supported input types to monitor/handle unsatisfied media requests. For input interfaces that support this feature, use setMediaHandler() to install subclasses of this type.
More...
#include <jawsmako/jawsmako.h>
|
| virtual | ~IMediaHandler ()=default |
| virtual void | sizeRequest (const PValue &size, double &pageWidth, double &pageHeight)=0 |
| | Invoked by the input when the media size is unknown.
|
Interface allowing users of supported input types to monitor/handle unsatisfied media requests. For input interfaces that support this feature, use setMediaHandler() to install subclasses of this type.
◆ ~IMediaHandler()
| virtual JawsMako::IMediaHandler::~IMediaHandler |
( |
| ) |
|
|
virtualdefault |
◆ sizeRequest()
| virtual void JawsMako::IMediaHandler::sizeRequest |
( |
const PValue & | size, |
|
|
double & | pageWidth, |
|
|
double & | pageHeight ) |
|
pure virtual |
Invoked by the input when the media size is unknown.
- Parameters
-
| size | The requested media size, which may be an integer or a string. |
| pageWidth | The default width that will be set for the requested media size. Users may set this value to override the default page width. |
| pageHeight | The default height that will be set for the requested media size. Users may set this value to override the default page height. |
The documentation for this class was generated from the following file: