168 void setMyAlignAnchor(
const T & value){
169 adjustAnchor(myAnchorHorz, value);
170 myAnchorVert = myAnchorHorz;
174 template <AlignBase::Axis AX,
class T>
176 void setMyAlignAnchor(
const T & value){
177 adjustAnchor(getMyAlignAnchor<AX>(), value);
183 void setDefaultAlignAnchor(
const T & value){
184 adjustAnchor(defaultAnchorHorz, value);
185 defaultAnchorVert = defaultAnchorHorz;
189 template <AlignBase::Axis AX,
class T>
191 void setDefaultAlignAnchor(
const T & value){
192 AnchorElem & defaultAnchor = getDefaultAlignAnchor<AX>();
193 adjustAnchor(defaultAnchor, value);
194 if (defaultAnchor.isPrevious()){
195 Logger(__FILE__, __FUNCTION__, __LINE__).
suspicious(
"Removing explicit ", AnchorElem::Anchor::PREVIOUS,
" as non-informative for group default");
197 adjustAnchor(defaultAnchor, AnchorElem::Anchor::DEFAULT);
204 template <AlignBase::Axis AX>
208 template <AlignBase::Axis AX>
209 const anchor_t & getDefaultAlignAnchor()
const;
212 template <AlignBase::Axis AX>
216 template <AlignBase::Axis AX>
231 void adjustAnchor(
AnchorElem & anchor,
const std::string & value){
232 anchor.assign(value);
236 void adjustAnchor(
AnchorElem & anchor,
const char * value){
237 anchor.assign(value);
241 void adjustAnchor(AnchorElem & anchor,
const AnchorElem & elem){
246 void adjustAnchor(AnchorElem & anchor,
const ClassXML & cls){
248 anchor.assign(cls.strPrefixed());
253 void adjustAnchor(AnchorElem & anchor,
const T & value){