-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Font-style addition: bgColor #145
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
Conversation
jcarignan
commented
Mar 18, 2014
- Meant to replace fgColor, can now use any hex color instead of the 15 constants FGCOLOR_xyz in Font.php
- Preserve spaces after text fixed (Base.php line 78)
- usage: $section->addText(" myText ", array("bgColor" => "112233"));
- Meant to replace fgColor, can now use any hex color instead of the 15 constants FGCOLOR_xyz in Font.php - Preserve spaces after text fixed (Base.php line 78) Signed-off-by: Julien Carignan <[email protected]>
…hould go into sys_get_temp_dir() instead of "./" Signed-off-by: Julien Carignan <[email protected]>
… after a table - Code mostly come from this discussion: https://phpword.codeplex.com/discussions/440933 - Adapted and works for 0.8.1 - Usage: $table->addRow(5000, $rowStyle, "exact"); Signed-off-by: Julien Carignan <[email protected]>
@jcarignan Could you add some unit Tests and a sample ? |
Signed-off-by: Julien Carignan <[email protected]>
Signed-off-by: Julien Carignan <[email protected]>
Just added 2 samples, I'm not sure what to add in the Tests folder, désolé! |
I suggest we hold this until #58 resolved. |
@jcarignan Could you update your code with the develop branch, plz ? |
@Progi1984 Done, sorry for pulling to the wrong branch! #168 |
Good addition @jcarignan. Thanks. I would like to suggest us to use Style\Row along with For the |
I close this one. Go #168 ! |
@Progi1984 I haven't merged this pull :) Have you? |
No. But this PR points to master. #168 points to develop. It's why I close this one. |
Ok :) |