docx refactor #1422

ryannikolaidis merged 34 commits into main from scanny/docx-rfctr
scanny
scanny scanny force pushed from f9f0d34a to c8d5a0ec 2 years ago
Klaijan
Klaijan commented on 2023-09-14
scanny scanny force pushed from c8d5a0ec to 6d084265 2 years ago
scanny scanny marked this pull request as ready for review 2 years ago
Klaijan
Klaijan commented on 2023-09-14
scanny scanny force pushed from 6d084265 to 36dcb4e5 2 years ago
Klaijan Klaijan requested a review from qued qued 2 years ago
Klaijan
scanny scanny force pushed from 36dcb4e5 to 28e9ab4f 2 years ago
scanny scanny force pushed from 53d71300 to 0f2cb8b3 2 years ago
scanny scanny force pushed from 0f2cb8b3 to 3a4ff448 2 years ago
scanny scanny force pushed from 3a4ff448 to 235d78e0 2 years ago
scanny scanny force pushed from cf770b8d to 85cf1a4d 2 years ago
scanny scanny force pushed from 85cf1a4d to fa062515 2 years ago
scanny scanny force pushed from fa062515 to c87038a9 2 years ago
scanny scanny force pushed from c87038a9 to 09d8f924 2 years ago
scanny scanny force pushed from 09d8f924 to 0db3b492 2 years ago
scanny scanny force pushed from 0db3b492 to 8e2c8a0c 2 years ago
scanny scanny force pushed from 8e2c8a0c to dfea4468 2 years ago
scanny scanny force pushed from dfea4468 to f515ec1b 2 years ago
scanny scanny force pushed from f515ec1b to f82793e6 2 years ago
scanny scanny force pushed from f82793e6 to 972bcfab 2 years ago
scanny scanny force pushed from 972bcfab to f840e6f8 2 years ago
scanny scanny force pushed from f840e6f8 to 3b8f4d86 2 years ago
Klaijan
Klaijan commented on 2023-09-18
Klaijan
Klaijan approved these changes on 2023-09-18
qued
qued approved these changes on 2023-09-18
scanny scanny force pushed from 26079d86 to 3769abcb 2 years ago
scanny scanny force pushed from 3769abcb to 48c8330a 2 years ago
scanny scanny force pushed from 3769abcb to d7962cce 2 years ago
scanny docs: small docs corrections
ce8c2575
scanny config: Black config requires pyproject.toml
fde60009
scanny typing: add type stubs for python-docx/pptx
5df3d544
scanny typing: docx.py type-checks clean on strict
5fac3c63
scanny tests: allow RSpec-style test-naming
c2d1c261
scanny rfctr: move convert_and_partition_docx() up
71804580
scanny rfctr: mv Paragraph.runs monkey-patch to bottom
a5692fff
scanny rfctr: add initial _DocxPartitioner
d5a3f7ab
scanny rfctr: replace partition_docx implementation ...
b7263c13
scanny rfctr: move parameters to instance variables
eb86714a
scanny rfctr: add _DocxPartitioner._iter_document_elements()
df6e7639
scanny rfctr: extract _DocxPartitioner._document
093c7aed
scanny rfctr: incorporate ._element_contains_pagebreak()
28e50394
scanny rfctr: extract ._document_contains_pagebreaks
fe520a00
scanny rfctr: extract ._last_modified (date)
1d7e9f89
scanny rfctr: extract ._page_number, ._increment_page_number
0ae2f6d5
scanny rfctr: extract ._is_list_item()
faca034b
scanny rfctr: incorporate ._iter_paragraph_emphasis()
21ffa9f8
scanny rfctr: extract ._paragraph_emphasis
61d3c8b3
scanny rfctr: incorporate ._style_based_element_type()
7b7c191f
scanny rfctr: incorporate ._parse_paragraph_text_for_element_type()
bf899948
scanny rfctr: extract ._paragraph_metadata()
590f5f2f
scanny rfctr: extract ._iter_paragraph_elements()
a27fb64a
scanny rfctr: extract ._table_emphasis()
ee4c814b
scanny rfctr: extract ._iter_table_element()
8c0b6c6f
scanny docx: add _SectBlockIterator
0583d018
scanny rfctr: install _SectBlockIterator
056c67e8
scanny docx: add ._iter_section_page_breaks()
3118e8c9
scanny rfctr: extract ._iter_section_headers()
0678635d
scanny rfctr: extract ._iter_section_footers()
324ec1be
scanny rfctr: extract ._iter_maybe_paragraph_page_breaks()
230ead6c
scanny rfctr: improve convert_and_partition_docx()
c1eddb37
scanny pr: add CHANGELOG entry for this PR
6f3f0171
scanny fix: CI lint complaints
4d3ac35c
scanny scanny force pushed from 01df5e36 to 6f3f0171 2 years ago
ryannikolaidis ryannikolaidis merged b54994ae into main 2 years ago
ryannikolaidis ryannikolaidis deleted the scanny/docx-rfctr branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone