Skip to content

RExporter

Class in Core Module
Header: #include <src/core/RExporter.h>
Inherited by: RArcExporter, RFileExporter, RGraphicsScene, RLinetypePatternExporter, RPainterPathExporter

Abstract base class for exporters.

Exporters export documents into files, views, etc.

Scriptable: This class is available in script environments.

RExporter()
RExporter(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)
virtual ~RExporter()
virtual void clearClipRectangles()
virtual void endEntity(bool)
virtual void endExport()
Called at the end of a completed export.
virtual void exportArc(const RArc &arc, double offset=RNANDOUBLE)
virtual void exportArcSegment(const RArc &arc, bool allowForZeroLength=false)
virtual void exportBlock(QSharedPointer< RBlock >)
virtual void exportBlock(RObject::Id blockId)
virtual void exportBlocks()
virtual void exportBoundingBoxPaths(const QList< RPainterPath > &paths)
virtual void exportBox(const RBox &box)
Exports the surfaces of the given box.
virtual void exportCircle(const RCircle &circle)
Exports a circle with the current attributes.
virtual void exportClipRectangle(const RBox &clipRectangle, bool forceSelected=false)
virtual void exportCurrentEntity(bool preview=false, bool forceSelected=false)
The default implementation calls the REntity::exportEntity() function of the entity.
virtual bool exportDocument()
Exports the visual representation of all objects (including entities) of the document.
virtual void exportDocumentSetting(const QString &key, const QVariant &value, const QString &dictionaryName=“QCAD_OBJECTS”)
virtual bool exportDocumentSettings()
virtual void exportEllipse(const REllipse &ellipse, double offset=RNANDOUBLE)
Exports an ellipse with the current attributes.
virtual void exportEndTransform()
virtual void exportEntities(bool allBlocks=true, bool undone=false, bool invisible=false)
virtual void exportEntities(const RBox &box)
Exports the visual representation of all entities that are completely or partly inside the given area.
virtual void exportEntities(QSet< RObject::Id > &entityIds, bool allBlocks=true)
virtual void exportEntity(QSharedPointer< REntity > entity, bool preview=false, bool allBlocks=true, bool forceSelected=false, bool invisible=false)
Exports the given entity as part of a block definition to be reused by block references.
virtual void exportEntity(RObject::Id entityId, bool allBlocks=true, bool forceSelected=false)
Calls exportEntity(REntity*) for the entity with the given ID.
virtual void exportExplodable(const RExplodable &explodable, double offset=RNANDOUBLE)
virtual void exportImage(const RImageData &image, bool forceSelected=false)
virtual void exportIntListWithName(const QString &dictionaryName, const QString &name, const QString &listName, QList< int64_t > &values)
virtual void exportLayer(QSharedPointer< RLayer >)
virtual void exportLayer(RObject::Id layerId)
virtual void exportLayers()
virtual void exportLayerState(QSharedPointer< RLayerState >)
virtual void exportLayerStates()
virtual double exportLine(const RLine &line, double offset=RNANDOUBLE)
Exports a line with the current attributes.
virtual void exportLineSegment(const RLine &line, double angle=RNANDOUBLE)=0 = 0
Exports a line segment (a line without pattern).
virtual void exportLinetype(QSharedPointer< RLinetype >)
virtual void exportLinetypes()
virtual bool exportLinetypeShape(QList< RPainterPath > &pps, const RLine &line, double total, double length, double angle, const RVector &cursor)
virtual void exportPainterPaths(const QList< RPainterPath > &paths, double angle, const RVector &pos)
virtual void exportPainterPaths(const QList< RPainterPath > &paths, double z=0.0)
virtual void exportPainterPathSource(const RPainterPathSource &pathSource, double z=0.0)
virtual void exportPoint(const RPoint &point)=0 = 0
Exports a point with the current attributes.
virtual void exportPolyline(const RPolyline &polyline, bool polylineGen=true, double offset=RNANDOUBLE)
virtual void exportQuad(const RVector &p1, const RVector &p2, const RVector &p3, const RVector &p4)
Exports a quadrilateral with the current attributes.
virtual void exportRay(const RRay &ray)=0 = 0
Exports an infinite ray.
virtual void exportRectangle(const RVector &p1, const RVector &p2)
Exports a rectangle with the current attributes.
virtual void exportShape(QSharedPointer< RShape > shape)
Exports the given shapes as part of the geometry of the current entity.
virtual void exportShapes(const QList< QSharedPointer< RShape > > &shapes)
Exports the given shapes as part of the geometry of the current entity.
virtual void exportShapeSegment(QSharedPointer< RShape > shape, double angle)
virtual void exportSpline(const RSpline &spline, double offset=RNANDOUBLE)
virtual void exportSplineSegment(const RSpline &spline)
virtual QList< RPainterPath > exportText(const RTextBasedData &text, bool forceSelected=false)
virtual void exportThickPolyline(const RPolyline &polyline)
virtual void exportTransform(const RTransform &t)
virtual void exportTriangle(const RTriangle &triangle)=0 = 0
Exports a triangle with the current attributes.
virtual void exportVerticalQuad(const RVector &p1, const RVector &p2, double height)
Exports a vertical quadrilateral with the two given base points and the given height.
virtual void exportView(QSharedPointer< RView >)
virtual void exportView(RObject::Id viewId)
virtual void exportViews()
virtual void exportXLine(const RXLine &xLine)=0 = 0
Exports an infinite line.
virtual QSharedPointer< REntity > getBlockRefOrEntity()
virtual RObject::Id getBlockRefOrEntityId()
virtual QStack< QSharedPointer< REntity > > getBlockRefViewportStack() const
virtual QBrush getBrush()
virtual QBrush getBrush(const RPainterPath &path)
bool getClipping() const
virtual RColor getColor(bool resolve)
virtual RColor getColor(const RColor &unresolvedColor)
virtual QSharedPointer< REntity > getCurrentBlockRef() const
virtual double getCurrentPixelSizeHint() const
virtual QSharedPointer< RViewportEntity > getCurrentViewport() const
virtual RDocument & getDocument() const
\nonscriptoverwritable
bool getDraftMode() const
virtual QSharedPointer< REntity > getEntity()
virtual QSharedPointer< REntity > getEntity() const
virtual QSharedPointer< RLayer > getEntityLayer(QSharedPointer< REntity > entity)
QStack< QSharedPointer< REntity > > getEntityStack()
QString getErrorMessage() const
bool getExportInvisible() const
bool getFrameless() const
virtual RLinetypePattern getLinetypePattern()
virtual double getLineTypePatternScale(const RLinetypePattern &p) const
virtual QPen getPen()
virtual QPen getPen(const RPainterPath &path)
double getPixelSizeHint() const
bool getPixelUnit() const
bool getPixelWidth() const
RS::ProjectionRenderingHint getProjectionRenderingHint()
virtual bool getScreenBasedLinetypes() const
bool getTwoColorSelectedMode() const
bool getWipeout() const
virtual bool isEntitySelected()
virtual bool isPatternContinuous(const RLinetypePattern &p)
virtual bool isPixelUnitSupported() const
virtual bool isTextRenderedAsText() const
Override to force text rendering mode.
virtual bool isVisible(QSharedPointer< REntity > entity)
bool isVisualExporter() const
void popEntity()
virtual bool preExportEntity(REntity *entity, bool preview, bool allBlocks)
void pushEntity(QSharedPointer< REntity > e)
void setBlockSource(RDocument *bs)
virtual void setBrush(const QBrush &brush)
virtual void setBrushStyle(Qt::BrushStyle brushStyle)
virtual void setClipping(bool on)
virtual void setColor(const RColor &color)
virtual void setColor(float r, float g, float b, float a=1.0f)
Sets the current export color in RGB and Alpha.
virtual void setDashPattern(const QVector< qreal > &dashes)
void setDraftMode(bool on)
void setEnablePatterns(bool on)
virtual void setEntityAttributes(bool forceSelected=false)
void setExportInvisible(bool on)
virtual void setFrameless(bool on)
void setLayerSource(RDocument *ls)
virtual void setLinetypeId(RObject::Id ltId)
virtual void setLinetypePattern(const RLinetypePattern &ltPattern)
virtual void setLineweight(RLineweight::Lineweight weight)
void setOverrideEntity(QSharedPointer< REntity > oe)
virtual void setPen(const QPen &pen)
Sets the current pen (currentPen).
void setPixelSizeHint(double v)
void setPixelUnit(bool on)
void setPixelWidth(bool on)
void setProjectionRenderingHint(RS::ProjectionRenderingHint p)
Sets a rendering hint for the current projection used for exports.
void setScreenBasedLinetypes(bool on)
virtual void setStyle(Qt::PenStyle penStyle)
void setTwoColorSelectedMode(bool on)
void setVisualExporter(bool on)
virtual void setWipeout(bool on)
virtual void startEntity(bool)
virtual void startExport()
Called to start a new, complete export.
void toggleDraftMode()
void toggleScreenBasedLinetypes()
virtual void unexportEntity(RObject::Id entityId)
This is called for entities for which an export was requested but which cannot be instantiated because they either do not exist (anymore) in the DB or they are currently undone.
void unsetOverrideEntity()
QStack< QSharedPointer< REntity > > blockRefViewportStack
RDocument * blockSource
bool clipping
QBrush currentBrush
RLayer * currentLayer
RLinetypePattern currentLinetypePattern
QPen currentPen
RDocument * document
bool draftMode
bool enablePatterns
QStack< QSharedPointer< REntity > > entityStack
QString errorMessage
bool exportInvisible
bool frameless
RDocument * layerSource
QSharedPointer< REntity > overrideEntity
Qt::PenCapStyle penCapStyle
double pixelSizeHint
bool pixelUnit
bool pixelWidth
bool screenBasedLinetypes
QTransform transform
bool twoColorSelectedMode
bool visualExporter
bool wipeout
void init()
RS::ProjectionRenderingHint projectionRenderingHint

