Sha256: 7552202ba22a7237be19396e5c0b8290b86603120f41bd31ca4f8ca46c0efafc

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx_func_testcase'

class TestPrintArea < XlsxWriterTestCase
  test 'print_area06' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => ['<pageMargins'] }
    ws = wb.add_worksheet
    ws.paper = 9
    ws.vertical_dpi = 200
    ws.print_area(0, 'A', 8, 'F')
    ws.write_string(0, 'A', 'Foo', nil)
  end

  test 'print_area07' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => ['<pageMargins'] }
    ws = wb.add_worksheet
    ws.print_area('A1:XFD1048576')
    ws.write_string('A1', 'Foo', nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 test/test_print_area.rb