32 , placementStrategy(0)
42 dbg.space() <<
"KoShapeAnchor" <<
this;
43 dbg.space() <<
"offset:" << offset;
44 dbg.space() <<
"shape:" << shape->name();
70 if (
d->placementStrategy != 0) {
71 delete d->placementStrategy;
88 d->horizontalPos = hp;
93 return d->horizontalPos;
98 d->horizontalRel = hr;
103 return d->horizontalRel;
113 return d->verticalPos;
123 return d->verticalRel;
128 return d->wrapInfluenceOnPosition;
133 return d->flowWithText;
138 return d->pageNumber;
153 d->anchorType = type;
162 return d->textLocation;
172 return d->placementStrategy;
178 delete d->placementStrategy;
void setHorizontalPos(HorizontalPos)
set the current vertical-pos
void setVerticalRel(VerticalRel)
set the current horizontal-rel
KoShapeAnchor::AnchorType anchorType
void setOffset(const QPointF &offset)
set the new offset of the shape. Causes a new layout soon.
KoShapeAnchor::PlacementStrategy * placementStrategy
KoShapeAnchor::HorizontalRel horizontalRel
KoShapeAnchor::VerticalRel verticalRel
QDebug printDebug(QDebug dbg) const
QString wrapInfluenceOnPosition
KoShapeAnchor::TextLocation * textLocation
void setVerticalPos(VerticalPos)
set the current horizontal-pos
KoShapeAnchor::VerticalPos verticalPos
void setHorizontalRel(HorizontalRel)
set the current vertical-rel
void setTextLocation(TextLocation *textLocation)
KoShapeAnchor(KoShape *shape)
void setPlacementStrategy(PlacementStrategy *placementStrategy)
KoShapeAnchor::HorizontalPos horizontalPos
void setAnchorType(AnchorType type)