Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::PageManager Class Reference

#include <page-manager.h>

Public Member Functions

 PageManager (SPDocument *document)
 
 ~PageManager ()
 
const std::vector< SPPage * > & getPages () const
 
std::vector< SPPage * > getPages (const std::string &pages, bool inverse) const
 Get the pages from a set of pages in the given set.
 
std::vector< SPPage * > getPages (std::set< unsigned int > indexes, bool inverse=false) const
 Get the pages from a set of pages in the given set.
 
void addPage (SPPage *page)
 Add a page to this manager, called from namedview parent.
 
void removePage (Inkscape::XML::Node *child)
 Remove a page from this manager, called from namedview parent.
 
void reorderPage (Inkscape::XML::Node *child)
 Reorder page within the internal list to keep it up to date.
 
SPPagegetSelected () const
 
SPPagegetPage (int index) const
 Get the page at the given position or return nullptr if out of range.
 
SPPagegetPageAt (Geom::Point pos) const
 Get a page at a specific starting location.
 
SPPagegetFirstPage () const
 
SPPagegetLastPage () const
 
SPPagegetViewportPage () const
 Returns the page attached to the viewport, or nullptr if no pages or none of the pages are the viewport page.
 
std::vector< SPPage * > getPagesFor (SPItem *item, bool contains) const
 Return a list of pages this item is on.
 
SPPagegetPageFor (SPItem *item, bool contains) const
 Return the first page that contains the given item.
 
Geom::OptRect getDesktopRect () const
 Returns the total area of all the pages in desktop units.
 
bool hasPages () const
 
int getPageCount () const
 
int getPageIndex (const SPPage *page) const
 Get page index, returns -1 if the page is not found in this document.
 
int getSelectedPageIndex () const
 Return the index of the page in the index.
 
Geom::Rect getSelectedPageRect () const
 Returns the selected page rect, OR the viewbox rect.
 
Geom::Affine getSelectedPageAffine () const
 
Geom::Point nextPageLocation () const
 Return the location of the next created page.
 
SPPagefindPageAt (Geom::Point pos) const
 This provides a simple way of selecting a page based on their layering Pages which are entirely contained within another are selected before their larger parents.
 
void enablePages ()
 Enables multi page support by turning the document viewBox into the first page.
 
void disablePages ()
 Disables multi page supply by removing all the page objects.
 
void pagesChanged ()
 Called when the pages vector is updated, either page deleted or page created (but not if the page is modified)
 
bool selectPage (SPPage *page)
 Set the given page as the selected page.
 
bool selectPage (SPItem *item, bool contains)
 Select the first page the given sp-item object is within.
 
bool selectPage (int index)
 
bool selectNextPage ()
 
bool selectPrevPage ()
 
bool hasNextPage () const
 
bool hasPrevPage () const
 
Colors::Color const & getDefaultBackgroundColor () const
 
void zoomToPage (SPDesktop *desktop, SPPage *page, bool width_only=false)
 Center/zoom on the given page.
 
void zoomToSelectedPage (SPDesktop *desktop, bool width_only=false)
 
void centerToPage (SPDesktop *desktop, SPPage *page)
 Center without zooming on the given page.
 
void centerToSelectedPage (SPDesktop *desktop)
 
SPPagenewPage ()
 Add a new page of the default size, this will be either the size of the viewBox if no pages exist, or the size of the selected page.
 
SPPagenewPage (double width, double height)
 Add a new page of the given width and height.
 
SPPagenewPage (Geom::Rect rect, bool first_page=false)
 Add a new page with the given rectangle.
 
SPPagenewDesktopPage (Geom::Rect rect, bool first_page=false)
 Create a new page, resizing the rectangle from desktop coordinates.
 
SPPagenewDocumentPage (Geom::Rect rect, bool first_page=false)
 Create a new page, using document coordinates.
 
void deletePage (SPPage *page, bool contents=false)
 Delete the given page.
 
void deletePage (bool contents=false)
 Delete the selected page.
 
void resizePage (double width, double height)
 
void resizePage (SPPage *page, double width, double height)
 
void scalePages (Geom::Scale const &scale)
 Change page size, margins and bleeds by a set amount.
 
void rotatePage (int turns)
 Rotate the selected page by the given number of 90 degree rotations.
 
void changeOrientation ()
 Change page orientation, landscape to portrait and back.
 
void fitToSelection (ObjectSet *selection, bool add_margins=true)
 Resize the page to the given selection.
 
void fitToRect (Geom::OptRect box, SPPage *page, bool add_margins=false)
 Fit the selected page to the given rectangle.
 
bool subset (SPAttr key, const gchar *value)
 Manage the page subset of attributes from sp-namedview and store them.
 
bool setDefaultAttributes (CanvasPage *item)
 Update the canvas item with the default display attributes.
 
bool showDefaultLabel () const
 
std::string getSizeLabel (SPPage *page=nullptr)
 Return a page's size label, or match via width and height.
 
std::string getSizeLabel (double width, double height)
 Loop through all page sizes to find a matching one for this width and height.
 
sigc::connection connectPageSelected (const sigc::slot< void(SPPage *)> &slot)
 
sigc::connection connectPageModified (const sigc::slot< void(SPPage *)> &slot)
 
sigc::connection connectPagesChanged (const sigc::slot< void()> &slot)
 
Colors::Color const & getBackgroundColor () const
 
Colors::Color const & getMarginColor () const
 
Colors::Color const & getBleedColor () const
 
Colors::Color const & getBorderColor () const
 
void movePages (Geom::Affine tr)
 Called when the viewbox is resized.
 
std::vector< SPItem * > getOverlappingItems (SPDesktop *desktop, SPPage *page, bool hidden=true, bool in_bleed=false, bool in_layers=true)
 Return a list of objects touching this page, or viewbox (of single page document)
 

Static Public Member Functions

static bool move_objects ()
 
static void enablePages (SPDocument *document)
 
static void disablePages (SPDocument *document)
 
static SPPagenewPage (SPDocument *document)
 

Protected Attributes

SVGBool border_show
 
SVGBool border_on_top
 
SVGBool shadow_show
 
SVGBool checkerboard
 
std::string label_style = "default"
 

Private Attributes

SPDocument_document
 
SPPage_selected_page = nullptr
 
std::vector< SPPage * > pages
 
sigc::signal< void(SPPage *)> _page_selected_signal
 
sigc::signal< void(SPPage *)> _page_modified_signal
 
sigc::signal< void()> _pages_changed_signal
 
sigc::connection _page_modified_connection
 
Colors::Color background_color
 
Colors::Color margin_color
 
Colors::Color bleed_color
 
Colors::Color border_color
 

Friends

class Inkscape::UI::Dialog::DocumentProperties
 

Detailed Description

Definition at line 36 of file page-manager.h.

Constructor & Destructor Documentation

◆ PageManager()

Inkscape::PageManager::PageManager ( SPDocument document)

Definition at line 42 of file page-manager.cpp.

References _document.

◆ ~PageManager()

Inkscape::PageManager::~PageManager ( )

Definition at line 55 of file page-manager.cpp.

References _document, _selected_page, and pages.

Member Function Documentation

◆ addPage()

void Inkscape::PageManager::addPage ( SPPage page)

Add a page to this manager, called from namedview parent.

Definition at line 65 of file page-manager.cpp.

References _document, page, pages, and pagesChanged().

Referenced by SPNamedView::build(), and SPNamedView::child_added().

◆ centerToPage()

void Inkscape::PageManager::centerToPage ( SPDesktop desktop,
SPPage page 
)

Center without zooming on the given page.

Definition at line 548 of file page-manager.cpp.

References _document, desktop, page, SPDocument::preferredBounds(), and SPDesktop::set_display_center().

Referenced by centerToSelectedPage().

◆ centerToSelectedPage()

void Inkscape::PageManager::centerToSelectedPage ( SPDesktop desktop)
inline

Definition at line 87 of file page-manager.h.

