lubosdz
4448bda721
Better normalization for width of borders
2020-07-14 01:31:16 +02:00
lubosdz
889f4e3381
fix converting margin to incorrect unit (points instead of twips)
...
fix image alignment on float - relative to inner margin instead of page margin
2020-07-11 23:03:51 +02:00
lubosdz
3066d47003
Html parser (addHtml) - support vertical-align, valign
2020-07-11 22:47:40 +02:00
lubosdz
108c1cdc55
Html parser (addHtml) - support attributes start, type in ordered list <ol>
2020-07-11 17:20:36 +02:00
lubosdz
ca5f081302
Html parser (addHtml) - support horizontal rule <hr/>
2020-07-11 15:42:28 +02:00
lubosdz
e180cfe456
Html parser (addHtml) - support cellspacing, bgColor
2020-07-11 00:24:08 +02:00
lubosdz
701f770ab7
Html parser (addHtml) - support width in tables & cells
2020-07-10 23:44:25 +02:00
owen
ecfafd7576
RTF Changes
...
1. Converter is currently expecting colors as strings of hex digits,
but PhpWord allows specification of colors by named constant, so
result is random when one of those is used. This change handles
all the named colors.
2. Table needs \pard at end; formatting may be wrong without it.
3. RTF writer will no longer ignore paragraph style for TextRun.
4. RTF writer will no longer ignore paragraph and font style for Title.
5. Add support for RTF headers and footers.
6. Add support for right-to-left in font.
7. Add support for PageBreakBefore and LineHeight for paragraphs.
8. Add support for PageNumberingStart for sections.
There are test cases for all of these changes.
2019-12-03 07:46:16 -08:00
owen
ebf5cf784f
Convert named constant colors to RGB in Shared/Converter.
...
Otherwise, colors will not be as expected for RTF and ODT.
2019-11-19 14:24:29 -08:00
troosan
3219950d59
trim color codes and add tests
2019-02-06 22:07:42 +01:00
troosan
5206c7f690
fix parsing of border-color and add test
2019-02-06 18:19:01 +01:00
troosan
c408ac5d50
Use embedded http server to test loading of remote images
2018-12-30 14:14:27 +01:00
troosan
d8d697c848
added convertors with test
2018-12-28 18:04:36 +01:00
troosan
7aef21faca
add test for parsing HTML containing entities
2018-11-28 22:03:43 +01:00
troosan
af4f834149
Merge branch 'develop' into develop
2018-07-14 17:12:45 +02:00
troosan
adc1428607
use PasswordEncoder from phpoffice/common instead
2018-07-14 02:51:08 +02:00
Javier Garcia
2593e9e200
Merge branch 'develop' of github.com:jgpATs2w/PHPWord into develop
2018-06-13 17:57:55 +02:00
Javier Garcia
fe647f6e55
fix when style line-height size comes in decimal number
2018-06-13 17:41:17 +02:00
javier
1a06173e1b
Add parsing of html image in base64 format ( #1382 )
...
* increased test coverage of new lines
* added exception control to file_get_contents error
* update changelog
2018-05-31 01:28:14 +02:00
troosan
da604a80c4
use annotation instead
2018-05-27 20:53:42 +02:00
Javier Garcia
a89e4c93a7
added exception control to file_get_contents error
2018-05-25 08:01:17 +02:00
Javier Garcia
46b7bea097
increased test coverage of new lines
2018-05-24 07:19:45 +02:00
Javier Garcia
a228811a61
fixes
2018-05-23 18:48:28 +02:00
Javier Garcia
d54cc6efee
fix lint
2018-05-23 18:35:12 +02:00
Javier Garcia
58c6c52ee9
merged with local version
2018-05-23 18:22:54 +02:00
troosan
94be56b0ec
fix parsing of link style
2018-04-25 23:57:07 +02:00
troosan
dd27f668e0
add line height test
...
[ci skip]
2018-04-14 22:42:58 +02:00
troosan
9bc85347ef
fix code formatting
2018-04-14 21:15:36 +02:00
troosan
6ba2df474f
Merge pull request #1336 from lalop/addhtpl-bookmark
...
support internal link in addHtml method
2018-04-13 22:40:09 +02:00
Sam
ca82e19bba
support internal link in addHtml method
2018-04-07 11:24:52 +02:00
troosan
f73beaa26a
reset static collections at instantiation
2018-03-19 23:06:00 +01:00
troosan
16a9ded2c9
add exact line spacing test
2018-03-19 22:50:55 +01:00
troosan
997e21433c
add parsing of line-height and text-indent
2018-03-18 22:32:55 +01:00
troosan
77f2b16bc1
update copyright to 2018
2018-03-08 23:52:25 +01:00
Samuel Laulhau
f3c73f333a
Fix HTML parsing when style attribute is empty ( #1295 )
2018-02-27 23:24:00 +01:00
troosan
24f3463f9a
remove output
2018-02-08 07:18:02 +01:00
troosan
c0ed4ab03d
Merge remote-tracking branch 'samimussbach/PHPWord/fixNestedLists' into various_html_parsing_fixes
2018-02-08 07:02:38 +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
Sami Mussbach
e0096dba08
fix typo in test method name
2018-02-01 14:12:56 +01:00
Sami Mussbach
8a9a4784d9
add (failing) test and correct documentation sample to valid HTML
2018-02-01 13:58:08 +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
200c2f1eb0
Merge pull request #1019 from jun-i-corn/feature/EnablePasswordProtection
...
enable password protection (Word)
2017-12-20 22:00:34 +01:00
troosan
ad38d4c20f
Merge branch 'feature/EnablePasswordProtection' of https://github.com/jun-i-corn/PHPWord into feature/EnablePasswordProtection
2017-12-13 23:25:32 +01:00
troosan
9e029415cc
align with pull request submitted in PHPOffice/Commom
2017-12-13 23:17:01 +01:00
troosan
fd156bf12a
Merge branch 'develop' into html_br
2017-12-05 20:50:13 +01:00