Sha256: d0543005d548fe2db64ab46b1e02bcabab7e99e1bac2626c5bb398e8edef6ce7
Contents?: true
Size: 966 Bytes
Versions: 7
Compression:
Stored size: 966 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionSetPrintScale01 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_set_print_scale01 @xlsx = 'set_print_scale01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.print_scale = 110 worksheet.paper = 9 worksheet.write('A1', 'Foo') workbook.close compare_for_regression( [ 'xl/printerSettings/printerSettings1.bin', 'xl/worksheets/_rels/sheet1.xml.rels' ], { '[Content_Types].xml' => ['<Default Extension="bin"'], 'xl/worksheets/sheet1.xml' => ['<pageMargins'] } ) end end
Version data entries
7 entries across 7 versions & 1 rubygems