|
| QgsLayoutAtlas (QgsLayout *layout) |
| Constructor for new QgsLayoutAtlas. More...
|
|
bool | beginRender () override |
| Called when rendering begins, before iteration commences. More...
|
|
int | count () const override |
| Returns the number of features to iterate over. More...
|
|
QgsVectorLayer * | coverageLayer () const |
| Returns the coverage layer used for the atlas features. More...
|
|
QgsExpressionContext | createExpressionContext () const override |
| This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
|
|
int | currentFeatureNumber () const |
| Returns the current feature number, where a value of 0 corresponds to the first feature. More...
|
|
QString | currentFilename () const |
| Returns the current feature filename. More...
|
|
bool | enabled () const |
| Returns whether the atlas generation is enabled. More...
|
|
bool | endRender () override |
| Ends the render, performing any required cleanup tasks. More...
|
|
QString | filenameExpression () const |
| Returns the filename expression used for generating output filenames for each atlas page. More...
|
|
QString | filePath (const QString &baseFilePath, const QString &extension) override |
| Returns the file path for the current feature, based on a specified base file path and extension. More...
|
|
QString | filterExpression () const |
| Returns the expression used for filtering features in the coverage layer. More...
|
|
bool | filterFeatures () const |
| Returns true if features should be filtered in the coverage layer. More...
|
|
bool | hideCoverage () const |
| Returns true if the atlas is set to hide the coverage layer. More...
|
|
const QgsLayout * | layout () const |
| Returns the atlas' layout. More...
|
|
QgsLayout * | layout () override |
| Returns the layout associated with the iterator. More...
|
|
QString | nameForPage (int page) const |
| Returns the calculated name for a specified atlas page number. More...
|
|
QString | pageNameExpression () const |
| Returns the expression (or field name) used for calculating the page name. More...
|
|
bool | readXml (const QDomElement &element, const QDomDocument &document, const QgsReadWriteContext &context) override |
| Sets the objects's state from a DOM element. More...
|
|
void | setCoverageLayer (QgsVectorLayer *layer) |
| Sets the coverage layer to use for the atlas features. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the atlas is enabled. More...
|
|
bool | setFilenameExpression (const QString &expression, QString &errorString) |
| Sets the filename expression used for generating output filenames for each atlas page. More...
|
|
bool | setFilterExpression (const QString &expression, QString &errorString) |
| Sets the expression used for filtering features in the coverage layer. More...
|
|
void | setFilterFeatures (bool filtered) |
| Sets whether features should be filtered in the coverage layer. More...
|
|
void | setHideCoverage (bool hide) |
| Sets whether the coverage layer should be hidden in map items in the layouts. More...
|
|
void | setPageNameExpression (const QString &expression) |
| Sets the expression (or field name) used for calculating the page name. More...
|
|
void | setSortAscending (bool ascending) |
| Sets whether features should be sorted in an ascending order. More...
|
|
void | setSortExpression (const QString &expression) |
| Sets the expression (or field name) to use for sorting features. More...
|
|
void | setSortFeatures (bool enabled) |
| Sets whether features should be sorted in the atlas. More...
|
|
bool | sortAscending () const |
| Returns true if features should be sorted in an ascending order. More...
|
|
QString | sortExpression () const |
| Returns the expression (or field name) to use for sorting features. More...
|
|
bool | sortFeatures () const |
| Returns true if features should be sorted in the atlas. More...
|
|
QString | stringType () const override |
| Returns the object type as a string. More...
|
|
int | updateFeatures () |
| Requeries the current atlas coverage layer and applies filtering and sorting. More...
|
|
bool | writeXml (QDomElement &parentElement, QDomDocument &document, const QgsReadWriteContext &context) const override |
| Stores the objects's state in a DOM element. More...
|
|
virtual | ~QgsAbstractLayoutIterator ()=default |
|
virtual bool | beginRender ()=0 |
| Called when rendering begins, before iteration commences. More...
|
|
virtual int | count () const =0 |
| Returns the number of features to iterate over. More...
|
|
virtual bool | endRender ()=0 |
| Ends the render, performing any required cleanup tasks. More...
|
|
virtual QString | filePath (const QString &baseFilePath, const QString &extension)=0 |
| Returns the file path for the current feature, based on a specified base file path and extension. More...
|
|
virtual QgsLayout * | layout ()=0 |
| Returns the layout associated with the iterator. More...
|
|
virtual bool | next ()=0 |
| Iterates to next feature, returning false if no more features exist to iterate over. More...
|
|
QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id, QUndoCommand *parent=nullptr) override |
| Creates a new layout undo command with the specified text and parent. More...
|
|
virtual QgsLayout * | layout ()=0 |
| Returns the layout the object belongs to. More...
|
|
virtual bool | readXml (const QDomElement &element, const QDomDocument &document, const QgsReadWriteContext &context)=0 |
| Sets the objects's state from a DOM element. More...
|
|
virtual QString | stringType () const =0 |
| Returns the object type as a string. More...
|
|
virtual bool | writeXml (QDomElement &parentElement, QDomDocument &document, const QgsReadWriteContext &context) const =0 |
| Stores the objects's state in a DOM element. More...
|
|
virtual | ~QgsLayoutUndoObjectInterface ()=default |
| Destructor for QgsLayoutUndoObjectInterface. More...
|
|
virtual QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id=0, QUndoCommand *parent=nullptr)=0 |
| Creates a new layout undo command with the specified text and parent. More...
|
|
virtual | ~QgsExpressionContextGenerator ()=default |
|
virtual QgsExpressionContext | createExpressionContext () const =0 |
| This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
|
|