Skip to content
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

XSLT HTML Improvements: Image & List alignment, Columns in Frames, SVG Basics #52

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

svanteschubert
Copy link
Contributor

Started small, should been kept small, but but took me four days in total (two days on SVG)

Commits

  1. Adding some comments on SVG functionality
  2. New feature Adding basic ODF Draw to SVG functionality in XSLT and resulting new reference HTML files
  3. Adding some test files for Draw to SVG
  4. Fixing style:family prefix for unique style ID in CSS in case of multiple style attributes at draw:frame (i.e. draw:style-name and draw:text-style-name)
  5. Fixed List Alignment tdf95662 Enabling @left:margin for list label based on its fo:text-indent value (usually negative value)
  6. tdf95662 Enabling text:tabs also for the paragraph style property @Style:tab-stop-distance
  7. tdf95662: Complex-Multi-List-Level testODT: The attribute @text:display-levels determing how much list levels are being shown was wrong interpreted and is now fixed
  8. ListLevel had been wrong incremented in the recursion (should only be recalculated with every match of a new text:list-list) and in addition the ListLevelStyle - the style according to current listLevel is now correctly kept in synch!
  9. Fixing previous regression of duplication of 'cm' for list margin
  10. tdf95662 - removed duplication of list suffix/prefix for numbered lists
  11. Adding improved test documents for tdf95662
  12. Adding multiplier for min-height and max-height in case of columns, as height is divided among columns in HTML/CSS and has to be multiplied by column count to adjust back to ODF height
  13. New feature Adding columns by styles for frames
  14. **Fixed Text flow around Images ** Adding alignment='middle' to images being used as character (with @text:anchor-type='as-char')
  15. Adding margin of list to HTML/CSS
  16. Adding z-index to HTML/CSS output
  17. Fixed Image Alignment Fixing image horizontal alignment with LEFT=> float:left;position:relative; and CENTER=> display:block;margin-left:auto;margin-right:auto; and RIGHT=>float:right;position:relative; and vertical alignment using top: XYcm;position:absolute;
  18. Adding image alignment test case
  19. Making half a dozen class style names unique by adding the family name in front

…ative; and CENTER=> display:block;margin-left:auto;margin-right:auto; and RIGHT=>float:right;position:relative; and vertical alignment using top: XYcm;position:absolute;
…s height is divided among columns in HTML/CSS and has to be multiplied by column count to adjust back to ODF height
… recalculated with every match of a new text:list-list) and in addition the ListLevelStyle - the style according to current listLevel is now correctly kept in synch!
…ay-levels determing how much list levels are being shown was wrong interpreted and is now fixed
…iple style attributes at draw:frame (i.e. draw:style-name and draw:text-style-name)
@svanteschubert
Copy link
Contributor Author

  • New feature: Added polygons to the SVG export!

This PR is now ready and can be reviewed and merged.
Many thanks in advance, Michael! 👍

@svanteschubert svanteschubert marked this pull request as draft July 22, 2023 08:42
…there is in addition style:wrap=none set. \n2) Nested frames with a parent frame stating frame alignment and wrapping text will now disable flow if themself have no wrap (last picture of ODF 1.3 package spec).
…e noew apparent when testing generation of HTML of the ODF specification
mistmist added a commit that referenced this pull request Apr 3, 2024
There is an outstanding PR that isn't finished yet to fix some problems
with the current state of the XHTML export.

#52

Until time is available to finish and integrate this, revert to a
known-working (for ODF) revision 0f01b60
mistmist added a commit that referenced this pull request Apr 3, 2024
There is an outstanding PR that isn't finished yet to fix some problems
with the current state of the XHTML export.

#52

Until time is available to finish and integrate this, revert to a
known-working (for ODF) revision 0f01b60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant