Commit Graph

57 Commits

Author SHA1 Message Date
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
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 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 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
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 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
jhfangying 3daaffa183 support for eastAsia fontstyle 2014-03-12 16:17:37 +08:00
Ivan Lanin 042f7a06be Merge remote-tracking branch 'upstream/develop' into develop 2014-03-12 15:03:06 +07:00
Ivan Lanin 46a0768d29 Merge remote-tracking branch 'upstream/develop' into develop 2014-03-12 10:46:36 +07:00
Brandon Skrtich 762f812b6b Add Text Break to Text Run 2014-03-11 16:44:22 -06: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 4e3450e39f Code formatting for PSR1 & PSR2 - Part 1 2014-03-11 20:09:05 +07:00
Ivan Lanin ec514f310f Reader: Read section settings and font/paragraph styles 2014-03-11 16:27:42 +07:00
Ivan Lanin 7677e15ae8 Basic support for TextRun on ODT and RTF 2014-03-10 19:15:26 +07:00
Ivan Lanin e36b2c5a50 Some unit tests for Style Drawing, File, and String 2014-03-10 13:29:48 +07:00
Ivan Lanin 537f49eeb4 Fix non-existing functions in Writer/ODText/Content.php 2014-03-09 17:44:16 +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
Progi1984 86abe7e275 GH-16 : Initial addition of basic footnote support 2014-03-07 23:08:09 +01:00
Ivan Lanin 09ba95bd88 Paragraph: Ability to define (1) normal paragraph style with PHPWord::setNormalStyle() and (2) parent style (basedOn) and style for following paragraph (next) 2014-03-07 18:02:47 +07:00
Ivan Lanin 7533d30125 Changes:
- Use constants instead of hardcoded name and size for font (Arial, 20)
- Section: Multicolumn
- Section: Different section break
- Paragraph: Hanging paragraph
- Font: Superscript and subscript
- Table: Table width in percentage
- Table: Repeat as header row
- Table: Allow row to break across pages
2014-03-06 20:57:00 +07:00
Ivan Lanin d3f62567e9 Merge remote-tracking branch 'remotes/upstream/develop' into develop
Conflicts:
	Classes/PHPWord/Section/Settings.php
	Classes/PHPWord/Section/TextRun.php
	Classes/PHPWord/Writer/Word2007/Base.php
	README.md
2014-03-06 12:32:23 +07:00
Brandon Skrtich d0b4ed6d41 Ability to use images in a text run 2014-03-04 10:54:14 -07:00
Progi1984 d1e16a66d6 GH-5 : Word2007 : Added support for page header & page footer height 2014-03-03 20:15:29 +01:00
Ivan Lanin eb6b44ef85 Use constant instead of hardcoded 'Arial' name. 2014-02-22 22:52:19 +07:00
Ivan Lanin b0a24703f3 `Table Row` allows `tblHeader` and `cantSplit` 2014-02-22 11:01:15 +07:00
Gabriel Bull 6697b72185 Fixed bug list items inside of cells 2014-02-13 12:24:11 -05:00
Gabriel Bull 617feb3240 Added section page numbering 2014-02-12 12:07:50 -05:00
Gabriel Bull 3cf069fc46 Happy new year! 2014-02-12 11:21:04 -05:00
Ivan Lanin 194940d478 Width: dxa > pct 2014-01-16 14:33:38 +07:00
Ivan Lanin 4d94d5763c (1) new width property for table; (2) allow table cell width to be null 2014-01-13 23:14:05 +07:00
Ivan Lanin 0edaaaab50 Tidy up for pull request 2014-01-02 00:59:38 +07:00
Ivan Lanin 3fa49ee53b section breakType 2014-01-01 20:12:51 +07:00