Class Mage_Sales_Model_Order_Pdf_Abstract
Sales Order PDF abstract model
- Varien_Object
- Mage_Sales_Model_Order_Pdf_Abstract
Direct known subclasses
Mage_Sales_Model_Order_Pdf_Creditmemo, Mage_Sales_Model_Order_Pdf_Invoice, Mage_Sales_Model_Order_Pdf_Shipment, Mage_Sales_Model_Order_Pdf_Shipment_Packaging
Abstract
Package: Mage\Sales
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
Package: Mage\Sales
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
abstract public
Zend_Pdf
|
|
public
float
|
#
widthForStringUsingFontSize( string $string, Zend_Pdf_Resource_Font $font, float $fontSize )
Returns the total width in points of the string using the specified font and size. |
public
integer
|
#
getAlignRight( string $string, integer $x, integer $columnWidth, Zend_Pdf_Resource_Font $font, integer $fontSize, integer $padding = 5 )
Calculate coordinates to draw something in a column aligned to the right |
public
integer
|
#
getAlignCenter( string $string, integer $x, integer $columnWidth, Zend_Pdf_Resource_Font $font, integer $fontSize )
Calculate coordinates to draw something in a column aligned to the center |
protected
|
|
protected
|
|
protected
array
|
|
protected
integer
|
|
protected
|
#
insertOrder( Zend_Pdf_Page & $page,
Insert order to pdf page |
public
|
#
insertDocumentNumber( Zend_Pdf_Page $page, string $text )
Insert title and number for concrete document type |
protected
integer
|
|
protected
array
|
|
protected
Zend_Pdf_Page
|
|
protected
array
|
|
protected
|
|
protected
|
|
protected
string
|
#
_formatOptionValue( array|string $value,
Format option value process |
protected
|
|
protected
|
|
public
|
|
protected
Zend_Pdf_Page
|
#
_drawItem( Varien_Object $item, Zend_Pdf_Page $page,
Draw Item process |
protected
Zend_Pdf_Resource_Font
|
|
protected
Zend_Pdf_Resource_Font
|
|
protected
Zend_Pdf_Resource_Font
|
|
protected
|
|
protected
Zend_Pdf
|
|
public
Zend_Pdf_Page
|
|
public
Zend_Pdf_Page
|
string |
XML_PATH_SALES_PDF_INVOICE_PUT_ORDER_ID
|
'sales_pdf/invoice/put_order_id' |
#
Predefined constants |
string |
XML_PATH_SALES_PDF_SHIPMENT_PUT_ORDER_ID
|
'sales_pdf/shipment/put_order_id' |
|
string |
XML_PATH_SALES_PDF_CREDITMEMO_PUT_ORDER_ID
|
'sales_pdf/creditmemo/put_order_id' |
public
integer
|
$y |
|
#
Y coordinate |
protected
array
|
$_renderers | array() |
#
Item renderers with render type key |
protected
Zend_Pdf
|
$_pdf |
|
#
Zend PDF object |
protected
string
|
$_defaultTotalModel | 'sales/order_pdf_total_default' |
#
Default total model |