summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx
AgeCommit message (Collapse)Author
2014-03-05Small fixesJurriaan Pruis
2014-03-04Fix cell merging, #179Jurriaan Pruis
2014-03-04sourceLinked should be false (0) when specifying a format_code for an axisChris Roby
2014-03-04Merge pull request #295 from tafryn/arrayformulaJurriaan Pruis
Added array formula support
2014-03-04Fix sanitizing and some cleanupJurriaan Pruis
2014-03-03Add support for array formulas.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-26Ensure auto_filter defined name is correctly added to workbook (refs #285)Jonathan Tron
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-02-26Add missing change from 4400e233c (refs #285)Jonathan Tron
2014-02-26Do not put Axlsx::DefinedName#name in serialized_attributes (fixes #285)Jonathan Tron
When using serialized_attributes both attribute's name and value are camelcased, in `Axlsx::DefinedName` the values starts with `_xmln` which is then transformed in `Xmln`. The fix proposed on #285 does not work because then other `Axlsx::DefinedName` attributes name are no more camelcased (`localSheetId` become `local_sheet_id` for instance). As proposed by @randym in #285, this commit only make a special case of the name and let the other attributes go through serialized_attributes. Adding a test on it revealed a wrong test which would have catched similar error but was not because of value returned by `doc.xpath`.
2014-02-04Column_widths must be set after add_row is calledWill Bradley
Fixes https://github.com/randym/axlsx/issues/165
2014-01-23fixing comments for 2010 starter editionDustin Smith
2014-01-08Fixing typo in documentation. ws.styles!!Sudhir
Replaced ws.style with ws.styles.
2014-01-06Update header_footer.rbAndrew Grimm
Fix documentation.
2013-11-04Merge pull request #255 from skateinmars/fix-scatterchart-axesRandy Morgan (@morgan_randy)
Fix ScatterChart#y_val_axis returning the wrong axis
2013-10-10Do not use a marker tag in bubble series tagsJean-Philippe Moal
As per the spec, a bubble series tag should not include a marker tag. This was preventing files from being open with Excel Viewer.
2013-10-09Fix ScatterChart#y_val_axis returning the wrong axisJean-Philippe Moal
The y_val_axis method was returning the x axis instead of the y axis.
2013-10-09Add support for bubble chartsJean-Philippe Moal
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-29Added workbook views collection and workbook view objectRandy Morgan
2013-09-29add validation for Worksheet#state and WorkbookView#visibilityRandy Morgan
2013-09-27smooth line for line chartpatorash
2013-09-26extended examples and smooth lines for line chartRandy Morgan
2013-09-13bump the version and get onto 1.0.0Randy Morgan
2013-09-13initialize subtotal to remove warningsRandy Morgan
2013-09-13version 2.0.0Randy Morgan
2013-09-13Add support for automatically adjusting serialized times and dates to ↵Randy Morgan
account for the zone
2013-09-13remove stupidity, remove warningRandy Morgan
2013-09-13Bring documentation up to 100%Randy Morgan
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-09-13docs for ColBreaksRandy Morgan
2013-08-29upgrade to rubyzip 1.0.0Delwyn de Villiers
2013-08-19More work on page breaksRandy Morgan
2013-08-17refactored stupidityRandy Morgan
2013-08-17add first bits of col/row break supportRandy Morgan
2013-08-17whitespace and debug cleanupRandy Morgan
2013-08-17Extracted control char sanitization to module level and applied to shared ↵Randy Morgan
strings table output.
2013-08-17updated image source validation to use lower case comparison of accepted ↵Randy Morgan
file extensions
2013-08-17safe to camel all valuesRandy Morgan
2013-08-17ensure that values are camelized for serialized attributesRandy Morgan
2013-08-16Merge pull request #174 from IndependentIP/masterRandy Morgan (@morgan_randy)
Fix hardcoded sheet name in PivotTableCacheDefinition and allow other sheet to be the data source for the pivot table
2013-08-16Merge pull request #226 from Fapper/patch-1Randy Morgan (@morgan_randy)
Correct minor typos
2013-08-08Don't mutate the object passed into Color#rgb=Trent Ogren