Julien Carignan
612ad85773
changed heightRule string to exactHeight bool
2014-03-28 15:21:01 -04:00
Julien Carignan
772017d8e3
empty space remove
2014-03-28 13:33:49 -04:00
Julien Carignan
9faaa1b566
reverted table/row
...
Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-28 13:31:40 -04:00
Julien Carignan
8363ee27d1
table row height rule moved to rowStyle (ivanlanin)
...
new usage: $table->addRow($height, array("heightRule"=>"exact"));
Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-28 13:26:39 -04:00
Julien Carignan
e2cdf434ba
"php://output" content-length + tmpfile location
...
- added content-length header to know the total file size during the download
- Tmp file should go into sys_get_temp_dir() instead of "./"
Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-24 13:56:49 -04:00
Julien Carignan
e990c77b47
Added height rules for table row
...
- mostly for removing the added space after a table
- Code mostly come from this discussion: https://phpword.codeplex.com/discussions/440933
- Usage: $table->addRow(5000, $rowStyle, "exact");
Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-24 13:51:21 -04:00
Julien Carignan
27840ab710
Font-style addition: bgColor
...
Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-24 13:44:19 -04:00
Ivan Lanin
47fa1f0c3b
Bugfix: Preserve text doesn't render correctly when the text is not the first word, e.g. 'Page {PAGE}'
2014-03-17 19:43:38 +07:00
Gabriel Bull
78d718a5b1
Fixed typo in variable name
2014-03-17 06:22:17 -04:00
Ivan Lanin
fca9e532cf
DocBlock corrections
2014-03-17 07:26:25 +07:00
Gabriel Bull
12a79779bf
Merge branch 'refs/heads/master' into develop
...
Conflicts:
changelog.txt
2014-03-16 17:01:05 -04:00
Gabriel Bull
74566e3862
Added test case for image type detection
...
Conflicts:
changelog.txt
2014-03-16 16:57:17 -04:00
Brandon Skrtich
745f3c81b5
Add function to check for image type.
...
Some servers do not have exif_imagetype available. So I added a work around.
2014-03-16 16:52:39 -04:00
Ivan Lanin
077d87d1bc
New unit tests for Writer
2014-03-16 07:40:02 +07:00
Gabriel Bull
3b7dac452b
Refactored PHPWord_Exception to namespaces
2014-03-15 09:42:43 -04:00
Ivan Lanin
89aebc5ee4
Version number: 0.7.0 > 0.8.0
2014-03-15 08:50:03 -04:00
Ivan Lanin
f2d01b849b
Version number: 0.7.0 > 0.8.0
2014-03-15 16:17:05 +07:00
Ivan Lanin
d04e600300
New unit test for ODText\Content and some test fixes
2014-03-15 14:48:26 +07:00
Ivan Lanin
92a7a6b617
More unit tests for Template and Writer
2014-03-15 13:25:42 +07:00
Progi1984
9646fd3f3e
ADDED : Unit Tests
2014-03-14 20:36:09 +01:00
Ivan Lanin
44d2501293
TextBreak: Allow font/paragraph styling for text break
2014-03-14 22:03:19 +07:00
Ivan Lanin
088caa2d36
@codeCoverageIgnore for some legacy (unused yet) code
2014-03-14 20:56:27 +07:00
Ivan Lanin
c8a1e2e0eb
Final fix that satisfies both MS Word and OpenOffice
2014-03-14 15:26:17 +07:00
Ivan Lanin
d87fa2aa8b
MS Word report corrupted DOCX when there's more than 1 section and footnote applied not on the first section. OO is fine.
...
Bug source: [Content-Types].xml entry is different with document.xml.rels
2014-03-14 14:53:45 +07:00
Ivan Lanin
cd3f74e572
Footnote fix
2014-03-14 04:26:50 +07:00
Ivan Lanin
ff6b2a9e5f
MemoryImage: Allow remote image when allow_url_open = on
2014-03-14 00:04:52 +07:00
Ivan Lanin
1aa83b9438
Some more tests for Writer/Word2007/Base.php. We're on 71.84% coverage now :)
2014-03-13 20:58:24 +07:00
Ivan Lanin
fd95a1c1ec
Merge remote-tracking branch 'upstream/develop' into develop
2014-03-13 20:23:55 +07:00
Gabriel Bull
f711e8a0e9
Formatted code in PHPWord_Style_Font class
2014-03-13 09:22:12 -04:00
Progi1984
fcc4c073a4
Merge pull request #119 from bskrtich/xmlwritercompatibility
...
Add XMLWriter Compatibility option
2014-03-13 14:07:20 +01:00
Ivan Lanin
8d942b589a
Rename Reader sample and sync Base.php
2014-03-13 19:34:16 +07:00
Ivan Lanin
d180ac7fdf
Merge branch 'develop' of https://github.com/jhfangying/PHPWord into develop
2014-03-13 19:28:52 +07:00
Ivan Lanin
37dd6bcf82
Merge branch 'xmlwritercompatibility' of https://github.com/bskrtich/PHPWord into develop
2014-03-13 19:11:01 +07:00
Ivan Lanin
acfe64bb53
More unit tests for Writer\Word2007\Base
2014-03-13 19:09:35 +07:00
jhfangying
a6e91ef195
merge
2014-03-13 16:01:48 +08:00
jhfangying
b79a66ba9e
1
2014-03-13 15:50:56 +08:00
Brandon Skrtich
7fdf2b538a
Add XMLWriter Compatibility option
2014-03-13 00:24:16 -06:00
jhfangying
a7663476f6
add Font Content Type
...
w:hint attribute added
2014-03-13 13:09:44 +08:00
jhfangying
bb38d6c135
delete one line
2014-03-13 08:59:46 +08:00
jhfangying
af1a591271
support for eastAsia fontstyle
...
support for eastAsia fontstyle
add sample 10
2014-03-13 08:48:18 +08:00
Ivan Lanin
2f0438ff15
Change all remaining `trigger_error()` into `throw new Exception()`
2014-03-13 02:08:31 +07:00
Ivan Lanin
d4d42752d4
Unit test for PHPWord\Style
2014-03-13 01:58:00 +07:00
Ivan Lanin
1fbea54b4b
Merge remote-tracking branch 'upstream/develop' into develop
2014-03-13 01:27:30 +07:00
Gabriel Bull
5e0fc7a2d8
Fixed bug with new extension verification
2014-03-12 11:22:41 -04:00
Ivan Lanin
4119c6af07
Reorganize samples and write unsupported element to ODText and RTF
2014-03-12 21:55:20 +07:00
Gabriel Bull
d991fdc6d1
Added image writer tests
2014-03-12 10:10:36 -04:00
Gabriel Bull
492f88d1e8
Use exif_imagetype to check image format instead of extension name
2014-03-12 09:25:21 -04:00
Ivan Lanin
b1ee8a3de6
Unit test for PHPWord main class
2014-03-12 19:26:30 +07:00
Ivan Lanin
530a71c2bf
Unit test for TOC
2014-03-12 16:24:36 +07:00
jhfangying
3daaffa183
support for eastAsia fontstyle
2014-03-12 16:17:37 +08:00