RExporter::RExporter()

RExporter::RExporter(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)

virtual RExporter::~RExporter()

virtual

virtual void RExporter::clearClipRectangles()

virtual

Reimplemented in clearClipRectangles.

virtual void RExporter::endEntity(bool)

virtual inline

virtual void RExporter::endExport()

virtual

Called at the end of a completed export.

The default implementation notifies listeners.

virtual void RExporter::exportArc(const RArc &arc, double offset=RNANDOUBLE)

virtual

Reimplemented in exportArc.

virtual void RExporter::exportArcSegment(const RArc &arc, bool allowForZeroLength=false)

virtual

Reimplemented in exportArcSegment, exportArcSegment.

virtual void RExporter::exportBlock(QSharedPointer< RBlock >)

virtual inline

virtual void RExporter::exportBlock(RObject::Id blockId)

virtual

virtual void RExporter::exportBlocks()

virtual

virtual void RExporter::exportBoundingBoxPaths(const QList< RPainterPath > &paths)

virtual

virtual void RExporter::exportBox(const RBox &box)

virtual

Exports the surfaces of the given box.

This is a convenience function that exports 12 triangles but may also be re-implemented to do something else.

virtual void RExporter::exportCircle(const RCircle &circle)

virtual

Exports a circle with the current attributes.

