48 Commits

Author SHA1 Message Date
troosan
77f2b16bc1 update copyright to 2018 2018-03-08 23:52:25 +01:00
Frank Liepert
6a6497956d Allow to set "autoHyphenation" setting (#1282)
* Allow to set "autoHyphenation" for document
* Allow to set "consecutiveHyphenLimit" for document
* Allow to set "hyphenationZone" for document
* Allow to set "doNotHyphenateCaps" for document
* Allow to set "suppressAutoHyphens" for paragraph
* randomize the tempDir more
* Word2007 parsing title formatting (#1297)
* Improve Title parsing
- Title should be able to contain TextRun
- Style 'Title' should be treated the same with as Heading
- Add tests for Heading/Title reader
* update the documentation and the changelog
* PHP 7.2 build should not fail anymore
* fix parsing of footnotes and endnotes
* add method to remove an element from a section
* add method to allow sorting of sections
2018-03-06 22:19:39 +01:00
Samuel Laulhau
f3c73f333a Fix HTML parsing when style attribute is empty (#1295) 2018-02-27 23:24:00 +01:00
troosan
bded91af9f
Footnote in listitem (#1289)
* Allow footnote to be added in ListItems
2018-02-18 00:39:00 +01:00
troosan
304173c4d7 fix nested list 2018-02-08 07:02:28 +01:00
troosan
33739ea21c cannot add list on textrun 2018-02-07 21:39:01 +01:00
troosan
46476d7101 update phpdoc 2018-02-07 07:09:27 +01:00
troosan
47c837abef add unit tests 2018-02-06 23:31:56 +01:00
troosan
46a5f96d3b fix parsing of table and p inside table cells 2018-02-06 23:16:32 +01:00
troosan
0425a25cdb Add parsing of HTML links 2018-01-25 23:24:21 +01:00
samimussbach
4c68ebbe9d Parse formatting inside HTML lists (#1239) 2018-01-13 10:03:53 +01:00
troosan
d2b9e88047 add parsing of "align" HTML attribute 2017-12-29 15:16:03 +01:00
troosan
b614497ae6
fix dependencies to have 7.1 compatible build (#1228)
* add assertions in test methods without assertions
* loosen dependencies so 7.0 & 7.1 builds can succeed
* fix some scrutinizer errors
* update release date
2017-12-29 02:30:53 +01:00
SRG Group
3e6745f146 HTML image support & TextRun paragraph style (#934)
* Adding setParagraphStyle to Textrun for indentation
* Html Image support added
* fix formatting, add tests & update changelog
2017-12-21 00:03:52 +01:00
troosan
fd156bf12a
Merge branch 'develop' into html_br 2017-12-05 20:50:13 +01:00
troosan
9081ed9868 fix warning 2017-12-05 17:40:23 +01:00
troosan
8f512bf618 Merge branch 'develop-html-br' of https://github.com/anrikun/PHPWord
into develop

Conflicts:
	src/PhpWord/Shared/Html.php
2017-12-05 17:33:51 +01:00
troosan
274f50ce5a Add unit tests & add array type checks 2017-12-04 22:30:49 +01:00
troosan
e07195c512 add test, fix warnings 2017-11-22 08:14:22 +01:00
troosan
670d46e543 add getter/setter on paragraph for child spacing rule 2017-11-22 00:14:31 +01:00
troosan
ac357d10d5 Various fixes
- parse text inside list items
- add tests
- rename Cell widthType attribute to unit
2017-11-18 15:55:05 +01:00
troosan
8eb72c976a add HTML table parsing 2017-11-15 22:49:13 +01:00
troosan
a01d22ed67 improve HTML parser and add tests 2017-11-11 23:49:23 +01:00
troosan
9e7e07d0bc Add unit tests for Html parser 2017-11-09 00:41:56 +01:00
troosan
c8b55b8e59 Merge branch 'bring_back_bold_and_italic' of https://github.com/FBnil/PHPWord into bring_back_bold_and_italic 2017-11-08 21:46:55 +01:00
Nilton
fcdafeedd4 Bring back b, i, <span style="font-style: italic;"> and <span style="font-weight: bold;"> 2017-11-08 21:46:37 +01:00
troosan
0459670a9c
Enable php-cs-fixer in build & fix resulting warnings (#1099)
* enable php 7.1 build
* upgrade to dompdf/dompdf 0.8.*
* update phpunit & hide output during tests
* run code coverage analysis on 1 build only
* Add php-cs
* Update Copyright
2017-11-04 22:44:12 +01:00
Nilton
87a355bb82 Bring back b, i, <span style="font-style: italic;"> and <span style="font-weight: bold;"> 2017-10-21 00:07:52 +02:00
Roman Syroeshko
2bcfacfbf9 Updated copyright. 2016-07-31 12:35:08 +04:00
Roman Syroeshko
43fb23d896 Copyright update. 2015-12-05 21:26:01 +04:00
Henri MEDOT
f7afdebb03 Added support for linebreaks <br /> in Shared\Html::addHtml() 2015-11-12 18:51:04 +01:00
Roman Syroeshko
94c0d02330 Next round of refactoring of alignment-related functionality. 2015-10-10 19:06:23 +04:00
Roman Syroeshko
4445fd3258 Replaced array_key_exists with isset for better performance. 2014-10-10 21:10:29 +04:00
Roman Syroeshko
8056b6926c [CHANGED] Docblock for pass-by-reference parameters. 2014-07-03 16:11:15 +04:00
Roman Syroeshko
d0a609bc95 [CHANGED] Added "@return" annotation where it as missed. 2014-07-03 15:40:24 +04:00
Brandon Skrtich
d17a806305 Small fixes for addHtml.
Adding some HTML Entities to the test for addHTML
2014-06-09 16:32:12 -06:00
Ivan Lanin
38d3d7be20 Bugfix for #257: HTML Reader: <p> and header tags puts no output 2014-06-02 18:30:51 +07:00
Ivan Lanin
ec85d7d641 #80: Basic HTML reader 2014-05-31 03:06:11 +07:00
Ivan Lanin
0164e37873 Decompose Shared\Html 2014-05-31 02:01:09 +07:00
Ivan Lanin
4f9399899a QA: Docblock improvements and -q parameter for phpdoc 2014-05-30 20:44:06 +07:00
Ivan Lanin
04a62f3255 QA: Code cleanup and some additional tests 2014-05-14 19:41:44 +07:00
Ivan Lanin
8745c5ee30 Change behaviour of set... function of boolean properties; Some bug fixing based on Scrutinizer; New Row Word2007 style writer 2014-05-13 12:50:18 +07:00
Ivan Lanin
f8f98cccab #237: Ability to define table width (in percent and twip) and position 2014-05-13 01:32:44 +07:00
Ivan Lanin
c9179d681f Refactor elements and containers 2014-05-12 01:36:28 +07:00
Ivan Lanin
516c13e032 Some unit tests for the new features 2014-05-10 23:40:34 +07:00
Ivan Lanin
feff87e769 Fix Travis test errors 2014-05-10 21:56:06 +07:00
Ivan Lanin
62ed725032 Some modifications for the new Html::addHtml feature 2014-05-10 21:38:44 +07:00
Bas-Jan 't Jong
aa151c4010 Added function to add elements via HTML 2014-05-10 14:03:16 +02:00