phpDocumentor OpenDocumentPHP
content_body_table
[ class tree: OpenDocumentPHP ] [ index: OpenDocumentPHP ] [ all elements ]

Class: TableCell

Source Location: /content/body/table/TableCell.php

Class TableCell

Class Overview

Implements interfaces:

TableCell class.

Located in /content/body/table/TableCell.php [line 65]

DOMElement
   |
   --ODPElement
      |
      --TableCell
Author(s):
  • Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
Information Tags:
Version:  Release: @package_version@
Copyright:  Copyright in 2006, 2007 by The OpenDocumentPHP Team
Link:  http://opendocumentphp.org
Todo:  This class is highly experimental, outdated and should be updated soon.
Since:  0.5.0 - 08. Feb. 2007
License:  GNU General Public License 2.0.

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ODPElement

ODPElement::__construct()
Constructor.
ODPElement::appendChild()
Set attribute with namespace.
ODPElement::getAttributeNS()
Retrieve an attribute with namespace, tag and value.
ODPElement::getChildNS()
Retrieve a child by its namespace and tag from the current node.
ODPElement::getDrawAttribute()
Retrieve a draw attribute of the current element.
ODPElement::getElement()
Return this element as uncovered DOMElement.
ODPElement::getElementByTagNameNS()
Retrieve (first) element by given tagname and namespace.
ODPElement::getElementsByTagNameNS()
Retrieve elements by given tagname and namespace.
ODPElement::getStyleAttribute()
Retrieve a style attribute of the current element.
ODPElement::hasAttributeNS()
Check if this element has an attribute with given namespace and tagname.
ODPElement::hasChildNS()
Check if the current element has a child $tag with $namespace.
ODPElement::putAttributeNS()
Put an attribute with namespace, tag and value.
ODPElement::putDrawAttribute()
Put (set with remove old) a draw attribute to the current ODPElement.
ODPElement::putFOAttribute()
Put (set with remove old) a FO attribute to the current ODPElement.
ODPElement::putStyleAttribute()
Put (set with remove old) a sytle attribute to the current ODPElement.
ODPElement::removeAttributeNS()
Set attribute with namespace.
ODPElement::setAttributeNS()
Set attribute with namespace.
ODPElement::setManifestAttribute()
Set a Manifest attribute to the current ODPElement.

[ Top ]
Property Summary
integer   $decimal  
integer   $spannedCols  
integer   $spannedRows  

[ Top ]
Method Summary
TableCell   __construct()  
void   getCellType()  
void   getContent()  
void   getDocumentFragment()  
integer   getSpannedCols()  
integer   getSpannedRows()  
void   setContent()  
void   setDecimal()  
void   setFontBold()  
void   setFontItalic()  
void   setLinkContent()   Set a hyperlink with text $content and URI $link into a cell
void   setTextCenter()  

[ Top ]
Properties
integer   $decimal [line 114]
API Tags:
Access:  protected


[ Top ]
integer   $spannedCols [line 108]
API Tags:
Access:  protected


[ Top ]
integer   $spannedRows [line 102]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 119]

  TableCell __construct( [ $elem = null], $x, $y  )

Parameters:
   $elem: 
   $x: 
   $y: 


Redefinition of:
ODPElement::__construct()
Constructor.

[ Top ]
getCellType  [line 204]

  void getCellType( )



[ Top ]
getContent  [line 162]

  void getContent( )



[ Top ]
getDocumentFragment  [line 222]

  void getDocumentFragment( )



[ Top ]
getSpannedCols  [line 197]

  integer getSpannedCols( )


API Tags:
Access:  public


[ Top ]
getSpannedRows  [line 189]

  integer getSpannedRows( )


API Tags:
Access:  public


[ Top ]
setContent  [line 133]

  void setContent( $content  )

Parameters:
   $content: 


[ Top ]
setDecimal  [line 154]

  void setDecimal( $decimal  )

Parameters:
   $decimal: 


[ Top ]
setFontBold  [line 169]

  void setFontBold( )


Information Tags:
Todo:  NOT IMPLEMENTED NOW

[ Top ]
setFontItalic  [line 175]

  void setFontItalic( )


Information Tags:
Todo:  NOT IMPLEMENTED NOW

[ Top ]
setLinkContent  [line 144]

  void setLinkContent( string $link, string $content  )

Set a hyperlink with text $content and URI $link into a cell

Parameters:
string   $link:  URI of the hyperlink where it links to
string   $content:  text of the hyperlink which is displayed.

Information Tags:
Since:  0.6.0 - 25. Jul. 2007

[ Top ]
setTextCenter  [line 181]

  void setTextCenter( )


Information Tags:
Todo:  NOT IMPLEMENTED NOW

[ Top ]

Documentation generated on Wed, 18 Jun 2008 06:32:44 +0200 by phpDocumentor 1.3.2