Sha256: 6741711198e9d53e0a0942e655edd841f795649138a7b8acaa099d6c939f4af6
Contents?: true
Size: 931 Bytes
Versions: 4
Compression:
Stored size: 931 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHyperlink04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_hyperlink04 @xlsx = 'hyperlink04.xlsx' workbook = WriteXLSX.new(@io) worksheet1 = workbook.add_worksheet worksheet2 = workbook.add_worksheet worksheet3 = workbook.add_worksheet('Data Sheet') worksheet1.write_url('A1', "internal:Sheet2!A1") worksheet1.write_url('A3', "internal:Sheet2!A1:A5") worksheet1.write_url('A5', "internal:'Data Sheet'!D5", 'Some text') worksheet1.write_url('E12', "internal:Sheet1!J1") worksheet1.write_url('G17', "internal:Sheet2!A1", 'Some text', nil) worksheet1.write_url('A18', "internal:Sheet2!A1", nil, nil, 'Tool Tip 1') worksheet1.write_url('A20', "internal:Sheet2!A1", 'More text', nil, 'Tool Tip 2') workbook.close compare_for_regression end end
Version data entries
4 entries across 4 versions & 1 rubygems