The default implementation calls exportArc with a full circle arc.

virtual void RExporter::exportClipRectangle(const RBox &clipRectangle, bool forceSelected=false)

virtual

Reimplemented in exportClipRectangle.

virtual void RExporter::exportCurrentEntity(bool preview=false, bool forceSelected=false)

virtual

The default implementation calls the REntity::exportEntity() function of the entity.

This method may use the currentEntity stack to access the entity that is currently being exported. Exporters can choose to reimplement this function to export an entity in a target platform specific manner (e.g. to optimize things for a specific platform).

Reimplemented in exportCurrentEntity.

virtual bool RExporter::exportDocument()

virtual

Exports the visual representation of all objects (including entities) of the document.

virtual void RExporter::exportDocumentSetting(const QString &key, const QVariant &value, const QString &dictionaryName="QCAD_OBJECTS")

virtual

virtual bool RExporter::exportDocumentSettings()

virtual

Reimplemented in exportDocumentSettings.

virtual void RExporter::exportEllipse(const REllipse &ellipse, double offset=RNANDOUBLE)

virtual

Exports an ellipse with the current attributes.

virtual void RExporter::exportEndTransform()

virtual

Reimplemented in exportEndTransform.

virtual void RExporter::exportEntities(bool allBlocks=true, bool undone=false, bool invisible=false)

