Commit Graph

24 Commits

Author SHA1 Message Date
SET 0097308e3c Reduced the complexity of BoMOptions.config (flake8) 2020-08-16 00:23:07 -03:00
SET 71d1ee3bc7 Added better generic example generation.
To add more realistic defaults.
2020-08-15 23:59:39 -03:00
SET ae54e7bc84 Now the variant option can be a list. 2020-08-15 20:32:10 -03:00
SET ea8f318696 Added tests for TXT and quote_all 2020-08-14 10:21:21 -03:00
SET e35ef8ec3c Added options to normalize R, L and C values. 2020-08-13 22:45:25 -03:00
SET fc43a293e4 Fixed missing : in exclude_any example. 2020-08-12 20:07:06 -03:00
SET 270ab0b70e Moved all the common HTML and XLSX options to a base class
To avoid repetition.
2020-08-12 19:32:14 -03:00
SET ec70ac23c3 Excluded from coverage the lines ocluded by the macros. 2020-08-12 15:56:29 -03:00
SET e353158c29 Removed extra '.' in comment 2020-08-12 12:04:05 -03:00
SET c44955faec Adjusted test_regex and exclude_any help messages 2020-08-11 18:57:21 -03:00
SET 4fa2267021 Fixed "exclude_any" logic. 2020-08-11 18:19:28 -03:00
SET fae2a024dd Optimized field names collection.
Now they are collected on the fly. No need to visit all the components
again.
2020-08-10 19:56:52 -03:00
Salvador E. Tropea 78cfcd16c0 Added option to disable the red color for empty cells.
Applies only when using colors for column types.
Is for HTML and XLSX
2020-08-06 09:24:48 -03:00
Salvador E. Tropea 77bf713b26 Max number of chars per column configurable in XLSX.
Also added row height adjust.
2020-08-06 09:04:16 -03:00
Salvador E. Tropea 7563d1a9ad Implemented the KiCad version in the Internal BoM. 2020-08-05 21:17:20 -03:00
Salvador E. Tropea 46c55fcf91 Separated the format specific options for internal BoM
And now we have more options.
- CVS: can quote all values.
- HTML and XLSX: styles adjust, including a logo.
- XLSX: now has the same options as HTML
Also a fix in the "join" mechanism for "case insensitive" support.
2020-08-05 19:57:32 -03:00
Salvador E. Tropea 547c3a22bb Simplified the columns logic for the internal BoM.
The ColumnList class now is just a place holder for column names.
We just create the list of columns from the user preferences or
creating a good default and then we just use this list.
2020-08-01 20:15:33 -03:00
Salvador E. Tropea 5be7254594 Now the row number column is a regular column.
Its name is `Row` and you can put everywhere.
No `number_rows` option needed or special cases, is just another column
2020-08-01 18:31:26 -03:00
Salvador E. Tropea 64576e3975 Moved some repeated code in BoM writers.
All the writers computed some stats. Now they are computed in one place
avoiding repetition.
2020-08-01 16:55:33 -03:00
Salvador E. Tropea 0f57ff8b73 Fixed 'component' column isn't always added, so we must test before remove. 2020-08-01 15:35:12 -03:00
Salvador E. Tropea d66410636e Fixed the column rename feature of the internal BoM 2020-08-01 15:17:54 -03:00
Salvador E. Tropea 2ad4cccf21 Fixed internal BoM "Join" feature. 2020-08-01 13:16:44 -03:00
Salvador E. Tropea 9d3645fa41 Implemented the 'Sheetpath' column. 2020-07-28 20:05:50 -03:00
Salvador E. Tropea 544f34c6fc Added native BoM generator.
Based on KiBoM, but reading the data directly from the .sch
Information from the libs not supported yet.
2020-07-27 22:04:01 -03:00