Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tables and expose styles in addHtml #420

Closed
wants to merge 166 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
4dd85e2
Version and changelog for 0.12.0
ivanlanin Jun 1, 2014
b38dd82
Merge branch 'master' into develop
ivanlanin Jun 2, 2014
a66f93c
#123: New drawing shapes (arc, curve, line, polyline, rect, oval)
ivanlanin Jun 2, 2014
61d8dbd
QA: Small fixes for #258 based on Scrutinizer https://scrutinizer-ci.…
ivanlanin Jun 2, 2014
420cf2b
Merge pull request #258 from ivanlanin/develop
ivanlanin Jun 2, 2014
e3dd449
#238: Known issue about read/write permission on temp folder
ivanlanin Jun 2, 2014
7030221
Merge remote-tracking branch 'upstream/develop' into develop
ivanlanin Jun 2, 2014
9c8620e
Refactor `IOFactory` to remove duplication
ivanlanin Jun 2, 2014
a2294b4
Font: New `scale`, `spacing`, and `kerning` property of font style
ivanlanin Jun 4, 2014
d576060
Fix rare PclZip/realpath/PHP version problem
andrew-kzoo Jun 4, 2014
2328e34
Refactor Word2007/Element to identify the same properties
ivanlanin Jun 3, 2014
1accec2
Refactor styles: Inherit Image and Line from Frame
ivanlanin Jun 5, 2014
f44ff4b
Added shading to the paragraph style for full width shading
Jun 5, 2014
00c6b76
Merge branch 'feature-paragraphBgColor' of github.com:lrobert/PHPWord…
ivanlanin Jun 5, 2014
479713d
Update changelog and unit test for #264
ivanlanin Jun 5, 2014
d97602f
Reduce duplications and fix some docblocks
ivanlanin Jun 5, 2014
3d2cd16
Ensure temp file in pclzipAddFile() removed
andrew-kzoo Jun 5, 2014
49f4e6b
RTF Writer: Support for sections, margins, and borders #249
ivanlanin Jun 6, 2014
a2ec62a
Section: Ability to set paper size, e.g. A4, A3, and Legal
ivanlanin Jun 6, 2014
09a143f
QA: Type check fix for RTF section style and docblock comment fix for…
ivanlanin Jun 6, 2014
8b0472d
Autoloader Options
hskrtich Jun 6, 2014
7bbaab3
Merge branch 'fix-rare-pclzip-realpath-php-version-issue' of github.c…
ivanlanin Jun 7, 2014
bc6b40d
Merge branch 'fix-rare-pclzip-temp-file-issue' of github.com:andrew-k…
ivanlanin Jun 7, 2014
0489533
Merge branch 'develop' of github.com:bskrtich/PHPWord into develop
ivanlanin Jun 7, 2014
01853f7
Update change log and adjust some coding standards for #261, #265, an…
ivanlanin Jun 7, 2014
8938439
Refactor elements to move set relation Id from container to element
ivanlanin Jun 7, 2014
a9c9c21
Fix Travis test error
ivanlanin Jun 7, 2014
63d53ac
Use section "style" instead of "settings" for consistency
ivanlanin Jun 8, 2014
3197524
Docs: Restructure documentation
ivanlanin Jun 8, 2014
e952fde
Refactor PhpWord to reduce dependencies
ivanlanin Jun 8, 2014
6839ee4
New `PhpWord::save()` method to encapsulate `IOFactory`
ivanlanin Jun 8, 2014
1ec0589
Update basic example
ivanlanin Jun 8, 2014
4c04071
Fix typo: ODT > ODText
ivanlanin Jun 9, 2014
d17a806
Small fixes for addHtml.
hskrtich Jun 9, 2014
8e93c91
Update changelog for #270
ivanlanin Jun 10, 2014
056ff5e
Basic chart support
ivanlanin Jun 10, 2014
a93b686
Chart improvements
ivanlanin Jun 11, 2014
f54d9a1
#274: Page breaks on titles and tables
ivanlanin Jun 11, 2014
e9f8e88
#275: Recipe for adding a link within a title
ivanlanin Jun 11, 2014
9a5f91a
Merge branch 'develop' into chart
ivanlanin Jun 12, 2014
8c2b099
Merge `Shared\Drawing` and `Shared\Font` into `Shared\Converter`
ivanlanin Jun 14, 2014
3fef190
#278: Basic chart
ivanlanin Jun 12, 2014
0f085f7
Merge branch 'chart' into develop
ivanlanin Jun 14, 2014
a13e5b2
#278: 3D charts and ability to set width and height
ivanlanin Jun 15, 2014
6a81691
#266: Ability to add textinput, checkbox, and dropdown form elements
ivanlanin Jun 15, 2014
384107e
Ability to define document protection and new `Metadata` subnamespace
ivanlanin Jun 16, 2014
5c8e100
Bugfix #280: Table inside vertical border does not rendered properly
ivanlanin Jun 16, 2014
71b4ac9
FIXED : #282 : problem converting docx to pdf
Progi1984 Jun 17, 2014
f193534
FIXED : CI : Error with the generation of the PHPDoc
Progi1984 Jun 17, 2014
eeca396
[CHANGED] Added annotations to StyleTest and performed minor refactor…
Jun 19, 2014
c11df2e
[CHANGED] Added annotations to StyleTest and performed minor refactor…
Jun 19, 2014
d35db83
[CHANGED] Added annotations to StyleTest and performed minor refactor…
Jun 20, 2014
0ea2193
[CHANGED] Replaced "assertEquals" with "assertCount" where it was nec…
Jun 20, 2014
cd54792
New structured document tag (SDT) element
ivanlanin Jun 20, 2014
b527d06
#23 : Implement Word97 aka MsDoc Reader
Progi1984 Jun 21, 2014
df8de96
#23 : Implement Word97 aka MsDoc Reader
Progi1984 Jun 21, 2014
5be8414
Settings: OOXML compatibility
ivanlanin Jun 20, 2014
8efe80b
QA: Use Composer for Travis test tools
ivanlanin Jun 22, 2014
ea6ec47
Update composer dependencies
ivanlanin Jun 22, 2014
6e175ab
Revert phpunit to 3.7.* because 4.* is too slow sebastianbergmann/php…
ivanlanin Jun 22, 2014
b2daeed
Merge branch 'develop' into sdt
ivanlanin Jun 23, 2014
a5c857f
#289 : Update elements.rst
Progi1984 Jun 24, 2014
b5a63c5
Elaborate SDT elements
ivanlanin Jun 28, 2014
2d351c9
Merge branch 'sdt' into develop
ivanlanin Jun 28, 2014
689a737
Fix Travis errors
ivanlanin Jun 28, 2014
33570f7
#294: Support for paragraph with borders
ivanlanin Jun 28, 2014
415d9b9
Update tests
ivanlanin Jun 29, 2014
40e4134
Fix PHPCS
ivanlanin Jun 29, 2014
d8aef5c
Bugfix #294: `add<elementName>` of container should be case insensitive
ivanlanin Jul 1, 2014
3c694ea
[NEW] Introduced CreateTemporaryFileException.
Jul 2, 2014
ea826ec
[NEW] Introduced CreateTemporaryFileException.
Jul 2, 2014
dbc9737
[NEW] Introduced CreateTemporaryFileException.
Jul 2, 2014
369f55a
[NEW] Introduced CreateTemporaryFileException.
Jul 2, 2014
75c8e7e
[NEW] Introduced CopyFileException.
Jul 2, 2014
c446028
[Changed] Refactored Template a little.
Jul 2, 2014
e1164f8
[Changed] Refactored Template a little.
Jul 2, 2014
52406da
For absolute positioning vPos and hPos need to be set to POS_ABSOLUTE
Jul 2, 2014
20d986b
[CHANGED] Documentation on Zip API providers.
Jul 3, 2014
d0a609b
[CHANGED] Added "@return" annotation where it as missed.
Jul 3, 2014
8056b69
[CHANGED] Docblock for pass-by-reference parameters.
Jul 3, 2014
4a02142
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
2c5d13c
[FIXED] Typo in Section->addHeaderFooter().
Jul 4, 2014
f2e9e37
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
47a17a3
Revert: [FIXED] Wrong use of passing by reference.
Jul 4, 2014
1b9b8d4
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
d54a674
add element bookmark and allow links to internal bookmarks in Word2007
jonnsn Jul 4, 2014
fdeefb7
include minor changes from develop branch
jonnsn Jul 4, 2014
475c76d
convert tabs to spaces
jonnsn Jul 4, 2014
4d060b3
sync with develop-branch
jonnsn Jul 4, 2014
f2c4329
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
87c3df5
add missing file
jonnsn Jul 4, 2014
fd209fc
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
c4638df
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
7bbe1ed
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
197c6ec
[FIXED] Wrong use of passing by reference.
Jul 4, 2014
7c8ff28
add sample
jonnsn Jul 4, 2014
6c9cffd
updated documentation for link-Element.
jonnsn Jul 4, 2014
7202634
fix wrong formatting
jonnsn Jul 4, 2014
a23ff4d
Merge pull request #305 from jonnsn/internal-links
Progi1984 Jul 6, 2014
61406af
FIXED : #292 : Update elements.rst
Progi1984 Jul 9, 2014
07e03fc
bugfix: specific borders were not written correctly in word2007
pscheit Jul 15, 2014
9c66921
Merge pull request #327 from pscheit/bugfix-margin-border-develop
Progi1984 Aug 4, 2014
06005e3
Update CHANGELOG.md
Progi1984 Aug 4, 2014
f25833c
#327 : Fixes PHP-MD errors
Progi1984 Aug 4, 2014
56c3d8e
https://github.com/PHPOffice/PHPWord/issues/310
Aug 10, 2014
e6d88a2
Refactored usages of "tempnam()" function.
Aug 10, 2014
e31f080
Removed unused comment.
Aug 10, 2014
3d06c77
Minor refactoring of "Shared\ZipArchive" class.
Aug 10, 2014
6f2d444
https://github.com/PHPOffice/PHPWord/issues/310
Aug 11, 2014
8d9e85b
#331 : Word2007 Writer : Support for RTL
Progi1984 Aug 12, 2014
ca69de3
#23 : Implement Word97 aka MsDoc Reader
Progi1984 Aug 15, 2014
e561d54
Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into d…
Progi1984 Aug 16, 2014
4ade9c3
#23 : Implement Word97 aka MsDoc Reader (PHPCS-PHPMD Fixes)
Progi1984 Aug 16, 2014
90d64bd
#23 : Implement Word97 aka MsDoc Reader (PHPCS-PHPMD Fixes)
Progi1984 Aug 16, 2014
1a40f66
#23 : Implement Word97 aka MsDoc Reader (Changelog)
Progi1984 Aug 16, 2014
ec25dd3
https://github.com/PHPOffice/PHPWord/issues/216
Aug 16, 2014
5a75d84
Merge remote-tracking branch 'origin/develop' into develop
Aug 16, 2014
0151a21
#23 : Implement Word97 aka MsDoc Reader (Documentation )
Progi1984 Aug 16, 2014
8da62eb
Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into d…
Progi1984 Aug 16, 2014
d66e855
#23 : Implement Word97 aka MsDoc Reader (Documentation )
Progi1984 Aug 16, 2014
bf0136c
https://github.com/PHPOffice/PHPWord/issues/216
Aug 16, 2014
62c7991
Update CONTRIBUTING.md
Aug 18, 2014
48322ca
Merge pull request #339 from franzholz/patch-2
Progi1984 Aug 18, 2014
9757fbb
[FIXED] https://github.com/PHPOffice/PHPWord/issues/340
Aug 23, 2014
d11b0de
[FIXED] https://github.com/PHPOffice/PHPWord/issues/340
Aug 23, 2014
9b3b1aa
Set the right method name for addShape() in PHPDoc @method for Abstra…
gmta Aug 30, 2014
c4cbabe
Merge pull request #302 from basjan/absolute-positioning
Sep 7, 2014
42955f1
Merge pull request #302 from basjan/absolute-positioning
Sep 7, 2014
5811aac
Merge pull request #302 from basjan/absolute-positioning
Sep 7, 2014
fdbd983
Merge pull request #356 from GMTA/develop
Sep 7, 2014
5adbae4
Merge pull request #356 from GMTA/develop
Sep 7, 2014
941d2c7
Update CONTRIBUTING.md
Sep 10, 2014
5b11071
Merge pull request #366 from franzholz/patch-1
Progi1984 Sep 11, 2014
5cdf329
Update CONTRIBUTING.md
Sep 16, 2014
68422ef
Merge pull request #373 from franzholz/patch-3
Sep 17, 2014
24d8cc7
Update installing.rst
Sep 18, 2014
dbe160d
Merge pull request #374 from franzholz/patch-3
Progi1984 Sep 18, 2014
8912786
Update CONTRIBUTING.md
Sep 20, 2014
b49f08b
Merge pull request #376 from franzholz/patch-3
Progi1984 Sep 21, 2014
c8b6499
Update installing.rst
Sep 22, 2014
27b0c69
Update Head.php
Sep 22, 2014
556a8b5
Merge pull request #377 from franzholz/patch-3
Progi1984 Sep 22, 2014
6c3088e
Merge pull request #378 from franzholz/patch-4
Progi1984 Sep 22, 2014
4e25283
Add missing setters for pageSizeW and pageSizeH
spikex Sep 22, 2014
cf96ea0
Width/Height set/get tests
spikex Oct 2, 2014
cf5625b
Update pageSizeW and pageSizeH docs
spikex Oct 2, 2014
cea15f3
Use page width and height default constants in tests
spikex Oct 2, 2014
1127120
Update Changelog for setPageSizeW and setPageSizeH
spikex Oct 2, 2014
9d73173
Merge pull request #390 from spikex/develop
Progi1984 Oct 3, 2014
4445fd3
Replaced `array_key_exists` with `isset` for better performance.
Oct 10, 2014
2c81d5f
Some phpdoc for https://github.com/PHPOffice/PHPWord/pull/390.
Oct 10, 2014
06d6b71
[CHANGED] "tests/bootstrap.php".
Oct 14, 2014
fa575ef
Minor refactoring.
Oct 14, 2014
d231641
Update Documentation
Progi1984 Oct 15, 2014
7b2ec5e
Reverted #373.
Oct 16, 2014
b1acecb
Correct spelling of fldCharType separate. See https://www.ecma-interna…
Oct 20, 2014
6784fb2
Merge pull request #400 from pjt33/develop
Progi1984 Oct 20, 2014
b2286f8
[FIXED] https://github.com/PHPOffice/PHPWord/issues/401
Oct 22, 2014
b4be9c6
https://github.com/PHPOffice/PHPWord/issues/310
Nov 3, 2014
53eaf47
[CHANGED] "CONTRIBUTING.md".
Nov 3, 2014
3a11daa
[CHANGED] "CONTRIBUTING.md".
Nov 3, 2014
89e722e
[CHANGED] "CONTRIBUTING.md".
Nov 3, 2014
f4b5eaa
[FIXED] https://github.com/PHPOffice/PHPWord/issues/401
Nov 4, 2014
c0e04fa
Reverted #51.
Nov 7, 2014
e7fdb7f
Reverted #51.
Nov 7, 2014
bb580d7
Implement tables and expose styles for addHtml function
Nov 12, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#238: Known issue about read/write permission on temp folder
  • Loading branch information
