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 support for section vAlign #1569

Merged
merged 2 commits into from
Feb 6, 2019

Conversation

troosan
Copy link
Contributor

@troosan troosan commented Feb 5, 2019

Description

Add support for section vertical text alignment
http://www.datypic.com/sc/ooxml/e-w_vAlign-1.html

Fixes #672

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 94.58% when pulling e3020c0 on troosan:page_vertical_align into 5b0c8a3 on PHPOffice:develop.

@troosan troosan merged commit 6e17274 into PHPOffice:develop Feb 6, 2019
@troosan troosan deleted the page_vertical_align branch February 6, 2019 06:44
@troosan troosan added this to the v0.17.0 milestone Feb 6, 2019
@xcephpdev
Copy link

Hi,
I was looking for this solution but I did not understand how I implement this in the PHP word.
I am passing My value in this way:
$section = $phpWord->addSection(array(
'pageSizeW' => $width,
'pageSizeH' => $height,
'marginTop' => $marginTop,
'marginRight' => $marginRight,
'marginLeft' => $marginLeft,
'marginBottom' => $marginBottom,
)
);

Can you please explain how I pass the page_vertical_align in this array.
Regards:
Xce Developer

@xcephpdev
Copy link

xcephpdev commented Oct 16, 2019

Hi,

Can you let me know that how I can use Page vertical align in this array.

Thanks and Regards:
Xce Developer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

can't align center vertically with the text
3 participants