Commit Graph

83 Commits

Author SHA1 Message Date
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 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
Ivan Lanin 18c1e5f77b Additional template test 2014-03-16 08:42:02 +07:00
Ivan Lanin 077d87d1bc New unit tests for Writer 2014-03-16 07:40:02 +07:00
Ivan Lanin 28fef5f264 Bugfix on PHPWordTest 2014-03-16 00:25:49 +07:00
Gabriel Bull 3b7dac452b Refactored PHPWord_Exception to namespaces 2014-03-15 09:42:43 -04: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 a87717a51f Fix for footnotes test 2014-03-14 04:39:41 +07:00
Ivan Lanin f2ba9a1d3b Unit test for footnotes 2014-03-14 04:36:31 +07:00
Ivan Lanin cd3f74e572 Footnote fix 2014-03-14 04:26:50 +07:00
Ivan Lanin b11cd40bba More unit tests 2014-03-14 04:25:09 +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 bde8666429 Merge remote-tracking branch 'upstream/develop' into develop 2014-03-13 20:15:21 +07:00
Ivan Lanin acfe64bb53 More unit tests for Writer\Word2007\Base 2014-03-13 19:09:35 +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
Roman Syroeshko 2aa49dc17b https://github.com/PHPOffice/PHPWord/issues/43
Unit test fix #2.
2014-03-12 20:40:29 +04:00
Roman Syroeshko de96a66493 https://github.com/PHPOffice/PHPWord/issues/43
Unit test fix.
2014-03-12 20:24:59 +04:00
Roman Syroeshko 36c03d4f15 https://github.com/PHPOffice/PHPWord/issues/43
Redundant imports of PHPUnit_Framework_TestCase were removed.
2014-03-12 20:13:06 +04:00
Roman Syroeshko a2366e9ddf https://github.com/PHPOffice/PHPWord/issues/43
Unit test for PHPWord_Template.save() method.
2014-03-12 20:09:10 +04:00
Gabriel Bull 5e0fc7a2d8 Fixed bug with new extension verification 2014-03-12 11:22:41 -04:00
Ivan Lanin a78ba1c925 Remove duplicate on SectionTest 2014-03-12 21:57:59 +07: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
Ivan Lanin 8f54fa4cc2 Simple unit tests for ODText, RTF, and Word2007 Writer 2014-03-12 13:32:49 +07:00
Ivan Lanin 92cfa12d71 Code formatting for PSR1 & PSR2 - Part 3 2014-03-12 13:30:02 +07:00
Ivan Lanin 46a0768d29 Merge remote-tracking branch 'upstream/develop' into develop 2014-03-12 10:46:36 +07:00
Gabriel Bull 77f52e998b Use exif_imagetype to check image format instead of extension name 2014-03-11 16:37:38 -04:00
Gabriel Bull 72fca30e8c Fixed bug with footer preserve text 2014-03-11 14:19:33 -04:00
Ivan Lanin 589e603277 Unit test for Reader and additional methods for DocumentProperties, adapted from PHPExcel 2014-03-12 00:12:55 +07:00
Ivan Lanin d2a231799d Code formatting for PSR1 & PSR2 - Part 2 2014-03-11 21:44:54 +07:00
Ivan Lanin e36b2c5a50 Some unit tests for Style Drawing, File, and String 2014-03-10 13:29:48 +07:00
Progi1984 8fb7da46ee Merge pull request #97 from gabrielbull/develop
Changed PHPWord namespace to PhpOffice\PhpWord
2014-03-09 22:34:30 +01:00
Ivan Lanin 6697057180 Fix section settings failed tests 2014-03-10 03:51:06 +07:00
Ivan Lanin 663e9008b3 Basic unit tests for PHPWord\Style completed 2014-03-10 03:20:24 +07:00
Gabriel Bull f2122c152a Changed PHPWord namespace to PhpOffice\PhpWord 2014-03-09 16:07:20 -04:00
Gabriel Bull 70588f2f8f Fixed bugs with Text class 2014-03-09 15:25:37 -04:00
Gabriel Bull a6671c2f0f Reformatted tests to PSR-2 standards 2014-03-09 15:08:11 -04:00
Gabriel Bull 9966508a62 Added line height to font style 2014-03-09 15:03:53 -04:00
Progi1984 88836672c3 Merge pull request #95 from gabrielbull/develop
Removed fake namespacing from tests and reformatted code to PSR-2 coding standards
2014-03-09 19:34:16 +01:00
Gabriel Bull 69a8192652 Added line height methods to mirror the line height settings in Word in the paragraph styling 2014-03-09 14:26:32 -04:00
Gabriel Bull 3519477535 Removed fake namespace from tests class names because we use real namespacing 2014-03-09 14:18:49 -04:00