The KoShapeMergeTextPropertiesCommand class This sets text properties on given text shapes....
bool mergeWith(const KUndo2Command *command) override
QScopedPointer< Private > d
KoShapeMergeTextPropertiesCommand(const QList< KoShape * > &shapes, const KoSvgTextProperties &props, const QSet< KoSvgTextProperties::PropertyId > removeProperties=QSet< KoSvgTextProperties::PropertyId >(), KUndo2Command *parent=nullptr)
KoSvgTextShapeMementoSP getMemento()
Get a memento holding the current textdata and layout info.
void setMemento(const KoSvgTextShapeMementoSP memento)
Set the text data and layout info, reset listening cursors to 0.
QRectF boundingRect() const override
Get the bounding box of the shape.
void mergePropertiesIntoRange(const int startPos, const int endPos, const KoSvgTextProperties properties, const QSet< KoSvgTextProperties::PropertyId > removeProperties=QSet< KoSvgTextProperties::PropertyId >())
mergePropertiesIntoRange Merge given properties into the given range. This will first split the nodes...
QSet< KoSvgTextProperties::PropertyId > removeProperties
KoSvgTextProperties newProperties
Private(const QList< KoShape * > &list)
QMap< KoShape *, KoSvgTextShapeMementoSP > mementos