References _selected_page, centerToPage(), and desktop.

Referenced by canvas_transform().

◆ changeOrientation()

void Inkscape::PageManager::changeOrientation ( )

Change page orientation, landscape to portrait and back.

Definition at line 611 of file page-manager.cpp.

References getSelectedPageRect(), and resizePage().

Referenced by Inkscape::UI::Toolbar::PageToolbar::PageToolbar().

◆ connectPageModified()

sigc::connection Inkscape::PageManager::connectPageModified ( const sigc::slot< void(SPPage *)> &  slot)
inline

Definition at line 118 of file page-manager.h.

References _page_modified_signal.

Referenced by SPGrid::build().

◆ connectPagesChanged()

sigc::connection Inkscape::PageManager::connectPagesChanged ( const sigc::slot< void()> &  slot)
inline

◆ connectPageSelected()

sigc::connection Inkscape::PageManager::connectPageSelected ( const sigc::slot< void(SPPage *)> &  slot)
inline

◆ deletePage() [1/2]

void Inkscape::PageManager::deletePage ( bool  content = false)

Delete the selected page.

Parameters
content- Also remove the svg objects that are inside the page.

Definition at line 279 of file page-manager.cpp.

References _selected_page, and deletePage().

◆ deletePage() [2/2]

void Inkscape::PageManager::deletePage ( SPPage page,
bool  content = false 
)

Delete the given page.

Parameters
page- The page to be deleted.
content- Also remove the svg objects that are inside the page.

Definition at line 233 of file page-manager.cpp.

References _document, deletePage(), SPDocument::fitToRect(), getDesktopRect(), getFirstPage(), getPageCount(), getPagesFor(), item, and page.

Referenced by deletePage(), deletePage(), disablePages(), Inkscape::UI::Dialog::Export::exportVector(), and page_delete().

◆ disablePages() [1/2]

void Inkscape::PageManager::disablePages ( )

Disables multi page supply by removing all the page objects.

Definition at line 287 of file page-manager.cpp.

References deletePage(), getLastPage(), and hasPages().

Referenced by disablePages(), and Inkscape::UI::Dialog::Export::exportVector().

◆ disablePages() [2/2]

static void Inkscape::PageManager::disablePages ( SPDocument document)
inlinestatic

Definition at line 111 of file page-manager.h.

References disablePages(), and SPDocument::getPageManager().

◆ enablePages() [1/2]

◆ enablePages() [2/2]

static void Inkscape::PageManager::enablePages ( SPDocument document)
inlinestatic

Definition at line 110 of file page-manager.h.

References enablePages(), and SPDocument::getPageManager().

◆ findPageAt()

SPPage * Inkscape::PageManager::findPageAt ( Geom::Point  pos) const

This provides a simple way of selecting a page based on their layering Pages which are entirely contained within another are selected before their larger parents.

Definition at line 484 of file page-manager.cpp.

References Geom::GenericRect< C >::contains(), getPages(), SPPage::getSensitiveRect(), and page.

◆ fitToRect()

void Inkscape::PageManager::fitToRect ( Geom::OptRect  box,
SPPage page,
bool  add_margins = false 
)

Fit the selected page to the given rectangle.

Definition at line 648 of file page-manager.cpp.

References _document, SPDocument::fitToRect(), and page.

Referenced by fitToSelection(), and rotatePage().

◆ fitToSelection()

void Inkscape::PageManager::fitToSelection ( ObjectSet selection,
bool  add_margins = true 
)

Resize the page to the given selection.

If nothing is selected, Resize to all the items on the selected page.

Definition at line 621 of file page-manager.cpp.

References _document, _selected_page, Inkscape::ObjectSet::desktop(), desktop, Inkscape::ObjectSet::documentPreferredBounds(), SPItem::documentPreferredBounds(), fitToRect(), fitToSelection(), getOverlappingItems(), SPDocument::getRoot(), and Inkscape::ObjectSet::isEmpty().

Referenced by fitToSelection(), and page_fit_to_selection().