virtual

Reimplemented in exportEntities.

virtual void RExporter::exportEntities(const RBox &box)

virtual

Exports the visual representation of all entities that are completely or partly inside the given area.

virtual void RExporter::exportEntities(QSet< RObject::Id > &entityIds, bool allBlocks=true)

virtual

virtual void RExporter::exportEntity(QSharedPointer< REntity > entity, bool preview=false, bool allBlocks=true, bool forceSelected=false, bool invisible=false)

virtual

Exports the given entity as part of a block definition to be reused by block references.

This is called for entities which have no attributes ByBlock. Sets the current entity to the given entity and calls exportEntity(). Note that entity is a temporary clone.

\forceSelected Force selection, used to export entities as part of a selected block reference.

virtual void RExporter::exportEntity(RObject::Id entityId, bool allBlocks=true, bool forceSelected=false)

virtual

Calls exportEntity(REntity*) for the entity with the given ID.

virtual void RExporter::exportExplodable(const RExplodable &explodable, double offset=RNANDOUBLE)

virtual

Non-Scriptable: This function is not available in script environments.

virtual void RExporter::exportImage(const RImageData &image, bool forceSelected=false)

virtual

Reimplemented in exportImage.

virtual void RExporter::exportIntListWithName(const QString &dictionaryName, const QString &name, const QString &listName, QList< int64_t > &values)

virtual

virtual void RExporter::exportLayer(QSharedPointer< RLayer >)

virtual inline

virtual void RExporter::exportLayer(RObject::Id layerId)

virtual

virtual void RExporter::exportLayers()

virtual

virtual void RExporter::exportLayerState(QSharedPointer< RLayerState >)

virtual inline

virtual void RExporter::exportLayerStates()

virtual

virtual double RExporter::exportLine(const RLine &line, double offset=RNANDOUBLE)

virtual

Exports a line with the current attributes.

Reimplemented in exportLine.

virtual void RExporter::exportLineSegment(const RLine &line, double angle=RNANDOUBLE)=0 = 0

pure virtual

Exports a line segment (a line without pattern).

This is called from the standard implementation of exportLine for every dash in a dashed line.

Reimplemented in exportLineSegment, exportLineSegment, exportLineSegment, exportLineSegment, exportLineSegment.

virtual void RExporter::exportLinetype(QSharedPointer< RLinetype >)

virtual inline

virtual void RExporter::exportLinetypes()

virtual

virtual bool RExporter::exportLinetypeShape(QList< RPainterPath > &pps, const RLine &line, double total, double length, double angle, const RVector &cursor)

virtual

Non-Scriptable: This function is not available in script environments.

virtual void RExporter::exportPainterPaths(const QList< RPainterPath > &paths, double angle, const RVector &pos)

virtual

Reimplemented in exportPainterPaths, exportPainterPaths.

virtual void RExporter::exportPainterPaths(const QList< RPainterPath > &paths, double z=0.0)

virtual

Reimplemented in exportPainterPaths, exportPainterPaths, exportPainterPaths, exportPainterPaths.

virtual void RExporter::exportPainterPathSource(const RPainterPathSource &pathSource, double z=0.0)

virtual

