|
virtual void | setRopResolution (uint32 resolution)=0 |
| Set the resolution to be used when flattening ROPs.
|
|
virtual void | setFlattenRops (bool flatten)=0 |
| Set whether or not ROPs should be flattened.
|
|
virtual void | setDefaultPaperSize (const U8String &paperSize)=0 |
| Set the default paper size.
|
|
virtual void | setDefaultLandscape (bool landscape)=0 |
| Set the default orientation.
|
|
virtual void | setDefaultCopies (uint32 copies)=0 |
| Set the default number of per-page copies.
|
|
virtual void | setDefaultDuplex (bool duplex)=0 |
| Set whether or not duplex should be set by default.
|
|
virtual void | setDefaultDuplexBindingMode (IPJLParser::eDuplexBindingMode bindingMode)=0 |
| Set the default binding edge for duplexing.
|
|
virtual void | setDefaultManualFeed (bool manualFeed)=0 |
| Set whether or not manual feed should be set by default.
|
|
virtual void | setDefaultsFromPjl (IPJLParserPtr &pjlParser)=0 |
| Take initialisation data from the given PJL parser.
|
|
virtual void | enableUnencapsulatedMode (bool unencapsulated)=0 |
| Enable or disable unencapsulated mode.
|
|
virtual void | setMediaHandler (IMediaHandler *mediaHandler)=0 |
| Set the IMediaHandler instance to use to handle unsatisfied media requests.
|
|
virtual void | setAttributeHandler (IPCLXLAttributeHandler *attributeHandler)=0 |
| Set the IPCLXLAttributeHandler instance to use to handle illegal PCL/XL operator attributes.
|
|
virtual IDocumentAssemblyPtr | open (const U8String &pathToFile)=0 |
| Open a file on disk, returning the IDocumentAssembly representing the contents.
|
|
virtual IDocumentAssemblyPtr | open (const String &pathToFile)=0 |
| Open a file on disk, returning the IDocumentAssembly representing the contents. Takes a wide character string.
|
|
virtual IDocumentAssemblyPtr | open (const IInputStreamPtr &inputStream)=0 |
| Open a stream, returning the IDocumentAssembly representing the contents.
|
|
virtual void | setSequentialMode (bool sequential)=0 |
| Set/unset sequential mode on this input.
|
|
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 | 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.
|
|
An instance of the JawsMako PCL/XL input class.
virtual void JawsMako::IPCLXLInput::enableUnencapsulatedMode |
( |
bool | unencapsulated | ) |
|
|
pure virtual |
Enable or disable unencapsulated mode.
Setting this mode to true changes the parser behaviour
as follows.
- The input stream is not opened; it is assumed to point to
the start of a PCL/XL session.
- The PJL parser is not used. If PJL is encountered an
error will be thrown.
- The PCL/XL interpreter will not consume data after the point the
PCL/XL interpreter either exhausts the stream or returns
to PJL. After requesting a document after the last document
in the session, or by requesting the number of documents) the
stream will be positioned at the point that the PCL/XL
interpreter exited.
Note: The file pointer may move if the input stream is random
access and earlier pages are re-requested. So, if using a
random-access stream, care is required.
Whereas the default (false) will:
- open() the input stream.
- use the built-in PJL parser when PJL is encountered.
- process all PCL/XL sessions present in the stream, even
if they are interupted by returning to PJL.
virtual void JawsMako::IPCLXLInput::setFlattenRops |
( |
bool | flatten | ) |
|
|
pure virtual |
Set whether or not ROPs should be flattened.
Please see setRopResolution() for information on ROPs.
If false, the input will not flatten ROPs. As a result the DOM that
is produced will not be visually correct. Instead, the ROP components
will appear in the DOM as distinct objects grouped in a special
IDOMGroup.
This mode is useful if only information about the job is required.
ROPs may be expensive especially for pathological cases which use
large amounts of overdraw. If we merely need to know what text is on
a page, the number of pages, whether the content is black and white or
color etc, then flattening ROPs may significantly slow processing for
no benefit. Setting this parameter false will avoid that processing.
The default is true; ROPs will be flattened.
If false, the ROPs will appear in the DOM inside groups with properties
denoting their purpose. The operands for a ROP will be stored inside an
IDOMGroup that is tagged with the property (see IDOMNode::getProperty())
"RopGroup". Inside that group will be up to two nodes that represent the
ROP operands. These will be tagged with the property "RopSource" for the
source operand, and "RopPaint" for the paint operand. The value of these
properties is irrelevant; only their presence is important.
- Parameters
-
flatten | True to flatten ROPs, false to avoid flattening ROPs. |