◆ getBackgroundColor()

Colors::Color const & Inkscape::PageManager::getBackgroundColor ( ) const
inline

Definition at line 127 of file page-manager.h.

References background_color.

Referenced by setDefaultAttributes().

◆ getBleedColor()

Colors::Color const & Inkscape::PageManager::getBleedColor ( ) const
inline

Definition at line 129 of file page-manager.h.

References bleed_color.

Referenced by setDefaultAttributes().

◆ getBorderColor()

Colors::Color const & Inkscape::PageManager::getBorderColor ( ) const
inline

Definition at line 130 of file page-manager.h.

References border_color.

Referenced by setDefaultAttributes().

◆ getDefaultBackgroundColor()

Colors::Color const & Inkscape::PageManager::getDefaultBackgroundColor ( ) const
inline

◆ getDesktopRect()

Geom::OptRect Inkscape::PageManager::getDesktopRect ( ) const

Returns the total area of all the pages in desktop units.

Definition at line 517 of file page-manager.cpp.

References page, pages, and Geom::GenericOptRect< C >::unionWith().

Referenced by deletePage(), and Inkscape::UI::Dialog::Print::setup_page().

◆ getFirstPage()

SPPage * Inkscape::PageManager::getFirstPage ( ) const
inline

Definition at line 55 of file page-manager.h.

References getPage().

Referenced by deletePage(), Inkscape::UI::Dialog::Export::exportVector(), and removePage().

◆ getLastPage()

SPPage * Inkscape::PageManager::getLastPage ( ) const
inline

Definition at line 56 of file page-manager.h.

References getPage(), and pages.

Referenced by disablePages().

◆ getMarginColor()

Colors::Color const & Inkscape::PageManager::getMarginColor ( ) const
inline

Definition at line 128 of file page-manager.h.

References margin_color.

Referenced by setDefaultAttributes().

◆ getOverlappingItems()

std::vector< SPItem * > Inkscape::PageManager::getOverlappingItems ( SPDesktop desktop,
SPPage page,
bool  hidden = true,
bool  in_bleed = false,
bool  in_layers = true 
)

Return a list of objects touching this page, or viewbox (of single page document)

Definition at line 670 of file page-manager.cpp.

References _document, desktop, SPDesktop::dkey, SPDocument::getItemsPartiallyInBox(), page, and SPDocument::preferredBounds().

Referenced by fitToSelection().

◆ getPage()

SPPage * Inkscape::PageManager::getPage ( int  index) const

Get the page at the given position or return nullptr if out of range.

Parameters
index- The page index (from 0) of the page.

Definition at line 399 of file page-manager.cpp.

References index, and pages.

Referenced by Inkscape::UI::Dialog::Print::draw_page(), getFirstPage(), getLastPage(), and selectPage().

◆ getPageAt()

SPPage * Inkscape::PageManager::getPageAt ( Geom::Point  pos) const

Get a page at a specific starting location.

Definition at line 469 of file page-manager.cpp.

References page, and pages.

Referenced by SPNamedView::updateViewPort().

◆ getPageCount()

int Inkscape::PageManager::getPageCount ( ) const
inline

Definition at line 62 of file page-manager.h.

References pages.

Referenced by deletePage(), getPages(), and Inkscape::UI::Dialog::SingleExport::refreshPage().

◆ getPageFor()

SPPage * Inkscape::PageManager::getPageFor ( SPItem item,
bool  contains 
) const

Return the first page that contains the given item.

Definition at line 457 of file page-manager.cpp.

References item, page, and pages.

Referenced by Inkscape::Extension::Internal::PdfBuilder::Document::get_anchors_for_page().

◆ getPageIndex()

int Inkscape::PageManager::getPageIndex ( const SPPage page) const

Get page index, returns -1 if the page is not found in this document.

Definition at line 298 of file page-manager.cpp.

References page, and pages.

Referenced by SPPage::getPageIndex(), getSelectedPageIndex(), and selectPage().

◆ getPages() [1/3]

◆ getPages() [2/3]