Non-Scriptable: This function is not available in script environments.

virtual void RExporter::exportPoint(const RPoint &point)=0 = 0

pure virtual

Exports a point with the current attributes.

Reimplemented in exportPoint, exportPoint, exportPoint, exportPoint, exportPoint.

virtual void RExporter::exportPolyline(const RPolyline &polyline, bool polylineGen=true, double offset=RNANDOUBLE)

virtual

Parameters:

  • polylineGen: True: use pattern along whole polyline, False: pattern per segment.

Reimplemented in exportPolyline.

virtual void RExporter::exportQuad(const RVector &p1, const RVector &p2, const RVector &p3, const RVector &p4)

virtual

Exports a quadrilateral with the current attributes.

This is a convenience function that exports two triangles but may also be re-implemented to do something else.

virtual void RExporter::exportRay(const RRay &ray)=0 = 0

pure virtual

Exports an infinite ray.

Used for rays.

Reimplemented in exportRay, exportRay, exportRay, exportRay, exportRay.

virtual void RExporter::exportRectangle(const RVector &p1, const RVector &p2)

virtual

Exports a rectangle with the current attributes.

This is a convenience function that exports two triangles but may also be re-implemented to do something else.

Reimplemented in exportRectangle.

virtual void RExporter::exportShape(QSharedPointer< RShape > shape)

virtual

Exports the given shapes as part of the geometry of the current entity.

virtual void RExporter::exportShapes(const QList< QSharedPointer< RShape > > &shapes)

virtual

Exports the given shapes as part of the geometry of the current entity.

virtual void RExporter::exportShapeSegment(QSharedPointer< RShape > shape, double angle)

virtual

virtual void RExporter::exportSpline(const RSpline &spline, double offset=RNANDOUBLE)

virtual

Reimplemented in exportSpline.

virtual void RExporter::exportSplineSegment(const RSpline &spline)

virtual

virtual QList< RPainterPath > RExporter::exportText(const RTextBasedData &text, bool forceSelected=false)

virtual

Reimplemented in exportText.

virtual void RExporter::exportThickPolyline(const RPolyline &polyline)

virtual

Reimplemented in exportThickPolyline.

virtual void RExporter::exportTransform(const RTransform &t)

virtual

Reimplemented in exportTransform.

virtual void RExporter::exportTriangle(const RTriangle &triangle)=0 = 0

pure virtual

Exports a triangle with the current attributes.

Reimplemented in exportTriangle, exportTriangle, exportTriangle, exportTriangle, exportTriangle.

virtual void RExporter::exportVerticalQuad(const RVector &p1, const RVector &p2, double height)

virtual

Exports a vertical quadrilateral with the two given base points and the given height.

virtual void RExporter::exportView(QSharedPointer< RView >)

virtual inline

virtual void RExporter::exportView(RObject::Id viewId)

virtual

virtual void RExporter::exportViews()

virtual

virtual void RExporter::exportXLine(const RXLine &xLine)=0 = 0

pure virtual

Exports an infinite line.

Used for xlines (construction lines).

Reimplemented in exportXLine, exportXLine, exportXLine, exportXLine, exportXLine.

virtual QSharedPointer< REntity > RExporter::getBlockRefOrEntity()

virtual

Returns: Block reference that is currently being exported or if no block reference is being exported, the current entity that is being exported.

virtual REntity::Id RExporter::getBlockRefOrEntityId()

virtual

virtual QStack< QSharedPointer< REntity > > RExporter::getBlockRefViewportStack() const

virtual const

virtual QBrush RExporter::getBrush()

virtual

virtual QBrush RExporter::getBrush(const RPainterPath &path)

virtual

bool RExporter::getClipping() const

const

virtual RColor RExporter::getColor(bool resolve)

virtual

virtual RColor RExporter::getColor(const RColor &unresolvedColor)

virtual

virtual QSharedPointer< REntity > RExporter::getCurrentBlockRef() const

virtual const

virtual double RExporter::getCurrentPixelSizeHint() const

