Worksheet::setHeader (Previous) (Next) Worksheet::setMerge

View this page in Last updated: Sun, 24 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Worksheet::setFooter

Worksheet::setFooter -- ページフッタの見出しおよびオプションで余白を設定する

説明

ページフッタの見出しおよびオプションで余白を設定します。

パラメータ

  • string $string - フッタのテキストです。

  • float $margin - オプションで下部余白のインチ指定です。

注意

この関数は、スタティックにコールする ことはできません。

Worksheet::setHeader (Previous) (Next) Worksheet::setMerge

Download Documentation Last updated: Sun, 24 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: Oliver Fust
Excel constants:

&A = &[Tab] = Tab Name
&D = &[Date] = Date
&F = &[File] = File Name
&N = &[Pages] = Total # of Pages
&P = &[Page] = Page Number
&T = &[Time] = Time
&W = &[Path] = Working Directory (Path)


example:

$worksheet->setFooter('Page &P of &N');
Note by: Oliver Fust
For the left/right header:

&L for Left header
&C for Center header
&R for Right header

example:
$worksheet->setHeader('&LConfidential&C&F&RPage &P of &N');