std::vector< SPPage * > Inkscape::PageManager::getPages ( const std::string &  pages,
bool  inverse 
) const

Get the pages from a set of pages in the given set.

Parameters
pages- A set of page positions in the format "1,2-3...etc"
inverse- Reverse the selection, selecting pages not in page_pos.
Returns
A vector of SPPage objects found. Not found pages are ignored.

Definition at line 415 of file page-manager.cpp.

References getPageCount(), getPages(), pages, and Inkscape::parseIntRange().

◆ getPages() [3/3]

std::vector< SPPage * > Inkscape::PageManager::getPages ( std::set< unsigned int >  page_pos,
bool  inverse = false 
) const

Get the pages from a set of pages in the given set.

Parameters
page_pos- A set of page positions indexed from 1.
inverse- Reverse the selection, selecting pages not in page_pos.
Returns
A vector of SPPage objects found. Not found pages are ignored.

Definition at line 428 of file page-manager.cpp.

References page, and pages.

◆ getPagesFor()

std::vector< SPPage * > Inkscape::PageManager::getPagesFor ( SPItem item,
bool  contains 
) const

Return a list of pages this item is on.

Definition at line 443 of file page-manager.cpp.

References item, page, and pages.

Referenced by deletePage(), and selectPage().

◆ getSelected()

◆ getSelectedPageAffine()

◆ getSelectedPageIndex()

int Inkscape::PageManager::getSelectedPageIndex ( ) const

Return the index of the page in the index.

Definition at line 313 of file page-manager.cpp.

References _selected_page, and getPageIndex().

Referenced by hasNextPage(), hasPrevPage(), pagesChanged(), selectNextPage(), and selectPrevPage().

◆ getSelectedPageRect()

◆ getSizeLabel() [1/2]

std::string Inkscape::PageManager::getSizeLabel ( double  width,
double  height 
)

Loop through all page sizes to find a matching one for this width and height.

Parameters
width- The X axis size in pixels
height- The Y axis size in pixels

Definition at line 775 of file page-manager.cpp.

References _document, Inkscape::Util::UnitTable::get(), Inkscape::Extension::Template::get_any_preset(), SPDocument::getDisplayUnit(), Inkscape::Util::UnitTable::getUnit(), height, and width.

◆ getSizeLabel() [2/2]

std::string Inkscape::PageManager::getSizeLabel ( SPPage page = nullptr)

Return a page's size label, or match via width and height.

Definition at line 757 of file page-manager.cpp.

References _document, getSizeLabel(), label, page, and SPDocument::preferredBounds().

Referenced by getSizeLabel(), and Inkscape::UI::Toolbar::PageToolbar::setSizeText().

◆ getViewportPage()

SPPage * Inkscape::PageManager::getViewportPage ( ) const

Returns the page attached to the viewport, or nullptr if no pages or none of the pages are the viewport page.

Definition at line 504 of file page-manager.cpp.

References page, and pages.

◆ hasNextPage()

bool Inkscape::PageManager::hasNextPage ( ) const
inline

Definition at line 78 of file page-manager.h.

References getSelectedPageIndex(), and pages.

Referenced by Inkscape::UI::Widget::PageSelector::selectonChanged().

◆ hasPages()

◆ hasPrevPage()

bool Inkscape::PageManager::hasPrevPage ( ) const
inline

◆ move_objects()

bool Inkscape::PageManager::move_objects ( )
static

Definition at line 36 of file page-manager.cpp.

References Inkscape::Preferences::get(), and Inkscape::Preferences::getBool().

Referenced by page_delete().

◆ movePages()

void Inkscape::PageManager::movePages ( Geom::Affine  tr)

Called when the viewbox is resized.

Definition at line 794 of file page-manager.cpp.

References page, and pages.

◆ newDesktopPage()

SPPage * Inkscape::PageManager::newDesktopPage ( Geom::Rect  rect,
bool  first_page = false 
)

Create a new page, resizing the rectangle from desktop coordinates.

Definition at line 213 of file page-manager.cpp.

