|
virtual void | setCopyExistingXPSPartsWherePossible (bool copy)=0 |
| Set whether or not entire XPS parts should be copied from the original assembly source when writing that assembly if the part remains unchanged. This is almost always faster. This defaults to true, and is set to true when using the "Preserve" preset. However, any change to configuration will cause this to be set to false in order to force reprocessing for the configuration to take effect. However this setting may be set to true after other configuration has been changed.
|
|
virtual void | setSubsetFonts (bool subset)=0 |
| Set whether fonts should be subset in the output.
|
|
virtual void | setMergeFonts (bool merge)=0 |
| Set whether or not an attempt will be made to merge disparate subsets of a font into a single font.
|
|
virtual void | setMergeImages (bool merge=true)=0 |
| Set if the XPS output should attempt to merge adjacent images. Equivalent to calling setParameter with "MergeAdjacentImages" as the parameter name. The default is true.
|
|
virtual void | setRenameFonts (bool rename=true)=0 |
| Set if the XPS output should rename fonts to aid with problematic print environments.
|
|
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 | 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.
|
|
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 | setTargetColorSpace (const IDOMColorSpacePtr &targetSpace)=0 |
| Set the target color space for the output. The default behaviour is to, where possible, leave the color space of objects unchanged. Equivalent to calling setParameter with the param name "TargetColorSpace" with appropriate values (please refer to documentation).
|
|
virtual void | setTargetProfile (const IDOMICCProfilePtr &profile)=0 |
| Set the target color space for the output using an ICC profile. The default behaviour is to, where possible, leave the color space of objects unchanged. Equivalent to calling setParameter() with the param name "TargetProfile" with the value as the path to the profile.
|
|
virtual void | applyColorConverterTransform (const IColorConverterTransformPtr &transform)=0 |
| Apply the given color converter transform to the contents before writing to XPS. This supersedes the target color space parameters described above. This allows for more advanced configuration of the color spaces of the output.
|
|
virtual void | setRenderResolution (uint32 resolution)=0 |
| Set the resolution to use if page content requires rendering in order to be output as XPS. The default is 150dpi. This is affected also by the maximum image resolution parameters. Equivalent to calling setParameter() with param name "RenderResolution" with the value as the desired resolution as value.
|
|
virtual void | applyRendererTransform (const IRendererTransformPtr &transform)=0 |
| Apply the given renderer transform to the contents before writing to XPS. This supersedes the target color space parameters described above. This allows for more advanced configuration of rendering.
|
|
virtual void | setPreferredColorImageFormat (IImageEncoderTransform::eEncodeFormat format)=0 |
| Set the desired image format for color images that need to be reencoded for XPS output. The default is eEFAuto. Note: this is advisory only and may not be honoured in all cases if the image cannot be represented in XPS in the desired form. Equivalent to calling setParameter() with the parameter name "ColorImageFormat" with appropriate values (please refer to documentation).
|
|
virtual void | setPreferredGrayImageFormat (IImageEncoderTransform::eEncodeFormat format)=0 |
| Set the desired image format for gray images that need to be reencoded for XPS output. The default is eEFAuto. Note: this is advisory only and may not be honoured in all cases if the image cannot be represented in XPS in the desired form. Equivalent to calling setParameter() with the parameter name "GrayImageFormat" with appropriate values (please refer to documentation).
|
|
virtual void | setPreferredMonoImageFormat (IImageEncoderTransform::eEncodeFormat format)=0 |
| Set the desired image format for monochrome images that need to be reencoded for XPS output. The default is eEFAuto. Note: this is advisory only and may not be honoured in all cases if the image cannot be represented in XPS in the desired form. Equivalent to calling setParameter() with the parameter name "MonoImageFormat" with appropriate values (please refer to documentation).
|
|
virtual void | setJPEGQuality (uint8 quality)=0 |
| Set the JPEG quality to use when encoding images in JPEG format. Equivalent to calling setParameter() with the parameter name "JPEGQuality" and the value being the required quality.
|
|
virtual void | applyEncoderTransform (const IImageEncoderTransformPtr &transform)=0 |
| Apply the given image encoder transform to the contents before writing to XPS. This supersedes the image encoding parameters described above. This allows for more advanced configuration of image encoding.
|
|
virtual void | setPreset (const U8String &preset)=0 |
| Configure the output according to a general preset. Please see the supplied documentation for details of these presets. The default is "Preserve" which will attempt to produce output as close to the input as possible for the output format. A string value can be used for any parameter and will be converted as necessary.
|
|
virtual void | setParameter (const U8String ¶m, const U8String &value)=0 |
| Apply a key value pair output parameter with a string value. The parameter name is case insensitive. Please refer to the supplied documentation for the details of the available parameters and their ranges.
|
|
virtual void | setAllowedPermissionsFlags (uint32 allowedPermissions)=0 |
| Control whether or not assemblies with certain security permission flags are allowed to be written by this output.
|
|
virtual void | writeAssembly (const IDocumentAssemblyPtr &assembly, const U8String &pathToFile)=0 |
| Write the given document assembly to a file on disk.
|
|
virtual void | writeAssembly (const IDocumentAssemblyPtr &assembly, const String &pathToFile)=0 |
| Write the given document assembly to a file on disk, specified by a wide character string.
|
|
virtual void | writeAssembly (const IDocumentAssemblyPtr &assembly, const IOutputStreamPtr &stream)=0 |
| Write the given document assembly to a stream.
|
|
virtual IOutputWriterPtr | openWriter (const IDocumentAssemblyPtr &assembly, const U8String &pathToFile)=0 |
| Create an output writer for the given assembly, targeting a file on disk. This is designed to allow streaming output, or to deal with situations where an operation would require too much memory to hold an entire edited assembly in memory at once.
|
|
virtual IOutputWriterPtr | openWriter (const IDocumentAssemblyPtr &assembly, const String &pathToFile)=0 |
| Create an output writer for the given assembly, targeting a file on disk. As above, but with the file specified in a wide character string.
|
|
virtual IOutputWriterPtr | openWriter (const IDocumentAssemblyPtr &assembly, const IOutputStreamPtr &stream)=0 |
| Create an output writer for the given assembly, targeting a stream.
|
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
Interface for the OpenXPS IOutput class.