Sha256: 4fef2ab60bb15997dcac464cbb8d2705d489a52e8111822cee6a6fa3c0220466
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xlsxwriter-0.2.2 | test/test_page_breaks.rb |