Sha256: eee493217212ceba6c7326eb6e09e2f0dd4155efb271f58e1278a04c1736b140

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx_func_testcase'

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

    wb.add_worksheet

    wb.add_worksheet do |ws|
      ws.paper = 9
      ws.vertical_dpi = 200
      ws.repeat_rows(2, 3)
      ws.repeat_columns(1, 5)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 test/test_repeat.rb