Commit Graph

56 Commits

Author SHA1 Message Date
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
Gabriel Bull 7abd5be62b Reformatted Tests to PSR-2 coding standards 2014-03-09 14:14:38 -04:00
Progi1984 99b43ced29 Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into develop 2014-03-09 19:09:36 +01:00
Progi1984 9b793e5db1 Unit Tests on Section directory 2014-03-09 19:09:22 +01:00
Ivan Lanin 34d91214b4 Change normal value for cell style tests 2014-03-09 22:17:21 +07:00
Ivan Lanin 3d8f09dbc1 PHPWord_Style_CellTest 100% code coverage 2014-03-09 22:00:43 +07:00
Ivan Lanin fa1663a2b1 PHP method IS NOT case sensitive :) 2014-03-09 21:59:23 +07:00
Ivan Lanin 26330807f7 Fix parameter input for testWriteParagraphStyle_Pagination 2014-03-09 17:48:20 +07:00
Ivan Lanin d177b4744b New function PHPWord_Style_Paragraph::setTabs() and unit test for PHPWord_Style_Paragraph 2014-03-09 17:47:04 +07:00
Ivan Lanin b39f9daee2 Refactor and unit test PHPWord_Style_Font 2014-03-08 23:43:27 +07:00
Ivan Lanin df7083b647 Ability to define paragraph pagination: widow control, keep next, keep lines, and page break before. 2014-03-08 17:18:36 +07:00
Ivan Lanin 307f5689d9 Add unit tests for Shared/Font and Writer/Word2007/Styles 2014-03-08 01:26:02 +07:00
Progi1984 50ae8f34a8 Merge pull request #83 from RomanSyroeshko/PHPWord#46
Ability to apply XSL style sheet to Template
2014-03-07 19:12:19 +01:00
Roman Syroeshko 4c414c8524 https://github.com/PHPOffice/PHPWord/issues/46
Positive test fix #3.
2014-03-07 18:09:44 +04:00
Roman Syroeshko 379e5ce2e8 https://github.com/PHPOffice/PHPWord/issues/46
Positive test fix.
2014-03-07 18:04:44 +04:00
Roman Syroeshko 19636a0594 https://github.com/PHPOffice/PHPWord/issues/46
Fix for positive test.
2014-03-07 17:59:37 +04:00
Roman Syroeshko 657e8345b3 https://github.com/PHPOffice/PHPWord/issues/46 2014-03-07 05:54:09 -08:00
Roman Syroeshko 60c21a2fee https://github.com/PHPOffice/PHPWord/issues/46
Positive test.
2014-03-07 17:47:23 +04:00
Roman Syroeshko 670765f80f https://github.com/PHPOffice/PHPWord/issues/46
Notes on error control usage were added.
2014-03-04 14:36:39 +04:00
Roman Syroeshko a8b73b9061 https://github.com/PHPOffice/PHPWord/issues/46
FIXED: tests (last test was removed, because there is no chance to make
it work).
2014-03-03 20:36:02 +04:00
Roman Syroeshko bfe7da63fc https://github.com/PHPOffice/PHPWord/issues/46
FIXED: last negative test.
2014-03-03 20:17:49 +04:00
Roman Syroeshko ec5322d9ab https://github.com/PHPOffice/PHPWord/issues/46 2014-03-03 08:15:51 -08:00
Roman Syroeshko bdcbd149e7 https://github.com/PHPOffice/PHPWord/issues/46
FIXED (again): compatibility with PHP 5.3.
FIXED (again): misprint in method name.
2014-03-03 17:03:09 +04:00
Roman Syroeshko 1c3ebe1f91 https://github.com/PHPOffice/PHPWord/issues/46
An attempt to fix tests.
2014-03-03 16:53:00 +04:00
Gabriel Bull 6f2297ea9a Added PSR-4 Autoloader 2014-03-02 13:44:00 -05:00
Gabriel Bull d5e55e7c4b Moved back phpunit.xml.dist file to root of directory 2014-03-02 12:46:56 -05:00
Roman Syroeshko 9f434c7fa8 https://github.com/PHPOffice/PHPWord/issues/46
Final keyword was removed in test class.
2014-03-02 09:33:26 -08:00
Roman Syroeshko a765d61b15 https://github.com/PHPOffice/PHPWord/issues/46 2014-03-02 08:44:40 -08:00