renderFullDocument( dirname( __FILE__ ) . '/../files/pdf/image.xml', __CLASS__ . '_' . __FUNCTION__ . '.svg' ); } public function testRenderInMultipleColumns() { $this->renderFullDocument( dirname( __FILE__ ) . '/../files/pdf/image.xml', __CLASS__ . '_' . __FUNCTION__ . '.svg', array( new ezcDocumentPcssLayoutDirective( array( 'article' ), array( 'text-columns' => '2', 'font-size' => '10pt', ) ), new ezcDocumentPcssLayoutDirective( array( 'title' ), array( 'text-columns' => '2', ) ), new ezcDocumentPcssLayoutDirective( array( 'page' ), array( 'page-size' => 'A5', ) ), ) ); } public function testRenderLargeImage() { $this->renderFullDocument( dirname( __FILE__ ) . '/../files/pdf/image_large.xml', __CLASS__ . '_' . __FUNCTION__ . '.svg', array( ) ); } public function testRenderHighImage() { $this->renderFullDocument( dirname( __FILE__ ) . '/../files/pdf/image_high.xml', __CLASS__ . '_' . __FUNCTION__ . '.svg', array( ) ); } public function testRenderWrappedLargeImageAndWrappedText() { $this->renderFullDocument( dirname( __FILE__ ) . '/../files/pdf/image_wrapped.xml', __CLASS__ . '_' . __FUNCTION__ . '.svg', array( ) ); } } ?>