Sha256: 775b4013ff59a8a4a31c93d0984beede8690620cf9f93caab6bfdfa690a74ed5
Contents?: true
Size: 760 Bytes
Versions: 7
Compression:
Stored size: 760 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestBreaks06 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_page_breaks06 @xlsx = 'page_breaks06.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.set_h_pagebreaks(1, 5, 13, 8, 8, 8) worksheet.set_v_pagebreaks(8, 3, 1, 0) 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