summaryrefslogtreecommitdiffhomepage
path: root/test/workbook/worksheet
AgeCommit message (Collapse)Author
2014-03-12Fix autowidth in combination with sanitizingJurriaan Pruis
By only sanitizing just before serialisation.
2014-03-04Fix cell merging, #179Jurriaan Pruis
2014-03-04Array forumla tests.tafryn
2014-03-01Implemented RichText (multiple text runs)Jurriaan Pruis
and added multiline autowidth for both RichText and normal strings
2014-02-26Huge refactoringJurriaan Pruis
Do not create huge strings Let Row inherit from SimpleTypedList Optimized sanitizing Optimized validation And more..
2014-02-26Add auto_filter defined name in `Axlsx::Worksheet#to_xml_string` (refs #285)Jonathan Tron
The way ot was done previously (adding the defined name on `Axlsx::Worksheet#auto_filter=`) meant that it was added only when using this method. But it's possible to assign range on the auto-created `AutoFilter` with: ```ruby workheet.auto_filter.range = "A1:B2" ``` In this case the defined name was never added to the workbook.
2014-02-26Fix wrong value for auto_filter defined name (refs #285)Jonathan Tron
2014-01-23fixing comments for 2010 starter editionDustin Smith
2013-09-30add name attribute to cell to create defined names for a single cell. ↵Randy Morgan
https://github.com/randym/axlsx/issues/241
2013-09-29Integrate workbook views and alter serializationRandy Morgan
This integrates workbook views and sheet state into serialization. I also noticed that we were populating defined names during serialization. While it is good to delay this as late as possible as there is always the chance that some conditional programming by the consumer adds, and then removes an autofilter, I am choosing to risk it at this point for cleaner code.
2013-09-13remove unused test varsRandy Morgan
2013-09-13Add support for automatically adjusting serialized times and dates to ↵Randy Morgan
account for the zone
2013-09-13repair pivot table data ref populate and bring coverage back up to 100%Randy Morgan
2013-09-13Fixes for anchor swapping when adding images. - Two -> One swap still pending.Randy Morgan
2013-09-13Page Breaks - round oneRandy Morgan
This sets up the basic col and row break creation and serialization. You can specify either a string reference like "C7" or provide an Axlsx::Cell instance to specify the break point. Serialization is working cleanly but excel does not automatically render those breaks yet. You need to switch to page preview mode.
2013-09-13sorry folks 1.8.7 is just simply a no-goRandy Morgan
2013-08-29dont rely on jruby 1.9 to produce an ordered hashRandy Morgan
2013-08-19More work on page breaksRandy Morgan
2013-08-17add first bits of col/row break supportRandy Morgan
2013-08-17whitespace and debug cleanupRandy Morgan
2013-08-17remove debug code from testRandy Morgan
2013-08-17fixed specs for sheet view to ensure camelized serializationRandy Morgan
2013-07-24Add tests for data source option for pivot tablesJean Jacques Warmerdam
2013-07-08Make relationship ids more reliable.Stefan Daschek
Relationship instances now keep track of their own id – this should be much more reliable than the old way of more or less “guessing” the relationship id based on the position of some object in some array. Fixes https://github.com/randym/axlsx/issues/212, especially. Each relationship now has its own, unique id – except for the cases when it doesn’t: Some relationships need to share the same id, see `Relation#should_use_same_id_as?` for the gory details. All tests pass, and the full example.xlsx is generated without errors and looks fine in Excel for Mac 2011. The pivot table example still has the problems mentioned in https://github.com/randym/axlsx/issues/168 – but as far as I can tell I didn’t make it worse (Excel is still be able to “repair” the file, and the repaired file then contains the pivot table).
2013-07-03Do not start comment text with stray colon if author is blankStefan Daschek
2013-07-03Escape special chars for comments’ text and author.Stefan Daschek
2013-07-03Fix incorrectly named test caseStefan Daschek
This test case was completely ignored when running the tests, because its name didn't start with "test_". Some details in the test case needed to be fixed, too.
2013-06-27Merge pull request #194 from sdeframond/subtotalRandy Morgan (@morgan_randy)
Add a subtotal option to PivotTable.
2013-06-23escape formula for conditional formattingRandy Morgan
2013-06-23fix typo in specsRandy Morgan
2013-06-23added sparse array transposition with blocks for rows/cols switching and ↵Randy Morgan
some docs updates for release prep
2013-06-13Allow a different subtotal function for each data field.Samuel de Framond
2013-05-12implement transpose for SimpleTypedList that supports sparse data.Randy Morgan
2013-04-28Refactored and renamed space preservationRandy Morgan
preserve_spaces has been moved to the workbook and renamed xml_space as that provides a good reference for people trying to figure out what it does, and let's the author specify space preservation for serializations using the shared strings table as well as the default inline serialization in cells.
2013-04-27Add a preserve_spaces option to worksheet, defaults to trueAdam Gardiner
2013-04-27Revert changes to cell serializationAdam Gardiner
2013-04-10Add support for preserving leading and trailing spaces in cell valuesAdam Gardiner
2013-04-04Added support for specifying between/notBetween formula in an array.Noel Peden
2013-03-16First run at 'hidden' comments WIPRandy Morgan
The xml is genrated correcty, but the comment still shows until it is selected once in the excel ui - so I must be missing something.
2013-01-15Added support for iso 8601 data types.Randy Morgan
Not really sure what excel is going to do with these data types, but hooking it up is the first step ;)
2013-01-02Worksheet name uniqueness doesn't apply to itselfEdward Anderson
This constraint would prevent you from creating a new worksheet with the name that it would have gotten by default.
2013-01-02Don't add worksheets to the workbook when initialize failsEdward Anderson
Creating a worksheet with an invalid name would still add it to the workbook, despite raising an exception.
2012-12-19changed outline_row to outline_level_row to minimize confusion with bordersRandy Morgan
2012-12-15Added methods to simplify outlining with specsRandy Morgan
worksheet#outline_rows worksheet#outline_columns
2012-12-14Added formula_values options and specs for sheet format pr.Randy Morgan
This lets cache formula values and specify the default row height so that iOS and Max OSX previews render properly
2012-12-12Test for invalid characters in the sheet name.Hayden Ball
With thanks to http://stackoverflow.com/a/451488/1322410 for providing the list of characters
2012-12-04Added sheet_format_pr to help iOS/OSX preview renderers look niceRandy Morgan
This is part of https://github.com/randym/axlsx/issues/149
2012-11-27Merge pull request #148 from alexrothenberg/pivot_tableRandy Morgan (@morgan_randy)
Create a simple Pivot Table
2012-11-27Can configure a pivot table when creating itAlex Rothenberg
see examples/pivot_table.rb wb.add_worksheet(:name => "Data Sheet") do |sheet| sheet.add_row ['Month', 'Year', 'Type', 'Sales', 'Region'] 30.times { sheet.add_row [month, year, type, sales, region] } sheet.add_pivot_table 'G4:L17', "A1:E31" do |pivot_table| pivot_table.rows = ['Month', 'Year'] pivot_table.columns = ['Type'] pivot_table.data = ['Sales'] pivot_table.pages = ['Region'] end end
2012-11-27Create a simple Pivot TableAlex Rothenberg
* an example can be run with `ruby examples/pivot_table.rb` * right now you cannot set options on the pivot table to make it useful (coming soon...)