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

Word2007 Writer : Added support for field REF #2652

Merged
merged 6 commits into from
Aug 12, 2024
Merged

Word2007 Writer : Added support for field REF #2652

merged 6 commits into from
Aug 12, 2024

Conversation

Progi1984
Copy link
Member

@Progi1984 Progi1984 commented Aug 12, 2024

Description

Word2007 Writer : Added support for field REF

  • Add REF options to $fieldsArray in PhpOffice\PhpWord\Element\Field.php
  • Added writeRef method to Handle REF options
$textRun->addField('REF', [
      'name' => 'my-bookmark'
  ], [
      'InsertParagraphNumberRelativeContext',
      'CreateHyperLink',
  ]);

Superseeds #2207 by @crystoline

Checklist:

  • My CI is 🟢
  • I have covered by unit tests my new code (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes
  • I have updated the changelog

@Progi1984 Progi1984 added this to the 2.0.0 milestone Aug 12, 2024
@Progi1984 Progi1984 mentioned this pull request Aug 12, 2024
3 tasks
@Progi1984 Progi1984 force-pushed the pr2207 branch 2 times, most recently from ac10b3c to 4f1ce84 Compare August 12, 2024 10:56
@coveralls
Copy link

coveralls commented Aug 12, 2024

Coverage Status

Changes unknown
when pulling 3e79d6d on pr2207
into ** on master**.

@Progi1984 Progi1984 merged commit 00febf5 into master Aug 12, 2024
12 of 13 checks passed
@Progi1984 Progi1984 deleted the pr2207 branch August 12, 2024 12:11
@Progi1984
Copy link
Member Author

Thanks @crystoline for your contribution.

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

Successfully merging this pull request may close these issues.

3 participants