python-hwpx 2.4__py3-none-any.whl → 2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hwpx/oxml/document.py +6 -1
- {python_hwpx-2.4.dist-info → python_hwpx-2.5.dist-info}/METADATA +1 -1
- {python_hwpx-2.4.dist-info → python_hwpx-2.5.dist-info}/RECORD +7 -7
- {python_hwpx-2.4.dist-info → python_hwpx-2.5.dist-info}/WHEEL +0 -0
- {python_hwpx-2.4.dist-info → python_hwpx-2.5.dist-info}/entry_points.txt +0 -0
- {python_hwpx-2.4.dist-info → python_hwpx-2.5.dist-info}/licenses/LICENSE +0 -0
- {python_hwpx-2.4.dist-info → python_hwpx-2.5.dist-info}/top_level.txt +0 -0
hwpx/oxml/document.py
CHANGED
|
@@ -2541,7 +2541,12 @@ class HwpxOxmlTable:
|
|
|
2541
2541
|
existing_target.set_size(col_width, row_height)
|
|
2542
2542
|
continue
|
|
2543
2543
|
|
|
2544
|
-
|
|
2544
|
+
# Use makeelement() so the new cell matches the XML engine
|
|
2545
|
+
# of the existing tree (stdlib ET or lxml). ET.Element()
|
|
2546
|
+
# always produces stdlib elements which cannot be appended to
|
|
2547
|
+
# an lxml tree (and vice-versa), causing TypeError at runtime
|
|
2548
|
+
# when splitting cells in documents parsed via lxml.
|
|
2549
|
+
new_cell_element = row_element.makeelement(f"{_HP}tc", dict(template_attrs))
|
|
2545
2550
|
for child in preserved_children:
|
|
2546
2551
|
new_cell_element.append(deepcopy(child))
|
|
2547
2552
|
|
|
@@ -9,7 +9,7 @@ hwpx/opc/xml_utils.py,sha256=1Cr9ZGR0z1N0NaFxnaHcC7Ne38UoyERGEd878F3co5s,3445
|
|
|
9
9
|
hwpx/oxml/__init__.py,sha256=N7APpTysxbxfZ2UehK2pGeiAuP0MeQrUA8hzIkY4mkQ,4962
|
|
10
10
|
hwpx/oxml/body.py,sha256=ALvxB_sLU-EoNpldMlnbv4QZEUXyWJMj6cwWVNRXRx4,13284
|
|
11
11
|
hwpx/oxml/common.py,sha256=-WkPxXsAcCxddzRPBfVHS_nZBuSd5g3_CzZyz2lU7Ss,1006
|
|
12
|
-
hwpx/oxml/document.py,sha256=
|
|
12
|
+
hwpx/oxml/document.py,sha256=Nreec60dgsU_KWW83_JIv3jp6hlVkiAJvMO3ELi6VnE,170725
|
|
13
13
|
hwpx/oxml/header.py,sha256=L1gcBMgROFX9mH8Fj9Kipb7tKWItTKO4mxBbwaoLpDM,43042
|
|
14
14
|
hwpx/oxml/header_part.py,sha256=HXTDlaUzZ6DVfiZDGge2FuqTstEmUqdobiJ0dqjuYyk,193
|
|
15
15
|
hwpx/oxml/memo.py,sha256=qow_mWIQv0AlnIdFdnaL9n-tR0Xws0kv2lGNzefrCB8,190
|
|
@@ -27,9 +27,9 @@ hwpx/tools/text_extractor.py,sha256=r2OJRgDOiR6n14hXRcvkYuSFtEHpAV6jasHv-ZLHx1Y,
|
|
|
27
27
|
hwpx/tools/validator.py,sha256=KThqBQKKQfZkuLMGtzONbPkzy877-2FgT22FHPmt_gI,5979
|
|
28
28
|
hwpx/tools/_schemas/header.xsd,sha256=mJXuFMuHGT1JnFFaluUpYUglwjMCNlfbFCRVM26eHXE,664
|
|
29
29
|
hwpx/tools/_schemas/section.xsd,sha256=MgvavVHG05RDfUnVPxVU10H4FQOja5ON04_m9Uk_m7E,522
|
|
30
|
-
python_hwpx-2.
|
|
31
|
-
python_hwpx-2.
|
|
32
|
-
python_hwpx-2.
|
|
33
|
-
python_hwpx-2.
|
|
34
|
-
python_hwpx-2.
|
|
35
|
-
python_hwpx-2.
|
|
30
|
+
python_hwpx-2.5.dist-info/licenses/LICENSE,sha256=3F1-JUTcmjmxMpHGeB77ZzaSdhms3h8p1DBBa3lvV08,1609
|
|
31
|
+
python_hwpx-2.5.dist-info/METADATA,sha256=DHR24ZL5DvvlyoDw9bhTX4X0pYt8A8T9GuTNZc9xDRA,12974
|
|
32
|
+
python_hwpx-2.5.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
33
|
+
python_hwpx-2.5.dist-info/entry_points.txt,sha256=wBO_QZkkQ0FIyAxBhJ08EAtv2SmBnN1xabRHE5G2CyM,60
|
|
34
|
+
python_hwpx-2.5.dist-info/top_level.txt,sha256=R1iToqDh80Nf2oQhRjTN0rbN2X6kyDUizIocZjkhuxc,5
|
|
35
|
+
python_hwpx-2.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|