References _document, SPDocument::dt2doc(), and newDocumentPage().

◆ newDocumentPage()

SPPage * Inkscape::PageManager::newDocumentPage ( Geom::Rect  rect,
bool  first_page = false 
)

Create a new page, using document coordinates.

Definition at line 222 of file page-manager.cpp.

References _document, SPDocument::getDocumentScale(), Geom::Scale::inverse(), and newPage().

Referenced by enablePages(), and newDesktopPage().

◆ newPage() [1/4]

SPPage * Inkscape::PageManager::newPage ( )

Add a new page of the default size, this will be either the size of the viewBox if no pages exist, or the size of the selected page.

Definition at line 149 of file page-manager.cpp.

References _selected_page, enablePages(), SPPage::getRect(), and newPage().

Referenced by newDocumentPage(), newPage(), newPage(), newPage(), and page_new().

◆ newPage() [2/4]

SPPage * Inkscape::PageManager::newPage ( double  width,
double  height 
)

Add a new page of the given width and height.

Definition at line 161 of file page-manager.cpp.

References Geom::GenericRect< Coord >::from_xywh(), height, newPage(), nextPageLocation(), and width.

◆ newPage() [3/4]

◆ newPage() [4/4]

static SPPage * Inkscape::PageManager::newPage ( SPDocument document)
inlinestatic

Definition at line 112 of file page-manager.h.

References SPDocument::getPageManager(), and newPage().

◆ nextPageLocation()

Geom::Point Inkscape::PageManager::nextPageLocation ( ) const

Return the location of the next created page.

Definition at line 170 of file page-manager.cpp.

References page, and pages.

Referenced by newPage().

◆ pagesChanged()

void Inkscape::PageManager::pagesChanged ( )

Called when the pages vector is updated, either page deleted or page created (but not if the page is modified)

Definition at line 335 of file page-manager.cpp.

References _pages_changed_signal, _selected_page, getSelectedPageIndex(), page, pages, and selectPage().

Referenced by addPage(), removePage(), and reorderPage().

◆ removePage()

void Inkscape::PageManager::removePage ( Inkscape::XML::Node child)

Remove a page from this manager, called from namedview parent.

Definition at line 90 of file page-manager.cpp.

References _document, _selected_page, child, SPDocument::fitToRect(), SPPage::getDesktopRect(), getFirstPage(), hasPages(), page, pages, pagesChanged(), and selectPage().

Referenced by SPNamedView::remove_child().

◆ reorderPage()

void Inkscape::PageManager::reorderPage ( Inkscape::XML::Node child)

Reorder page within the internal list to keep it up to date.

Definition at line 121 of file page-manager.cpp.

References _document, child, SPDocument::getNamedView(), page, pages, and pagesChanged().

Referenced by SPNamedView::order_changed().

◆ resizePage() [1/2]

void Inkscape::PageManager::resizePage ( double  width,
double  height 
)

◆ resizePage() [2/2]

void Inkscape::PageManager::resizePage ( SPPage page,
double  width,
double  height 
)

Definition at line 573 of file page-manager.cpp.

References _document, SPDocument::fitToRect(), height, page, pages, and width.

◆ rotatePage()

void Inkscape::PageManager::rotatePage ( int  turns)

◆ scalePages()

void Inkscape::PageManager::scalePages ( Geom::Scale const &  scale)

Change page size, margins and bleeds by a set amount.

Definition at line 557 of file page-manager.cpp.

References page, pages, and scale.

Referenced by Inkscape::UI::Dialog::DocumentProperties::set_content_scale().

◆ selectNextPage()

bool Inkscape::PageManager::selectNextPage ( )
inline

Definition at line 76 of file page-manager.h.

References getSelectedPageIndex(), and selectPage().

Referenced by Inkscape::UI::Widget::PageSelector::nextPage().

◆ selectPage() [1/3]

bool Inkscape::PageManager::selectPage ( int  index)
inline

Definition at line 75 of file page-manager.h.

References getPage(), index, and selectPage().