virtual const

Returns: pixel size hint in context of current block.

virtual QSharedPointer< RViewportEntity > RExporter::getCurrentViewport() const

virtual const

virtual RDocument & RExporter::getDocument() const

virtual const

\nonscriptoverwritable

Returns: The document that is currently being exported.

bool RExporter::getDraftMode() const

inline const

virtual QSharedPointer< REntity > RExporter::getEntity()

virtual

Returns: Pointer to the entity that is currently being exported.

virtual QSharedPointer< REntity > RExporter::getEntity() const

virtual const

Non-Scriptable: This function is not available in script environments.

Returns: Pointer to the entity that is currently being exported.

virtual QSharedPointer< RLayer > RExporter::getEntityLayer(QSharedPointer< REntity > entity)

virtual

QStack< QSharedPointer< REntity > > RExporter::getEntityStack()

QString RExporter::getErrorMessage() const

const

bool RExporter::getExportInvisible() const

inline const

bool RExporter::getFrameless() const

const

virtual RLinetypePattern RExporter::getLinetypePattern()

virtual

Reimplemented in getLinetypePattern, getLinetypePattern.

virtual double RExporter::getLineTypePatternScale(const RLinetypePattern &p) const

virtual const

Reimplemented in getLineTypePatternScale, getLineTypePatternScale, getLineTypePatternScale, getLineTypePatternScale.

virtual QPen RExporter::getPen()

virtual

Returns: Current pen.

virtual QPen RExporter::getPen(const RPainterPath &path)

virtual

double RExporter::getPixelSizeHint() const

inline const

bool RExporter::getPixelUnit() const

inline const

bool RExporter::getPixelWidth() const

inline const

RS::ProjectionRenderingHint RExporter::getProjectionRenderingHint()

Returns: The current projection for exports.

virtual bool RExporter::getScreenBasedLinetypes() const

virtual inline const

Reimplemented in getScreenBasedLinetypes.

bool RExporter::getTwoColorSelectedMode() const

inline const

bool RExporter::getWipeout() const

const

virtual bool RExporter::isEntitySelected()

virtual

Returns: True if there is a current entity and it is selected, false otherwise.

virtual bool RExporter::isPatternContinuous(const RLinetypePattern &p)

virtual

virtual bool RExporter::isPixelUnitSupported() const

virtual inline const

Returns: True if this exporter displays painter paths which are flagged as pixel unit (RPainterPath::setPixelUnit) at a constant size in pixels, independently of the zoom factor. This is the case for the graphics scenes of interactive views.

Entities with a constant display size (e.g. connection points) can export their glyph as one such path in pixel coordinates if this is true. Exporters which return false (e.g. file exporters) must be given the geometry in drawing units, sized for the current zoom factor through getCurrentPixelSizeHint.

Reimplemented in isPixelUnitSupported.

virtual bool RExporter::isTextRenderedAsText() const

virtual const

Override to force text rendering mode.

virtual bool RExporter::isVisible(QSharedPointer< REntity > entity)

virtual

bool RExporter::isVisualExporter() const

inline const

Returns: True if this exporter exports only visible entities (on visible layers).

void RExporter::popEntity()

virtual bool RExporter::preExportEntity(REntity *entity, bool preview, bool allBlocks)

virtual inline

void RExporter::pushEntity(QSharedPointer< REntity > e)

void RExporter::setBlockSource(RDocument *bs)

virtual void RExporter::setBrush(const QBrush &brush)

virtual

virtual void RExporter::setBrushStyle(Qt::BrushStyle brushStyle)

virtual

virtual void RExporter::setClipping(bool on)

virtual

Returns: Clip rectangle due to current viewport being exported.

virtual void RExporter::setColor(const RColor &color)

virtual

virtual void RExporter::setColor(float r, float g, float b, float a=1.0f)

virtual

Sets the current export color in RGB and Alpha.

All components are in the range of 0.0 <= component <= 1.0. If isColorFixed is true, this function does nothing.

