Lines Matching defs:SPDocument

2  * SPDocument manipulation
20 /** \class SPDocument
21 * SPDocument serves as the container of both model trees (agnostic XML
24 * load, save, print, export and so on, use SPDocument as their basic datatype.
26 * SPDocument implements undo and redo stacks and an id-based object
30 * SPDocument performs the basic operations needed for asynchronous
92 SPDocument::SPDocument() :
138 SPDocument::~SPDocument() {
221 sigc::connection SPDocument::connectDestroy(sigc::signal<void>::slot_type slot)
226 SPDefs *SPDocument::getDefs()
234 Persp3D *SPDocument::getCurrentPersp3D() {
249 Persp3DImpl *SPDocument::getCurrentPersp3DImpl() {
253 void SPDocument::setCurrentPersp3D(Persp3D * const persp) {
258 void SPDocument::getPerspectivesInDefs(std::vector<Persp3D*> &list) const
268 void SPDocument::initialize_current_persp3d()
277 unsigned long SPDocument::serial() const {
281 void SPDocument::queueForOrphanCollection(SPObject *object) {
289 void SPDocument::collectOrphans() {
301 void SPDocument::reset_key (void */*dummy*/)
306 SPDocument *SPDocument::createDoc(Inkscape::XML::Document *rdoc,
311 SPDocument *parent)
313 SPDocument *document = new SPDocument();
467 SPDocument *SPDocument::createChildDoc(std::string const &uri)
469 SPDocument *parent = this;
470 SPDocument *document = NULL;
479 boost::ptr_list<SPDocument>::iterator iter;
501 SPDocument *SPDocument::createNewDoc(gchar const *uri, unsigned int keepalive, bool make_new, SPDocument *parent)
545 SPDocument *doc = createDoc(rdoc, uri, base, name, keepalive, parent);
553 SPDocument *SPDocument::createNewDocFromMem(gchar const *buffer, gint length, unsigned int keepalive)
555 SPDocument *doc = NULL;
573 SPDocument *SPDocument::doRef()
579 SPDocument *SPDocument::doUnref()
586 Inkscape::Util::Unit const* SPDocument::getDisplayUnit() const
595 Inkscape::Util::Unit const& SPDocument::getSVGUnit() const
602 void SPDocument::setDocumentScale( double scaleX, double scaleY ) {
614 void SPDocument::setDocumentScale( double scale ) {
620 Geom::Scale SPDocument::getDocumentScale() const
634 // std::cout << "SPDocument::getDocumentScale():\n" << scale << std::endl;
640 void SPDocument::setWidthAndHeight(const Inkscape::Util::Quantity &width, const Inkscape::Util::Quantity &height, bool changeSize)
677 Inkscape::Util::Quantity SPDocument::getWidth() const
694 void SPDocument::setWidth(const Inkscape::Util::Quantity &width, bool changeSize)
716 Inkscape::Util::Quantity SPDocument::getHeight() const
733 void SPDocument::setHeight(const Inkscape::Util::Quantity &height, bool changeSize)
754 Geom::Rect SPDocument::getViewBox() const
765 void SPDocument::setViewBox(const Geom::Rect &viewBox)
772 Geom::Point SPDocument::getDimensions() const
777 Geom::OptRect SPDocument::preferredBounds() const
791 void SPDocument::fitToRect(Geom::Rect const &rect, bool with_margins)
845 void SPDocument::setBase( gchar const* base )
856 void SPDocument::do_change_uri(gchar const *const filename, bool const rebase)
911 void SPDocument::setUri(gchar const *filename)
922 void SPDocument::changeUriAndHrefs(gchar const *filename)
927 void SPDocument::emitResizedSignal(gdouble width, gdouble height)
932 sigc::connection SPDocument::connectModified(SPDocument::ModifiedSignal::slot_type slot)
937 sigc::connection SPDocument::connectURISet(SPDocument::URISetSignal::slot_type slot)
942 sigc::connection SPDocument::connectResized(SPDocument::ResizedSignal::slot_type slot)
948 SPDocument::connectReconstructionStart(SPDocument::ReconstructionStart::slot_type slot)
954 SPDocument::emitReconstructionStart(void)
962 SPDocument::connectReconstructionFinish(SPDocument::ReconstructionFinish::slot_type slot)
968 SPDocument::emitReconstructionFinish(void)
981 sigc::connection SPDocument::connectCommit(SPDocument::CommitSignal::slot_type slot)
988 void SPDocument::_emitModified() {
995 void SPDocument::bindObjectToId(gchar const *id, SPObject *object) {
1025 SPDocument::addUndoObserver(Inkscape::UndoStackObserver& observer)
1031 SPDocument::removeUndoObserver(Inkscape::UndoStackObserver& observer)
1036 SPObject *SPDocument::getObjectById(Glib::ustring const &id) const
1041 SPObject *SPDocument::getObjectById(gchar const *id) const
1061 sigc::connection SPDocument::connectIdChanged(gchar const *id,
1062 SPDocument::IDChangedSignal::slot_type slot)
1067 void SPDocument::bindObjectToRepr(Inkscape::XML::Node *repr, SPObject *object)
1078 SPObject *SPDocument::getObjectByRepr(Inkscape::XML::Node *repr) const
1088 Glib::ustring SPDocument::getLanguage() const
1123 void SPDocument::requestModified()
1135 void SPDocument::setupViewport(SPItemCtx *ctx)
1154 SPDocument::_updateDocument()
1183 gint SPDocument::ensureUpToDate()
1232 SPDocument *doc = static_cast<SPDocument *>(data);
1249 SPDocument *doc = static_cast<SPDocument *>(data);
1308 SPItem *SPDocument::getItemFromListAtPointBottom(unsigned int dkey, SPGroup *group, std::vector<SPItem*> const &list,Geom::Point const &p, bool take_insensitive)
1341 void SPDocument::build_flat_item_list(unsigned int dkey, SPGroup *group, gboolean into_groups) const
1437 std::vector<SPItem*> SPDocument::getItemsInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups) const
1451 std::vector<SPItem*> SPDocument::getItemsPartiallyInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups) const
1458 std::vector<SPItem*> SPDocument::getItemsAtPoints(unsigned const key, std::vector<Geom::Point> points, bool all_layers, size_t limit) const
1502 SPItem *SPDocument::getItemAtPoint( unsigned const key, Geom::Point const &p,
1525 SPItem *SPDocument::getGroupAtPoint(unsigned int key, Geom::Point const &p) const
1534 bool SPDocument::addResource(gchar const *key, SPObject *object)
1565 bool SPDocument::removeResource(gchar const *key, SPObject *object)
1589 std::set<SPObject *> const SPDocument::getResourceList(gchar const *key) const
1598 sigc::connection SPDocument::connectResourcesChanged(gchar const *key,
1599 SPDocument::ResourcesChangedSignal::slot_type slot)
1618 static unsigned int objects_in_document(SPDocument *document)
1637 unsigned int SPDocument::vacuumDocument()
1659 bool SPDocument::isSeeking() const {
1663 void SPDocument::setModifiedSinceSave(bool modified) {
1680 void SPDocument::importDefs(SPDocument *source)
1693 void SPDocument::importDefsNode(SPDocument *source, Inkscape::XML::Node *defs, Inkscape::XML::Node *target_defs)