Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
pclxlinput.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2025 Global Graphics Software Ltd. All rights reserved.
3 */
4
5#ifndef JAWSMAKO_PCLXLINPUT_H
6#define JAWSMAKO_PCLXLINPUT_H
7
17
18#include <jawsmako/jawsmako.h>
19#include <jawsmako/pjl.h>
20
21namespace JawsMako
22{
23 using namespace EDL;
24
30 {
31 public:
33
42 virtual bool ignoreAttribute(const RawString &operatorName, uint16 attributeId) = 0;
43 };
44
45 class IPCLXLInput;
47
53 class IPCLXLInput : public IInput
54 {
55 public:
56 virtual ~IPCLXLInput() {}
57
66 static JAWSMAKO_API IPCLXLInputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor = IProgressMonitorPtr ());
67
83 virtual void setRopResolution(uint32 resolution) = 0;
84
114 virtual void setFlattenRops(bool flatten) = 0;
115
149 virtual void setDefaultPaperSize(const U8String &paperSize) = 0;
150
158 virtual void setDefaultLandscape(bool landscape) = 0;
159
166 virtual void setDefaultCopies(uint32 copies) = 0;
167
174 virtual void setDefaultDuplex(bool duplex) = 0;
175
183
190 virtual void setDefaultManualFeed(bool manualFeed) = 0;
191
203 virtual void setDefaultsFromPjl(IPJLParserPtr &pjlParser) = 0;
204
237 virtual void enableUnencapsulatedMode(bool unencapsulated) = 0;
238
248 virtual void setMediaHandler(IMediaHandler *mediaHandler) = 0;
249
259 virtual void setAttributeHandler(IPCLXLAttributeHandler *attributeHandler) = 0;
260 };
261 #define obj2IPCLXLInput(obj) IPCLXLInputPtr(dynamic_cast<IPCLXLInput *>((IRCObject *) obj), true)
262}
263
264#endif
Abstract input source that can open files from disk or a stream and create an IDocumentAssembly for t...
Definition jawsmako.h:466
Interface allowing users of supported input types to monitor/handle unsatisfied media requests....
Definition jawsmako.h:2635
Interface allowing users to monitor/handle illegal PCL/XL operator attributes.
Definition pclxlinput.h:30
virtual bool ignoreAttribute(const RawString &operatorName, uint16 attributeId)=0
Invoked by the input when the an illegal PCL/XL attribute is encountered.
virtual ~IPCLXLAttributeHandler()
Definition pclxlinput.h:32
An instance of the JawsMako PCL/XL input class.
Definition pclxlinput.h:54
virtual void setMediaHandler(IMediaHandler *mediaHandler)=0
Set the IMediaHandler instance to use to handle unsatisfied media requests.
virtual void setRopResolution(uint32 resolution)=0
Set the resolution to be used when flattening ROPs.
virtual void setDefaultDuplexBindingMode(IPJLParser::eDuplexBindingMode bindingMode)=0
Set the default binding edge for duplexing.
static JAWSMAKO_API IPCLXLInputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create an input for reading source documents in PCL/XL format.
virtual void setDefaultManualFeed(bool manualFeed)=0
Set whether manual feed should be set by default.
virtual void enableUnencapsulatedMode(bool unencapsulated)=0
virtual void setDefaultLandscape(bool landscape)=0
Set the default orientation.
virtual ~IPCLXLInput()
Definition pclxlinput.h:56
virtual void setDefaultsFromPjl(IPJLParserPtr &pjlParser)=0
Take initialisation data from the given PJL parser.
virtual void setAttributeHandler(IPCLXLAttributeHandler *attributeHandler)=0
Set the IPCLXLAttributeHandler instance to use to handle illegal PCL/XL operator attributes.
virtual void setFlattenRops(bool flatten)=0
Set whether or not ROPs should be flattened.
virtual void setDefaultCopies(uint32 copies)=0
Set the default number of per-page copies.
virtual void setDefaultDuplex(bool duplex)=0
Set whether duplex should be set by default.
virtual void setDefaultPaperSize(const U8String &paperSize)=0
Set the default paper size.
eDuplexBindingMode
Duplex binding mode enumeration.
Definition pjl.h:139
unsigned short uint16
Definition edltypes.h:33
unsigned int uint32
Definition edltypes.h:34
EDLSysString U8String
A UTF-8 String.
Definition types.h:144
EDLSysString RawString
A raw, 8 bit string. Encoding depends on context.
Definition types.h:150
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