virtual void RExporter::setDashPattern(const QVector< qreal > &dashes)

virtual

void RExporter::setDraftMode(bool on)

void RExporter::setEnablePatterns(bool on)

inline

virtual void RExporter::setEntityAttributes(bool forceSelected=false)

virtual

void RExporter::setExportInvisible(bool on)

inline

virtual void RExporter::setFrameless(bool on)

virtual

void RExporter::setLayerSource(RDocument *ls)

virtual void RExporter::setLinetypeId(RObject::Id ltId)

virtual

virtual void RExporter::setLinetypePattern(const RLinetypePattern &ltPattern)

virtual

virtual void RExporter::setLineweight(RLineweight::Lineweight weight)

virtual

void RExporter::setOverrideEntity(QSharedPointer< REntity > oe)

virtual void RExporter::setPen(const QPen &pen)

virtual

Sets the current pen (currentPen).

void RExporter::setPixelSizeHint(double v)

inline

void RExporter::setPixelUnit(bool on)

inline

void RExporter::setPixelWidth(bool on)

inline

void RExporter::setProjectionRenderingHint(RS::ProjectionRenderingHint p)

Sets a rendering hint for the current projection used for exports.

This is a rendering hint for the exporting entity to decide how its geometry should be rendered. For example a wall with a window exports itself differently when viewed from top than when viewed from the front or side. Note that the rendering difference is not only in the projection in a mathematical sense, but also in what edges are exported, how they are visualized and what types of shapes are exported (lines and arcs or triangles).

This rendering hint may also be used to determine what grid is appropriate to display for exporters that export to a graphics scene.

The mathematical projection is defined separately by setProjection().

void RExporter::setScreenBasedLinetypes(bool on)

virtual void RExporter::setStyle(Qt::PenStyle penStyle)

virtual

void RExporter::setTwoColorSelectedMode(bool on)

inline

void RExporter::setVisualExporter(bool on)

inline

virtual void RExporter::setWipeout(bool on)

virtual

virtual void RExporter::startEntity(bool)

virtual inline

Reimplemented in startEntity.

virtual void RExporter::startExport()

virtual

Called to start a new, complete export.

Implementors can for example clear any stored exported entities or caches. The default implementation does nothing.

void RExporter::toggleDraftMode()

inline

void RExporter::toggleScreenBasedLinetypes()

inline

virtual void RExporter::unexportEntity(RObject::Id entityId)

virtual

This is called for entities for which an export was requested but which cannot be instantiated because they either do not exist (anymore) in the DB or they are currently undone.

Reimplemented in unexportEntity, unexportEntity.

void RExporter::unsetOverrideEntity()

QStack<QSharedPointer<REntity> > RExporter::blockRefViewportStack

protected

RDocument* RExporter::blockSource

protected

bool RExporter::clipping

protected

QBrush RExporter::currentBrush

protected

RLayer* RExporter::currentLayer

protected

RLinetypePattern RExporter::currentLinetypePattern

protected

QPen RExporter::currentPen

protected

RDocument* RExporter::document

protected

bool RExporter::draftMode

protected

bool RExporter::enablePatterns

protected

QStack<QSharedPointer<REntity> > RExporter::entityStack

protected

QString RExporter::errorMessage

protected

bool RExporter::exportInvisible

protected

bool RExporter::frameless

protected

RDocument* RExporter::layerSource

protected

QSharedPointer<REntity> RExporter::overrideEntity

protected

Qt::PenCapStyle RExporter::penCapStyle

protected

double RExporter::pixelSizeHint

protected

bool RExporter::pixelUnit

protected

bool RExporter::pixelWidth

protected

bool RExporter::screenBasedLinetypes

protected

QTransform RExporter::transform

protected

bool RExporter::twoColorSelectedMode

protected

bool RExporter::visualExporter

protected

bool RExporter::wipeout

protected

void RExporter::init()

private

RS::ProjectionRenderingHint RExporter::projectionRenderingHint

private