Skip to content

Commit 1e40f6a

Browse files
committed
ADDED : Readers
1 parent 048dbb5 commit 1e40f6a

File tree

3 files changed

+204
-0
lines changed

3 files changed

+204
-0
lines changed

Classes/PHPVisio/Reader/Dia.php

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?php
2+
/**
3+
* PHPVisio
4+
*
5+
* Copyright (c) 2012 - 2012 PHPVisio
6+
*
7+
* This library is free software; you can redistribute it and/or
8+
* modify it under the terms of the GNU Lesser General Public
9+
* License as published by the Free Software Foundation; either
10+
* version 2.1 of the License, or (at your option) any later version.
11+
*
12+
* This library is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
* Lesser General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU Lesser General Public
18+
* License along with this library; if not, write to the Free Software
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20+
*
21+
* @category PHPVisio
22+
* @package PHPVisio
23+
* @copyright Copyright (c) 2012 - 2012 PHPVisio (https://github.com/PHPOffice/PHPVisio)
24+
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25+
* @version ##VERSION##, ##DATE##
26+
*/
27+
28+
29+
/**
30+
* PHPVisio_Reader_Dia
31+
*
32+
* @category PHPVisio
33+
* @package PHPVisio
34+
* @copyright Copyright (c) 2012 - 2012 PHPVisio (https://github.com/PHPOffice/PHPVisio)
35+
*/
36+
class PHPVisio_Reader_Dia
37+
{
38+
/**
39+
* PHPVisio object
40+
*
41+
* @var PHPVisio
42+
*/
43+
private $_phpVisio;
44+
45+
46+
/**
47+
* Create a new PHPVisio_Reader_Dia
48+
*
49+
* @param PHPVisio $phpVisio PHPVisio object
50+
*/
51+
public function __construct() {
52+
$this->_phpVisio = new PHPVisio();
53+
}
54+
55+
/**
56+
*
57+
*
58+
* @param string $pFilename
59+
* @return PHPVisio
60+
*/
61+
public function load($pFilename = null){
62+
63+
return $this->_phpVisio;
64+
}
65+
}
66+
67+
68+
?>
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?php
2+
/**
3+
* PHPVisio
4+
*
5+
* Copyright (c) 2012 - 2012 PHPVisio
6+
*
7+
* This library is free software; you can redistribute it and/or
8+
* modify it under the terms of the GNU Lesser General Public
9+
* License as published by the Free Software Foundation; either
10+
* version 2.1 of the License, or (at your option) any later version.
11+
*
12+
* This library is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
* Lesser General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU Lesser General Public
18+
* License along with this library; if not, write to the Free Software
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20+
*
21+
* @category PHPVisio
22+
* @package PHPVisio
23+
* @copyright Copyright (c) 2012 - 2012 PHPVisio (https://github.com/PHPOffice/PHPVisio)
24+
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25+
* @version ##VERSION##, ##DATE##
26+
*/
27+
28+
29+
/**
30+
* PHPVisio_Reader_MSVisio2007
31+
*
32+
* @category PHPVisio
33+
* @package PHPVisio
34+
* @copyright Copyright (c) 2012 - 2012 PHPVisio (https://github.com/PHPOffice/PHPVisio)
35+
*/
36+
class PHPVisio_Reader_MSVisio2007
37+
{
38+
/**
39+
* PHPVisio object
40+
*
41+
* @var PHPVisio
42+
*/
43+
private $_phpVisio;
44+
45+
46+
/**
47+
* Create a new PHPVisio_Reader_MSVisio2007
48+
*
49+
* @param PHPVisio $phpVisio PHPVisio object
50+
*/
51+
public function __construct() {
52+
$this->_phpVisio = new PHPVisio();
53+
}
54+
55+
/**
56+
*
57+
*
58+
* @param string $pFilename
59+
* @return PHPVisio
60+
*/
61+
public function load($pFilename = null){
62+
63+
return $this->_phpVisio;
64+
}
65+
}
66+
67+
68+
?>
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?php
2+
/**
3+
* PHPVisio
4+
*
5+
* Copyright (c) 2012 - 2012 PHPVisio
6+
*
7+
* This library is free software; you can redistribute it and/or
8+
* modify it under the terms of the GNU Lesser General Public
9+
* License as published by the Free Software Foundation; either
10+
* version 2.1 of the License, or (at your option) any later version.
11+
*
12+
* This library is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
* Lesser General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU Lesser General Public
18+
* License along with this library; if not, write to the Free Software
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20+
*
21+
* @category PHPVisio
22+
* @package PHPVisio
23+
* @copyright Copyright (c) 2012 - 2012 PHPVisio (https://github.com/PHPOffice/PHPVisio)
24+
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25+
* @version ##VERSION##, ##DATE##
26+
*/
27+
28+
29+
/**
30+
* PHPVisio_Reader_MSVisio2013
31+
*
32+
* @category PHPVisio
33+
* @package PHPVisio
34+
* @copyright Copyright (c) 2012 - 2012 PHPVisio (https://github.com/PHPOffice/PHPVisio)
35+
*/
36+
class PHPVisio_Reader_MSVisio2013
37+
{
38+
/**
39+
* PHPVisio object
40+
*
41+
* @var PHPVisio
42+
*/
43+
private $_phpVisio;
44+
45+
46+
/**
47+
* Create a new PHPVisio_Reader_MSVisio2013
48+
*
49+
* @param PHPVisio $phpVisio PHPVisio object
50+
*/
51+
public function __construct() {
52+
$this->_phpVisio = new PHPVisio();
53+
}
54+
55+
/**
56+
*
57+
*
58+
* @param string $pFilename
59+
* @return PHPVisio
60+
*/
61+
public function load($pFilename = null){
62+
63+
return $this->_phpVisio;
64+
}
65+
}
66+
67+
68+
?>

0 commit comments

Comments
 (0)