I would like tellico to have a new Dbus interface function: exporting to an xml file only the currently filtered entries.
Nowaday, it is possible to have the IDs of the filtered entries, but this is not very convenient for me.
To give the context: Using tellico in a small school library, I need to do a pdf report of the book collection, in order to print index cards for the books. I did a special xslt report file, The outputed html is ok, but its printing on paper (or pdf) given by tellico is buggy. So I use another tool (wkhtmltopdf) to export to pdf from the html, and all is nice.
But the process of recording the html file and then using the other tool to convert html to pdf is a bit complicated for a normal user. So I would like to automate it in a script, using DBUS. User clic and pdf is ready! I can do this for the whole collection, but not for only the filtered entries. And sometimes user do not want to print index cards for the whole collection.
If I could easily access to an xml version of the filtered entries, then everything would be more simple.
Git commit 098d5fe1c57971aae98af6f9d4cfe6f6b2c44202 by Robby Stephenson.
Committed on 07/07/2017 at 02:13.
Pushed by rstephenson into branch 'master'.
Add a DBUS option for filtering exported entries.
Existing DBUS commands continue to work. The 'filtered' boolean
argument defaults to false, meaning no filter. If 'filtered' is true,
then the current filter is used to limit the exported entries.
Also update the documentation.
M +4 -0 ChangeLog
M +12 -6 doc/advanced.docbook
M +2 -2 src/dbusinterface.cpp
M +11 -11 src/dbusinterface.h
M +2 -3 src/exportdialog.cpp
M +1 -1 src/exportdialog.h
M +3 -2 src/mainwindow.cpp
M +1 -1 src/mainwindow.h