void removeProperty(PropertyId id)
QList< PropertyId > properties() const
QVariant property(PropertyId id, const QVariant &defaultValue=QVariant()) const
void setProperty(PropertyId id, const QVariant &value)
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 notifyMarkupChanged()
Notify that the markup has changed.
int indexForPos(int pos) const
indexForPos get the string index for a given cursor position.
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...
The SvgTextMergePropertiesRangeCommand class This sets properties on a specific range in a single tex...
KoSvgTextShapeMementoSP m_textData
QSet< KoSvgTextProperties::PropertyId > m_removeProperties
KoSvgTextProperties m_props
SvgTextMergePropertiesRangeCommand(KoSvgTextShape *shape, const KoSvgTextProperties props, const int pos, const int anchor, const QSet< KoSvgTextProperties::PropertyId > removeProperties=QSet< KoSvgTextProperties::PropertyId >(), KUndo2Command *parent=0)
bool mergeWith(const KUndo2Command *other) override