From: "A. Costa" <agcosta@gis.net> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: wishlist: '--convert-to help' command line feature wanted. Date: Fri, 2 Mar 2012 21:33:23 -0500 Package: libreoffice-common Version: 1:3.4.5-2 Severity: wishlist Spun off from #661654. Please consider adding a '--convert-to help' feature that would work like "-vo help" in 'mplayer'. Used from the command line, the switch would print to STDOUT a list of the system's currently installed conversion filters. HTH...
valid request -> NEW.
*** Bug 98156 has been marked as a duplicate of this bug. ***
I would propose something like --help-filters, to be able not only getting output filters for --convert-to, but also input filters, that can be specified in --infilter switch.
https://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Filter_Options Things could have changed in LO, though.
(In reply to Mike Kaganski from comment #4) > Things could have changed in LO, though. E.g., in LibreOffice Calc, there are two more tokens available for CSV export: token 10 for "export formulas", and token 11 for "remove space". Source code: ScImportOptions::ScImportOptions in sc/source/ui/dbgui/imoptdlg.cxx.
A pointer to available filters for --convert-to and --infilter names: https://git.libreoffice.org/core/+/refs/heads/master/filter/source/config/fragments/filters/ The name to use for a filter is the node element's oor:name property in a .xcu, e.g. "Text - txt - csv (StarCalc)" in https://git.libreoffice.org/core/+/refs/heads/master/filter/source/config/fragments/filters/Text___txt___csv__StarCalc_.xcu for the Calc Text and CSV filter.
First step could be to augment existing help pages: https://help.libreoffice.org/latest/en-US/text/shared/guide/start_parameters.html https://help.libreoffice.org/latest/en-US/text/shared/guide/convertfilters.html The former should mention the latter not only in "--convert-to" section, but also in "--infilter"; the latter should have links to separate new "filter options" pages specific to filters, where the filter options would be explained (starting point could be the documentation linked in comment 4), with samples of command lines for import and export of respective files.
Seth Chaiklin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/46e4473935c7274fecd883b71cfb7a59e3b29cf2 tdf#98153 add mention and link to document filters
(In reply to Mike Kaganski from comment #7) > The former should mention the latter not only in "--convert-to" section, but > also in "--infilter"; Done. > the latter should have links to separate new "filter > options" pages specific to filters afaik, these "new" pages do not exist. Maybe better to open a new ticket for that.
(In reply to sdc.blanco from comment #9) > (In reply to Mike Kaganski from comment #7) > > the latter should have links to separate new "filter > > options" pages specific to filters > afaik, these "new" pages do not exist. Maybe better to open a new ticket for > that. No. This is exactly the bug *asking* for the help pages for documenting the --convert-to parameter, and creation of those pages is part of the task. Also https://help.libreoffice.org/7.2/en-US/text/shared/guide/convertfilters.html needs correcting: it does not clarify which of the columns should be used in the command line (it is named "File Conversion Filter Names", and has "Filter Name" column - so it would be natural for user to assume that this column has the wanted string - while in fact, the correct value is in the "API Name" column).
*** Bug 151446 has been marked as a duplicate of this bug. ***
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/8ef7f32823c288de63b2b1b8bc9dd151dfa78217 tdf#98153 Clarify command line filter names (--convert-to)