AW: Word COM Object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
sorry for accidentally sending private mail first ! Now to  the  list:

to insert a pagebreak just leave out the parameter entirely. It's default:

	$word->Selection->InsertBreak();

but for clarity you may want to specify it, so do it the positional way (it's the 1st one):

	$word->Selection->InsertBreak(wdPageBreak);

Named parms don't seem to be supported by PHP COM.

HTH
-- 
Sven

> -----Ursprüngliche Nachricht-----
> Von:	Ron.Herhuth@xxxxxxxxxxxxxxxxx [SMTP:Ron.Herhuth@xxxxxxxxxxxxxxxxx]
> Gesendet am:	Mittwoch, 5. Januar 2005 18:55
> An:	php-windows@xxxxxxxxxxxxx
> Betreff:	 Word COM Object
> 
> 
> I have successfully made a PHP script that takes dynamically generated
> HTML and creates a Word Doc then saves it to the server and creates a link
> to itself.  This is fine and dandy but now I have to do a multipage
> document using several dynamically generated pages...this isnt a problem
> BUT I need to put a page break following each dynamically generated page.
> Is there some MS WORD command that I could embed in the HTML I am
> generating that will cause a page break?
> 
> This seemingly simple task is killing me.
> 
> Ron
> 
> 
> 
> 
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux