2012-05-06 18:25:40 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
2014-03-20 16:54:12 +04:00
|
|
|
* PhpWord
|
2012-05-06 18:25:40 +02:00
|
|
|
*
|
2014-03-20 16:54:12 +04:00
|
|
|
* Copyright (c) 2014 PhpWord
|
2012-05-06 18:25:40 +02:00
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
*
|
2014-03-20 16:54:12 +04:00
|
|
|
* @category PhpWord
|
|
|
|
|
* @package PhpWord
|
|
|
|
|
* @copyright Copyright (c) 2014 PhpWord
|
2012-05-06 18:25:40 +02:00
|
|
|
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
2014-03-15 16:17:05 +07:00
|
|
|
* @version 0.8.0
|
2012-05-06 18:25:40 +02:00
|
|
|
*/
|
|
|
|
|
|
2014-03-18 15:04:14 +04:00
|
|
|
namespace PhpOffice\PhpWord\Writer;
|
|
|
|
|
|
|
|
|
|
interface IWriter
|
2012-05-06 18:25:40 +02:00
|
|
|
{
|
2013-12-11 14:45:44 -05:00
|
|
|
/**
|
2014-03-20 16:54:12 +04:00
|
|
|
* Save PhpWord to file
|
2013-12-11 14:45:44 -05:00
|
|
|
*
|
2014-03-20 16:54:12 +04:00
|
|
|
* @param string $pFileName
|
|
|
|
|
* @throws \Exception
|
2013-12-11 14:45:44 -05:00
|
|
|
*/
|
|
|
|
|
public function save($pFilename = null);
|
2014-03-18 15:04:14 +04:00
|
|
|
}
|