- export documents as PDF files, and print them. Functionality for mult-printing the same document at different timestamps is provided.
- export documents in PNG format
- export documents as XML file, in order to import them elsewhere into TisGraph
- export documents as ZIP file (content: document as XML file plus data queried from data sources), in order to support error diagnosis
Additionally, a couple of image formats can be imported and exported. Images can furthermore be georeferenced. TisGraph documents exported as XML can also be imported (at least into a TisGraph of the same version).
Below, we refer to
- TisGraph documents, i.e. documents into which objects like graphs, text, etc. can be inserted
- Images, i.e. image files that were inserted into the TisGraph database in an unchanged manner
Using the menu item "File ---> Import", users can import documents or images into TisGraph. The following dialog will be opened:
In this dialog, one needs to choose a file from the file system, and needs to define both a path where the imported document or image should be placed in the document tree, and a name for it. Like in the document creation dialog, optionally also some number of tags, and a description can be defined.
Imported files will be written into the TisGraph database in an unchanged manner. Afterwards, TisGraph can process the following kinds of files:
- Vector graphics: PDF, SVG
- Pixel graphics: PNG, BMP, JPG
- TisGraph documents as XML
- TisGraph documents as ZIP file (XML plus data queried from data sources)
TisGraph will treat both vector graphics, and pixel graphics as images that are placed in the TisGraph database. This means, the usual document functions (e.g. create objects like graphs and lines, manage palettes and time ranges of interest, etc.) are not available for them. Images can however be georeferenced within TisGraph.
TisGraph documents given as XML file are treated like any other TisGraph document as well after they have been imported. I.e., they can be changed, printed, exported again as usual.
TisGraph documents given as ZIP files are sometimes used as a tool for error diagnosis. They contain the state of a TisGraph document including all data that had been loaded from the data sources at the time of the export. TisGraph users in general will not need to import such files.
TisGraph documents can be exported using the menu item "File ---> Export" as vector graphics (PDF), as pixel graphics (PNG), as document for import into the same or another TisGraph database, or as document including all data queried from data sources at the time of the export. Other files present in the TisGraph database, like images, can only be exported in exactly the same kind as they have been imported.
The possibility of exporting documents as ZIP file including data queried from data sources aims at providing the TisGraph support with as much information as possible in case of problems. By providing the data queried from data sources as well, some problems e.g. when rendering a graph can be analyzed much better.
TisGraph documents and images can be printed using the menu item "File ---> Print". Printing a TisGraph document is equivalent to exporting the document as PDF, and printing the PDF. Directly after the menu item has been clicked, the default browser functionality for printing takes over the remaining steps of printing.
Printing a TisGraph document always refers to the state currently visible in TisGraph, not to a document state that has possibly saved before.
The set of data displayed in graphs, tables, etc. is typically defined using a time range of interest. One might e.g. set it to the date range "1st January 2014 to 1st February 2014" in order to display data for the January of 2014. In order to multi print the same document for multiple months in one step of printing, one can use "File ---> Multi Print". After clicking that menu item, the following dialog opens:
If one commits the dialog with the data of the screenshot, the document will be printed once for each month of the year 2010. The resulting printed copies of the document will be assembled to one PDF in ascending order.
In detail, the dialog starts with moving the date range of interest such that its start date is the start date given in the dialog, and its length is preserved in an unchanged manner. Afterwards, the document will be iteratively printed using the current date range of interest, and that range increased by the given step size, until the end of the date range of interest has moved past the end of the interval given in the dialog. The step size must be provided in the format "Years:Months:Days Hours:Minutes:Seconds". After multi-printing has finished, the date range of interest is resetted to its original, unchanged value.
In the example:
- Start with the date range of interest "1st January 2010 to 1st February 2010"
- Increase it by one month to "1st February 2010 to 1st March 2010"
- Continue with increasing for the whole year 2010
- At some point in time, the date range of interest will reach the interval "1st December 2010 to 1st January 2011"
- After printing for December 2010 has finished, multi-printing will abort since the date range of interest in the next step would become the interval "1st January 2011 to 1st February 2011", whose end is clearly after the end of the interval given in the dialog.
The resulting PDF will contain in ascending order one printout for each month of the year 2010.