LibreOffice Module canvas (master) 1
|
#include <pagemanager.hxx>
Public Member Functions | |
PageManager (std::shared_ptr< canvas::IRenderModule > xRenderModule) | |
::basegfx::B2ISize | getPageSize () const |
const std::shared_ptr< canvas::IRenderModule > & | getRenderModule () const |
FragmentSharedPtr | allocateSpace (const ::basegfx::B2ISize &rSize) |
void | free (const FragmentSharedPtr &pFragment) |
void | nakedFragment (const FragmentSharedPtr &pFragment) |
void | validatePages () |
Private Types | |
typedef std::vector< FragmentSharedPtr > | FragmentContainer_t |
Private Member Functions | |
bool | relocate (const FragmentSharedPtr &pFragment) |
Private Attributes | |
std::shared_ptr< canvas::IRenderModule > | mpRenderModule |
FragmentContainer_t | maFragments |
std::vector< PageSharedPtr > | maPages |
Definition at line 31 of file pagemanager.hxx.
|
private |
Definition at line 59 of file pagemanager.hxx.
|
inlineexplicit |
Definition at line 34 of file pagemanager.hxx.
FragmentSharedPtr canvas::PageManager::allocateSpace | ( | const ::basegfx::B2ISize & | rSize | ) |
Definition at line 26 of file pagemanager.cxx.
References maFragments, maPages, and mpRenderModule.
void canvas::PageManager::free | ( | const FragmentSharedPtr & | pFragment | ) |
Definition at line 64 of file pagemanager.cxx.
References maFragments.
basegfx::B2ISize canvas::PageManager::getPageSize | ( | ) | const |
Definition at line 146 of file pagemanager.cxx.
References mpRenderModule.
|
inline |
Definition at line 43 of file pagemanager.hxx.
References mpRenderModule.
void canvas::PageManager::nakedFragment | ( | const FragmentSharedPtr & | pFragment | ) |
Definition at line 80 of file pagemanager.cxx.
References maFragments, maPages, and relocate().
|
private |
void canvas::PageManager::validatePages | ( | ) |
Definition at line 140 of file pagemanager.cxx.
References maPages.
|
private |
Definition at line 60 of file pagemanager.hxx.
Referenced by allocateSpace(), free(), and nakedFragment().
|
private |
Definition at line 64 of file pagemanager.hxx.
Referenced by allocateSpace(), nakedFragment(), relocate(), and validatePages().
|
private |
Definition at line 55 of file pagemanager.hxx.
Referenced by allocateSpace(), getPageSize(), and getRenderModule().