Set the zoom of a sheet

Issue #262 resolved
Carlos Molina created an issue

It would be nice if we could make something like

sheet.set_zoom(0.75)

and change the zoom of any sheet to a specific percentage.

Comments (7)

  1. CharlieC

    I can't off-hand find much information about this in the specification. If you can then it might happen, otherwise it's very unlikely.

  2. Carlos Molina reporter

    I was reading a pdf found on the specs, in the Annex B, section B.2 Spreadsheet, line 3327 (page 1353):

    ## default value: 100
    attribute zoomScale { xsd:unsignedInt }?,
    

    That is the value modified when you save a spreadsheet with a different zoom.

  3. CharlieC
    • changed version to 2.0.x

    Thanks, makes things a lot easier if we either get code suggestions or pointers to the documentation.

  4. CharlieC

    This is defined worksheets in 18.3.1.87 sheetView (Worksheet View) and will be supported as soon as we support SheetViews properly. This should now be fairly easy to using the new descriptors module if you want to give it a go. We currently ignore them when reading files and only generate using default values.

  5. Log in to comment