ivanlanin committed Jun 2, 2014
commit e3dd4494f3f0864bc7e21de5b208a70bb38911a4
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ None yet.

### Miscellaneous

None yet.
- Docs: Add known issue on `README` about requirement for temporary folder to be writable and update `samples/index.php` for this requirement check - @ivanlanin GH-238

## 0.11.1 - 2 June 2014

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'RTF');
$objWriter->save('helloWorld.rtf');
```

## Known issues

- GH-238: PHPWord uses temporary folder with `sys_get_temp_dir()` extensively. The default setting on some systems (especially Windows) do not give appropriate read/write permission to this folder. Run `samples/index.php` either by CLI or by web browsers to check if you have this requirement fulfilled.

## Contributing

We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute:
Expand Down
2 changes: 2 additions & 0 deletions samples/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
$requirements = array(
'php' => array('PHP 5.3.0', version_compare(phpversion(), '5.3.0', '>=')),
'xml' => array('PHP extension XML', extension_loaded('xml')),
'temp' => array('Temp folder "<code>' . sys_get_temp_dir() . '</code>" is writable', is_writable(sys_get_temp_dir())),
'zip' => array('PHP extension ZipArchive (optional)', extension_loaded('zip')),
'gd' => array('PHP extension GD (optional)', extension_loaded('gd')),
'xmlw' => array('PHP extension XMLWriter (optional)', extension_loaded('xmlwriter')),
Expand Down Expand Up @@ -34,6 +35,7 @@
echo 'Requirement check:' . PHP_EOL;
foreach ($requirements as $key => $value) {
list($label, $result) = $value;
$label = strip_tags($label);
$status = $result ? '32m passed' : '31m failed';
echo "{$label} ... \033[{$status}\033[0m" . PHP_EOL;
}
Expand Down