Referenced by selectPage().

◆ selectPage() [2/3]

bool Inkscape::PageManager::selectPage ( SPItem item,
bool  contains 
)

Select the first page the given sp-item object is within.

If the item is between two pages and one of them is already selected then don't change the selection.

Definition at line 383 of file page-manager.cpp.

References _selected_page, getPagesFor(), item, SPPage::itemOnPage(), page, and selectPage().

◆ selectPage() [3/3]

◆ selectPrevPage()

bool Inkscape::PageManager::selectPrevPage ( )
inline

Definition at line 77 of file page-manager.h.

References getSelectedPageIndex(), and selectPage().

Referenced by Inkscape::UI::Widget::PageSelector::prevPage().

◆ setDefaultAttributes()

◆ showDefaultLabel()

bool Inkscape::PageManager::showDefaultLabel ( ) const
inline

Definition at line 106 of file page-manager.h.

References label_style.

Referenced by SPPage::update().

◆ subset()

◆ zoomToPage()

void Inkscape::PageManager::zoomToPage ( SPDesktop desktop,
SPPage page,
bool  width_only = false 
)

◆ zoomToSelectedPage()

void Inkscape::PageManager::zoomToSelectedPage ( SPDesktop desktop,
bool  width_only = false 
)
inline

Friends And Related Symbol Documentation

◆ Inkscape::UI::Dialog::DocumentProperties

Definition at line 136 of file page-manager.h.

Member Data Documentation

◆ _document

◆ _page_modified_connection

sigc::connection Inkscape::PageManager::_page_modified_connection
private

Definition at line 155 of file page-manager.h.

Referenced by selectPage().

◆ _page_modified_signal

sigc::signal<void (SPPage *)> Inkscape::PageManager::_page_modified_signal
private

Definition at line 152 of file page-manager.h.

Referenced by connectPageModified(), and selectPage().

◆ _page_selected_signal

sigc::signal<void (SPPage *)> Inkscape::PageManager::_page_selected_signal
private

Definition at line 151 of file page-manager.h.

Referenced by connectPageSelected(), and selectPage().

◆ _pages_changed_signal

sigc::signal<void ()> Inkscape::PageManager::_pages_changed_signal
private

Definition at line 153 of file page-manager.h.

Referenced by connectPagesChanged(), and pagesChanged().

◆ _selected_page

◆ background_color

Colors::Color Inkscape::PageManager::background_color
private

Definition at line 157 of file page-manager.h.

Referenced by getBackgroundColor(), getDefaultBackgroundColor(), and subset().

◆ bleed_color

Colors::Color Inkscape::PageManager::bleed_color
private

Definition at line 159 of file page-manager.h.

Referenced by getBleedColor().

◆ border_color

Colors::Color Inkscape::PageManager::border_color
private

Definition at line 160 of file page-manager.h.

Referenced by getBorderColor(), and subset().

◆ border_on_top

SVGBool Inkscape::PageManager::border_on_top
protected

Definition at line 140 of file page-manager.h.

Referenced by setDefaultAttributes(), and subset().

◆ border_show

SVGBool Inkscape::PageManager::border_show
protected

Definition at line 139 of file page-manager.h.

Referenced by setDefaultAttributes(), and subset().

◆ checkerboard

SVGBool Inkscape::PageManager::checkerboard
protected

Definition at line 142 of file page-manager.h.

Referenced by setDefaultAttributes(), and subset().

◆ label_style

std::string Inkscape::PageManager::label_style = "default"
protected

Definition at line 144 of file page-manager.h.

Referenced by setDefaultAttributes(), showDefaultLabel(), and subset().

◆ margin_color

Colors::Color Inkscape::PageManager::margin_color
private

Definition at line 158 of file page-manager.h.

Referenced by getMarginColor().

◆ pages

◆ shadow_show

SVGBool Inkscape::PageManager::shadow_show
protected

Definition at line 141 of file page-manager.h.

Referenced by setDefaultAttributes(), and subset().


The documentation for this class was generated from the following files: