Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
xpsinput.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2014-2025 Global Graphics Software Ltd. All rights reserved.
3*/
4
5#ifndef _JAWSMAKO_XPSINPUT_H_
6#define _JAWSMAKO_XPSINPUT_H_
7
8#include <jawsmako/jawsmako.h>
9
10namespace JawsMako
11{
12 using namespace EDL;
13
14 class IXPSInput;
16
17 class IOXPSInput;
19
25 class IXPSInput : public IInput
26 {
27 public:
28 virtual ~IXPSInput() {}
29
38 static JAWSMAKO_API IXPSInputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor = IProgressMonitorPtr ());
39
77 virtual IDocumentAssemblyPtr openStreaming(const IInputStreamPtr &inputStream) = 0;
78
79 };
80 #define obj2IXPSInput(obj) IXPSInputPtr(dynamic_cast<IXPSInput *>((IRCObject *) obj), true)
81
87 class IOXPSInput : public IXPSInput
88 {
89 public:
90 virtual ~IOXPSInput() {}
91
100 static JAWSMAKO_API IXPSInputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor = IProgressMonitorPtr());
101 };
102 #define obj2IOXPSInput(obj) IOXPSInputPtr(dynamic_cast<IOXPSInput *>((IRCObject *) obj), true)
103}
104
105#endif
Abstract input source that can open files from disk or a stream and create an IDocumentAssembly for t...
Definition jawsmako.h:466
An instance of the JawsMako OpenXPS input class.
Definition xpsinput.h:88
static JAWSMAKO_API IXPSInputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create an input for reading source documents in OpenXPS format.
virtual ~IOXPSInput()
Definition xpsinput.h:90
An instance of the JawsMako XPS input class.
Definition xpsinput.h:26
static JAWSMAKO_API IXPSInputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create an input for reading source documents in XPS format.
virtual ~IXPSInput()
Definition xpsinput.h:28
virtual IDocumentAssemblyPtr openStreaming(const IInputStreamPtr &inputStream)=0
Open a stream, returning the IDocumentAssembly representing the contents, in streaming mode.
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