|
QGIS API Documentation 3.99.0-Master (357b655ed83)
|
Encapsulates the properties of a vector layer containing features that will be exported to the DXF file. 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()) | |
| Constructor for DxfLayer. | |
| bool | buildDataDefinedBlocks () const |
Returns true 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 source vector layer. | |
| int | layerOutputAttributeIndex () const |
| Returns the attribute index used to split the source layer's features into multiple exported DXF layers. | |
| QString | overriddenName () const |
| Returns the overridden layer name to be used in the exported DXF. | |
| QString | splitLayerAttribute () const |
| Returns the name of the field used to split the source layer's features into multiple exported DXF layers. | |
Encapsulates the properties of a vector layer containing features that will be exported to the DXF file.
Definition at line 76 of file qgsdxfexport.h.
|
inline |
Constructor for DxfLayer.
| vl | source vector layer |
| layerOutputAttributeIndex | attribute index used to split the source layer into multiple exported DXF layers, or -1 if no splitting should occur |
| buildDDBlocks | set to true if data defined point block symbols should be created (since QGIS 3.38) |
| ddBlocksMaxNumberOfClasses | the maximum number of data defined symbol classes for which blocks are created, or -1 if there is no such limitation (since QGIS 3.38) |
| overriddenName | the overridden layer name to be used in the exported DXF. If not set, the source vector layer's name will be used. (since QGIS 3.38) |
Definition at line 87 of file qgsdxfexport.h.
|
inline |
Returns true if data defined point block symbols should be created.
Definition at line 123 of file qgsdxfexport.h.
|
inline |
Returns the maximum number of data defined symbol classes for which blocks are created.
Definition at line 133 of file qgsdxfexport.h.
|
inline |
Returns the source vector layer.
Definition at line 96 of file qgsdxfexport.h.
|
inline |
Returns the attribute index used to split the source layer's features into multiple exported DXF layers.
Each unique value from the associated attribute will form a separate layer in the exported DXF. The attribute value is used for the DXF layer names.
Definition at line 105 of file qgsdxfexport.h.
|
inline |
Returns the overridden layer name to be used in the exported DXF.
If not set the source layer's name will be used.
Definition at line 142 of file qgsdxfexport.h.
| QString QgsDxfExport::DxfLayer::splitLayerAttribute | ( | ) | const |
Returns the name of the field used to split the source layer's features into multiple exported DXF layers.
Each unique value from the associated attribute will form a separate layer in the exported DXF. The attribute value is used for the DXF layer names.
Definition at line 2596 of file qgsdxfexport.cpp.