Commit Graph

68 Commits

Author SHA1 Message Date
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
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