Skip to content

Conversation

@elsdrium
Copy link

@elsdrium elsdrium commented Mar 31, 2019

Description

In the past, only heading style names (e.g. Heading1, Heading2, Heading3, ...etc) were added to heading text during HTML parsing. But there is no actual heading style were created correspondingly. That is the root cuase of #334.

This PR is going to set proper default heading styles during HTML parsing. The default style values are same as I observed from Microsoft Word Online.

Fixes #334

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.003%) to 94.632% when pulling 0a7545e on elsdrium:develop into 1534dc2 on PHPOffice:develop.

@BenaddiRar
Copy link

this solution work fine for me (update manual vendor), can you fix the Travis issue please and make the merge to have a new worker version ??

arthur and others added 26 commits September 29, 2020 01:17
Fix a typo in a link
This commit fixes issue PHPOffice#1529 This commit prevents nested w:pPr elements when using a ListItemRun with a paragraph style. The different between a ListItem and a ListItem run is that the setWithoutPPR method is called on the ParagraphStyleWriter (PhpOffice\PhpWord\Writer\Word2007\Style\Paragraph). According to the specs it's not allowed to have nested w:pPr elements. See http://www.datypic.com/sc/ooxml/e-w_pPr-2.html
By allowing to set the numId in the ListItem style manually, you can separate lists. Every ListItem with the same numId belongs to one list. This allows you to restart list counting.
@PowerKiKi PowerKiKi changed the base branch from develop to master November 16, 2022 21:15
@Progi1984 Progi1984 force-pushed the master branch 3 times, most recently from 2d9f999 to e458249 Compare August 30, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet