Repository navigation
feat: pictures and shapes on a sheet - #197
Merged
Merged
Conversation
…, moving with the cells they are anchored to
…lines and groups stay put, and pictures without a description are asked about
Member
Author
|
Review fixes are in the second commit. Critical
Important
Minors
Deferred
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #63
doc/sheet/drawing.rscollectstable:shapes(anchored to the sheet) and the drawings inside cells (anchored to the cell, and stretched totable:end-cell-addresswhere one is given), asSheetDrawing { element, anchor, offset }.drawing_placegives where a drawing stands from current column widths and row heights, hidden ones at zero. It gives none while a cell-anchored drawing's row or column is hidden.drawing_cellgives the cell a drawing stands in and how far into it.svg:x/y/width/heightLibreOffice wrote.svg:*, which is what LibreOffice does on save.svg:x/yfor a shape in a cell, and recomputes an end-anchored shape's size from the end cell. It also moved one end-anchored shape and printed one picture below a hidden row by a rule I couldn't reproduce, so those are drawn where they are written.odox_ui::Canvas. They scroll and zoom with the grid.Item::Turnedtransform. The printed area reaches the cells drawings stand in.corpus/libreoffice/drawings.odswas written by LibreOffice.