sp-tref-reference.cpp revision 60282e8335d7b6ae7020613bb22c7c69a6909fbb
/*
* The reference corresponding to href of <tref> element.
*
* Copyright (C) 2007 Gail Banaszkiewicz
*
* This file was created based on sp-use-reference.cpp
*
* Released under GNU GPL, read the file 'COPYING' for more information.
*/
//#include "enums.h"
#include "sp-tref-reference.h"
#include "sp-text.h"
#include "sp-tref.h"
#include "sp-tspan.h"
{
if (SP_IS_TREF(owner))
else
return false;
}
void SPTRefReference::updateObserver()
{
if (referred) {
if (subtreeObserved) {
subtreeObserved->removeObserver(*this);
delete subtreeObserved;
}
subtreeObserved->addObserver(*this);
}
}
void SPTRefReference::notifyChildAdded(Inkscape::XML::Node &/*node*/, Inkscape::XML::Node &/*child*/,
{
}
}
void SPTRefReference::notifyChildRemoved(Inkscape::XML::Node &/*node*/, Inkscape::XML::Node &/*child*/,
{
}
}
void SPTRefReference::notifyChildOrderChanged(Inkscape::XML::Node &/*node*/, Inkscape::XML::Node &/*child*/,
{
}
}
{
}
}
{
// Do nothing - tref only cares about textual content
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :