QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Layers and optional attribute index to split into multiple layers using attribute value as layer name. More...
#include <qgsdxfexport.h>
Public Member Functions | |
DxfLayer (QgsVectorLayer *vl, int layerOutputAttributeIndex=-1, bool buildDDBlocks=DEFAULT_DXF_DATA_DEFINED_BLOCKS, int ddBlocksMaxNumberOfClasses=-1, QString overriddenName=QString()) | |
bool | buildDataDefinedBlocks () const |
Flag if data defined point block symbols should be created. | |
int | dataDefinedBlocksMaximumNumberOfClasses () const |
Returns the maximum number of data defined symbol classes for which blocks are created. | |
QgsVectorLayer * | layer () const |
Returns the layer. | |
int | layerOutputAttributeIndex () const |
Returns the attribute index used to split into multiple layers. | |
QString | overriddenName () const |
Returns the overridden layer name to be used in the exported DXF. | |
QString | splitLayerAttribute () const |
If the split layer attribute is set, the vector layer will be split into several dxf layers, one per each unique value. | |
Layers and optional attribute index to split into multiple layers using attribute value as layer name.
Definition at line 77 of file qgsdxfexport.h.
|
inline |
Definition at line 79 of file qgsdxfexport.h.
|
inline |
Flag if data defined point block symbols should be created.
Default is false
Definition at line 110 of file qgsdxfexport.h.
|
inline |
Returns the maximum number of data defined symbol classes for which blocks are created.
Returns -1 if there is no such limitation
Definition at line 117 of file qgsdxfexport.h.
|
inline |
Returns the layer.
Definition at line 88 of file qgsdxfexport.h.
|
inline |
Returns the attribute index used to split into multiple layers.
The attribute value is used for layer names.
Definition at line 95 of file qgsdxfexport.h.
|
inline |
Returns the overridden layer name to be used in the exported DXF.
Definition at line 123 of file qgsdxfexport.h.
QString QgsDxfExport::DxfLayer::splitLayerAttribute | ( | ) | const |
If the split layer attribute is set, the vector layer will be split into several dxf layers, one per each unique value.
Definition at line 2588 of file qgsdxfexport.cpp.