Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Writer_Excel2007_Chart
  • PHPExcel_Writer_Excel2007_Comments
  • PHPExcel_Writer_Excel2007_ContentTypes
  • PHPExcel_Writer_Excel2007_DocProps
  • PHPExcel_Writer_Excel2007_Drawing
  • PHPExcel_Writer_Excel2007_Rels
  • PHPExcel_Writer_Excel2007_RelsRibbon
  • PHPExcel_Writer_Excel2007_RelsVBA
  • PHPExcel_Writer_Excel2007_StringTable
  • PHPExcel_Writer_Excel2007_Style
  • PHPExcel_Writer_Excel2007_Theme
  • PHPExcel_Writer_Excel2007_Workbook
  • PHPExcel_Writer_Excel2007_Worksheet
  • PHPExcel_Writer_Excel2007_WriterPart
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Writer_Excel2007_Style

PHPExcel_Writer_Excel2007_Style

PHPExcel_Writer_Excel2007_WriterPart
Extended by PHPExcel_Writer_Excel2007_Style
Package: PHPExcel\Writer\Excel2007
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Writer/Excel2007/Style.php
Methods summary
public string
# writeStyles( PHPExcel $pPHPExcel = null )

Write styles to XML format

Write styles to XML format

Parameters

$pPHPExcel

Returns

string
XML Output

Throws

PHPExcel_Writer_Exception
private
# _writeFill( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null )

Write Fill

Write Fill

Parameters

$objWriter
XML Writer
$pFill
Fill style

Throws

PHPExcel_Writer_Exception
private
# _writeGradientFill( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null )

Write Gradient Fill

Write Gradient Fill

Parameters

$objWriter
XML Writer
$pFill
Fill style

Throws

PHPExcel_Writer_Exception
private
# _writePatternFill( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null )

Write Pattern Fill

Write Pattern Fill

Parameters

$objWriter
XML Writer
$pFill
Fill style

Throws

PHPExcel_Writer_Exception
private
# _writeFont( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Font $pFont = null )

Write Font

Write Font

Parameters

$objWriter
XML Writer
$pFont
Font style

Throws

PHPExcel_Writer_Exception
private
# _writeBorder( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Borders $pBorders = null )

Write Border

Write Border

Parameters

$objWriter
XML Writer
$pBorders
Borders style

Throws

PHPExcel_Writer_Exception
private
# _writeCellStyleXf( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null, PHPExcel $pPHPExcel = null )

Write Cell Style Xf

Write Cell Style Xf

Parameters

$objWriter
XML Writer
$pStyle
Style
$pPHPExcel
Workbook

Throws

PHPExcel_Writer_Exception
private
# _writeCellStyleDxf( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null )

Write Cell Style Dxf

Write Cell Style Dxf

Parameters

$objWriter
XML Writer
$pStyle
Style

Throws

PHPExcel_Writer_Exception
private
# _writeBorderPr( PHPExcel_Shared_XMLWriter $objWriter = null, string $pName = 'left', PHPExcel_Style_Border $pBorder = null )

Write BorderPr

Write BorderPr

Parameters

$objWriter
XML Writer
$pName
Element name
$pBorder
Border style

Throws

PHPExcel_Writer_Exception
private
# _writeNumFmt( PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_NumberFormat $pNumberFormat = null, integer $pId = 0 )

Write NumberFormat

Write NumberFormat

Parameters

$objWriter
XML Writer
$pNumberFormat
Number Format
$pId
Number Format identifier

Throws

PHPExcel_Writer_Exception
public PHPExcel_Style[]
# allStyles( PHPExcel $pPHPExcel = null )

Get an array of all styles

Get an array of all styles

Parameters

$pPHPExcel

Returns

PHPExcel_Style[]
All styles in PHPExcel

Throws

PHPExcel_Writer_Exception
public PHPExcel_Style_Conditional[]
# allConditionalStyles( PHPExcel $pPHPExcel = null )

Get an array of all conditional styles

Get an array of all conditional styles

Parameters

$pPHPExcel

Returns

PHPExcel_Style_Conditional[]
All conditional styles in PHPExcel

Throws

PHPExcel_Writer_Exception
public PHPExcel_Style_Fill[]
# allFills( PHPExcel $pPHPExcel = null )

Get an array of all fills

Get an array of all fills

Parameters

$pPHPExcel

Returns

PHPExcel_Style_Fill[]
All fills in PHPExcel

Throws

PHPExcel_Writer_Exception
public PHPExcel_Style_Font[]
# allFonts( PHPExcel $pPHPExcel = null )

Get an array of all fonts

Get an array of all fonts

Parameters

$pPHPExcel

Returns

PHPExcel_Style_Font[]
All fonts in PHPExcel

Throws

PHPExcel_Writer_Exception
public PHPExcel_Style_Borders[]
# allBorders( PHPExcel $pPHPExcel = null )

Get an array of all borders

Get an array of all borders

Parameters

$pPHPExcel

Returns

PHPExcel_Style_Borders[]
All borders in PHPExcel

Throws

PHPExcel_Writer_Exception
public PHPExcel_Style_NumberFormat[]
# allNumberFormats( PHPExcel $pPHPExcel = null )

Get an array of all number formats

Get an array of all number formats

Parameters

$pPHPExcel

Returns

PHPExcel_Style_NumberFormat[]
All number formats in PHPExcel

Throws

PHPExcel_Writer_Exception
Methods inherited from PHPExcel_Writer_Excel2007_WriterPart
__construct(), getParentWriter(), setParentWriter()
Autene API documentation generated by ApiGen