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.h>
Public Member Functions | |
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.
|
pure virtual |
Invoked by the input when the media size is unknown.
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. |