Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RTF Writer: ListItemRun - Create #2823

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

Open
rasamassen wants to merge 5 commits into PHPOffice:master
base: master
Choose a base branch
Loading
from rasamassen:ListItemRun

Conversation

Copy link

@rasamassen rasamassen commented Sep 5, 2025
edited
Loading

Description

ListItemRun now works!

Depends on #2821

Limitations

  • In the Library, there's currently no way to pass a fontStyle for the whole ListItemRun, nor for TextRun. Without being able to pass a fontStyle to the whole Run and then specify specific changes within the run, it makes it much harder to make small changes. Let's say I want a list that's all size => 22, color => purple, bold => true, but there's one little item I want to underline. I'd have to either pass all the variables on every line of the run or I'd have to setup two different fontStyles. It would be simpler to setup one fontStyle and then pass the small change as a custom fontStyle where DIFF would override the default for the run (but if no change, default still applies).

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

Copy link

coveralls commented Sep 5, 2025
edited
Loading

Coverage Status

coverage: 96.765% (+0.008%) from 96.757%
when pulling eebb61a on rasamassen:ListItemRun
into 0ab0b49 on PHPOffice:master.

@rasamassen rasamassen changed the title (削除) RTF Writer: Create ListItemRun (削除ここまで) (追記) RTF Writer: ListItemRun - Create (追記ここまで) Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /