20#ifndef RDXFEXPORTERFACTORY_H_
21#define RDXFEXPORTERFACTORY_H_
52 return new RDxfExporter(document, messageHandler, progressHandler);
55 virtual int canExport(
const QString& fileName,
const QString& nameFilter);
Q_DECLARE_METATYPE(RMath *)
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
Definition RDxfExporterFactory.h:38
virtual RFileExporter * instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)
Definition RDxfExporterFactory.h:48
static void registerFileExporter()
Definition RDxfExporterFactory.h:40
Exporter for the DXF format, based on dxflib.
Definition RDxfExporter.h:64
Needs to be implemented by RFileExporter implementations to check if the exporter is suitable to expo...
Definition RFileExporterFactory.h:41
virtual int canExport(const QString &fileName, const QString &nameFilter="")=0
virtual QStringList getFilterStrings()=0
Base class for file exporters.
Definition RFileExporter.h:42
static void registerFileExporter(RFileExporterFactory *factory, bool prepend=false)
Registers a file exporter.
Definition RFileExporterRegistry.cpp:34
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RMessageHandler.h:33
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RProgressHandler.h:33
#define QCADDXF_EXPORT
Definition dxf_global.h:10
#define NULL
Definition opennurbs_system.h:256