-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
ValueError: WD_PARAGRAPH_ALIGNMENT has no XML mapping for 'start'
Is it possible to add on existing (left, center, right) the start and end mappings so that this error is avoided. If I'm correct it should be added in the
class WD_PARAGRAPH_ALIGNMENT(BaseXmlEnum):
LEFT = (0, "left", "Left-aligned")
"""Left-aligned"""
CENTER = (1, "center", "Center-aligned.")
"""Center-aligned."""
RIGHT = (2, "right", "Right-aligned.")
"""Right-aligned."""
...
like
END = (0, "left", "Left-aligned")
or
LEFT = (0, "left", "Left-aligned", "start")
Activity
yanedev commentedon Feb 26, 2025
probably not that easy but worth a try
yanedev commentedon Feb 26, 2025
I've managed to avoid it with the code bellow, if anyone else has similar problems. It's not the best but it works in my case
zjk000 commentedon Jun 16, 2025
Works like a charm.