111 if (layer && !
d->
layers.contains(layer))
147 QMap<QString, KoSharedSavingData*>::iterator it(
d->
sharedData.find(
id));
152 warnFlake <<
"The id" <<
id <<
"is already registered. Data not inserted";
160 QMap<QString, KoSharedSavingData*>::const_iterator it(
d->
sharedData.constFind(
id));
QMap< const KoMarker *, QString > markerRefs
~KoShapeSavingContextPrivate()
QMap< QString, QImage > images
QMap< QString, KoSharedSavingData * > sharedData
KoShapeSavingContext::ShapeSavingOptions savingOptions
QMap< QString, int > referenceCounters
KoShapeSavingContextPrivate(KoXmlWriter &)
QMap< qint64, QString > imageNames
QMap< QString, QList< const void * > > prefixedReferences
QList< const KoShapeLayer * > layers
QHash< const KoShape *, QTransform > shapeOffsets
void removeShapeOffset(const KoShape *shape)
ShapeSavingOptions options() const
Get the options used.
void setOptions(ShapeSavingOptions options)
Set the options to use.
QTransform shapeOffset(const KoShape *shape) const
void saveLayerSet(KoXmlWriter &xmlWriter) const
bool isSet(ShapeSavingOption option) const
Check if an option is set.
void addShapeOffset(const KoShape *shape, const QTransform &matrix)
QString markerRef(const KoMarker *marker)
void addSharedData(const QString &id, KoSharedSavingData *data)
QMap< qint64, QString > imagesToSave()
KoShapeSavingContextPrivate *const d
void removeOption(ShapeSavingOption option)
remove an option, will leave the other options intact.
void setXmlWriter(KoXmlWriter &xmlWriter)
Set the xml writer.
virtual ~KoShapeSavingContext()
ShapeSavingOption
The Style used for saving the shape.
KoXmlWriter & xmlWriter()
Get the xml writer.
KoSharedSavingData * sharedData(const QString &id) const
KoShapeSavingContext(KoXmlWriter &xmlWriter)
Constructor.
void addOption(ShapeSavingOption option)
add an option to the set of options stored on this context, will leave the other options intact.
void addLayerForSaving(const KoShapeLayer *layer)
bool isGeometryProtected() const
bool isVisible(bool recursive=true) const
void startElement(const char *tagName, bool indentInside=true)
void addAttribute(const char *attrName, const QString &value)