Sha256: dfb8716a3ecab6f0d5abaae7239f6f124149603f7612d310708c10266f74a614
Contents?: true
Size: 726 Bytes
Versions: 7
Compression:
Stored size: 726 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestPrintScale01 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_print_scale01 @xlsx = 'print_scale01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.print_scale = 75 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', '<pageSetup'] } ) end end
Version data entries
7 entries across 7 versions & 1 rubygems