5#ifndef JAWSMAKO_XPSOUTPUT_H
6#define JAWSMAKO_XPSOUTPUT_H
305 #define obj2IXPSOutput(obj) IXPSOutputPtr(dynamic_cast<IXPSOutput *>((IRCObject *) obj), true)
326 #define obj2IOXPSOutput(obj) IOXPSOutputPtr(dynamic_cast<IOXPSOutput *>((IRCObject *) obj), true)
eDownsamplingMethod
The type of downsampling to be performed.
Definition idomimageresource.h:1937
@ eBicubic
Definition idomimageresource.h:1940
@ eSubsample
Definition idomimageresource.h:1938
Interface for the OpenXPS IOutput class.
Definition xpsoutput.h:313
static JAWSMAKO_API IXPSOutputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create an OpenXPS Output instance.
virtual ~IOXPSOutput()
Definition xpsoutput.h:315
Abstract output sink that can output DOM to a file or stream in a given output format.
Definition jawsmako.h:600
Interface for the XPS IOutput class.
Definition xpsoutput.h:32
static JAWSMAKO_API IXPSOutputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create an XPS Output instance.
virtual void setPreferredGrayImageFormat(IImageEncoderTransform::eEncodeFormat format)=0
Set the desired image format for gray images that need to be re-encoded for XPS output....
virtual void setRenderResolution(uint32 resolution)=0
Set the resolution to use if page content requires rendering in order to be output as XPS....
virtual void applyEncoderTransform(const IImageEncoderTransformPtr &transform)=0
Apply the given image encoder transform to the contents before writing to XPS. This supersedes the im...
virtual void setSubsetFonts(bool subset)=0
Set whether fonts should be subset in the output.
virtual void setCopyExistingXPSPartsWherePossible(bool copy)=0
Set whether entire XPS parts should be copied from the original assembly source when writing that ass...
virtual void applyColorConverterTransform(const IColorConverterTransformPtr &transform)=0
Apply the given color converter transform to the contents before writing to XPS. This supersedes the ...
virtual void setColorImageMaxResolution(float resolution, float threshold=0.0f, IDOMImageDownsamplerFilter::eDownsamplingMethod method=IDOMImageDownsamplerFilter::eBicubic)=0
Set the desired maximum resolution, threshold and downsampling method for color images.
virtual void setPreferredColorImageFormat(IImageEncoderTransform::eEncodeFormat format)=0
Set the desired image format for color images that need to be re-encoded for XPS output....
virtual void setJPEGQuality(uint8 quality)=0
Set the JPEG quality to use when encoding images in JPEG format. Equivalent to calling setParameter()...
virtual void setMonoImageMaxResolution(float resolution, float threshold=0.0f, IDOMImageDownsamplerFilter::eDownsamplingMethod method=IDOMImageDownsamplerFilter::eSubsample)=0
Set the desired maximum resolution, threshold and downsampling method for monochrome images.
virtual void setMergeFonts(bool merge)=0
Set whether an attempt will be made to merge disparate subsets of a font into a single font.
virtual void setTargetColorSpace(const IDOMColorSpacePtr &targetSpace)=0
Set the target color space for the output. The default behaviour is to, where possible,...
virtual void setPreferredMonoImageFormat(IImageEncoderTransform::eEncodeFormat format)=0
Set the desired image format for monochrome images that need to be re-encoded for XPS output....
virtual void setMergeImages(bool merge=true)=0
Set if the XPS output should attempt to merge adjacent images. Equivalent to calling setParameter wit...
virtual void setAlwaysUseVisualBrushesForMaskedBrushes(bool useVisual)=0
Set whether to use equivalent XPS Visual brushes for certain types of IDOMMaskedBrush brushes to work...
virtual void applyRendererTransform(const IRendererTransformPtr &transform)=0
Apply the given renderer transform to the contents before writing to XPS. This supersedes the target ...
virtual void setTargetProfile(const IDOMICCProfilePtr &profile)=0
Set the target color space for the output using an ICC profile. The default behaviour is to,...
virtual void setRenameFonts(bool rename=true)=0
Set if the XPS output should rename fonts to aid with problematic print environments.
virtual ~IXPSOutput()
Definition xpsoutput.h:34
virtual void setGrayImageMaxResolution(float resolution, float threshold=0.0f, IDOMImageDownsamplerFilter::eDownsamplingMethod method=IDOMImageDownsamplerFilter::eBicubic)=0
Set the desired maximum resolution, threshold and downsampling method for gray images.
unsigned int uint32
Definition edltypes.h:34
unsigned char uint8
Definition edltypes.h:32
Definition apexcustompostprocess.h:17
EDL::IProgressMonitorPtr IProgressMonitorPtr
Definition types.h:85
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211
#define JAWSMAKO_API
Definition types.h:29