Sha256: ed08865f259e59237c224f6c7e554d7e6b8233b599038f52d3e4e38214668abb

Contents?: true

Size: 412 Bytes

Versions: 8

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx-func-testcase'

class TestpageBreaks < XlsxWriterTestCase
  test 'page_breaks06' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => [ '<pageMargins' ] }
    ws = wb.add_worksheet
    ws.paper = 9
    ws.vertical_dpi = 200
    ws.h_pagebreaks = [1, 5, 8, 13]
    ws.v_pagebreaks = [1, 3, 8]
    ws.write_string(0, 'A', 'Foo', nil)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xlsxwriter-0.2.1.pre.2 test/test-page-breaks.rb
xlsxwriter-0.2.1.pre test/test-page-breaks.rb
xlsxwriter-0.2.0 test/test-page-breaks.rb
xlsxwriter-0.2.0.pre.2 test/test-page-breaks.rb
xlsxwriter-0.2.0.pre test/test-page-breaks.rb
xlsxwriter-0.1.2.pre test/test-page-breaks.rb
xlsxwriter-0.1.1 test/test-page-breaks.rb
xlsxwriter-0.1.0 test/test-page-breaks.rb