Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_Page.cpp
1#include "./AOI_Document.h"
2#include "../GPage.h"
3#include "../GLayer.h"
4
5using namespace aur;
6using namespace aur::PDF;
7
21void AOI_Page::GetDimensions( float &width, float &height ) const
22{
23 PagePtr( this )->GetDimensions( width, height );
24}
25
32bool AOI_Page:: ApplyBox( const char* boxName )
33{
34 return PagePtr( this )->applyBox( boxName );
35}
36
44void AOI_Page::SetDimensions( float width, float height )
45{
46 PagePtr( this )->SetDimensions( width, height );
47}
48
56{
57 return (AOI_Object_Layer*)PagePtr( this )->GetFirstLayer();
58}
59
68AOI_ColorSpace* AOI_Page::GetPageColorSpace() const
69{
70 return (AOI_ColorSpace*)PagePtr( this )->GetPageColorSpace();
71}
72
78{
79 for( auto l = PagePtr( this )->GetFirstLayer(); l; l = LayerPtr(l->GetNext()) )
80 {
81 l->SetTransparencyGroupColorSpace( nullptr );
82 l->SetIsolated( false );
83 l->SetKnockOut( false );
84 l->SetTransparencyGroup( false );
85 }
86}
AOI_ColorSpacePtr GetPageColorSpace() const
Definition AOI_Page.cpp:68
bool ApplyBox(const char *)
Definition AOI_Page.cpp:32
void RemoveBlendingSpace()
Definition AOI_Page.cpp:77
void GetDimensions(float &, float &) const
Definition AOI_Page.cpp:21
void SetDimensions(float, float)
Definition AOI_Page.cpp:44
AOI_Object_LayerPtr GetFirstLayer() const
Definition AOI_Page.cpp:55