Skip to content

Commit

Permalink
Merge pull request PHPOffice#1339 from meteocontrol/feature-wrong-uni…
Browse files Browse the repository at this point in the history
…t-in-image-doc

Wrong unit in image style documentation
  • Loading branch information
troosan authored Apr 13, 2018
2 parents 57edede + 833cf07 commit 3380aa8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ v0.15.0 (?? ??? 2018)

### Changed
- Remove zend-stdlib dependency @Trainmaster #1284
- The default unit for `\PhpOffice\PhpWord\Style\Image` changed from `px` to `pt`.


v0.14.0 (29 Dec 2017)
Expand Down
4 changes: 2 additions & 2 deletions docs/elements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ Available line style attributes:
- ``dash``. Line types: dash, rounddot, squaredot, dashdot, longdash, longdashdot, longdashdotdot.
- ``beginArrow``. Start type of arrow: block, open, classic, diamond, oval.
- ``endArrow``. End type of arrow: block, open, classic, diamond, oval.
- ``width``. Line-object width in pt.
- ``height``. Line-object height in pt.
- ``width``. Line-object width in *pt*.
- ``height``. Line-object height in *pt*.
- ``flip``. Flip the line element: true, false.

Chart
Expand Down
4 changes: 2 additions & 2 deletions docs/styles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ Image
Available Image style options:

- ``alignment``. See ``\PhpOffice\PhpWord\SimpleType\Jc`` class for the details.
- ``height``. Height in pixels.
- ``height``. Height in *pt*.
- ``marginLeft``. Left margin in inches, can be negative.
- ``marginTop``. Top margin in inches, can be negative.
- ``width``. Width in pixels.
- ``width``. Width in *pt*.
- ``wrappingStyle``. Wrapping style, *inline*, *square*, *tight*, *behind*, or *infront*.
- ``wrapDistanceTop``. Top text wrapping in pixels.
- ``wrapDistanceBottom``. Bottom text wrapping in pixels.
Expand Down

0 comments on commit 3380aa8

Please sign in to comment.