PDA

View Full Version : File format export lists every format


johnm
18-Jan-2008, 05:06 AM
I was experimenting with setting up Cirrus to use the HTML Tidy and XML Tidy formats that are available for BC2.

The BC2 definition wouldn't export (fair enough) so I copied the buiolt-in HTMM and XML definitions then added the conversion callout.

When I exported just my two new formats to an XML file I was surprised to see the file listed every format on my system. The selected ones had content, the rest looked like this:

<TDataFormat Value="Data Files">
<Deleted Value="True" />
</TDataFormat>
<TDataFormat Value="MS Excel Spreadsheets">
<Deleted Value="True" />
</TDataFormat>
...

What's the reason for these sections? I might not want to reveal to everyone that I have lots of other formats I'm not giving them.

Erik
18-Jan-2008, 07:45 AM
Currently, exported FileFormats.xml has the same structure as the regular one. The "extra" items you are seeing are there because they are built-in formats you explicity deleted. The exported file will not contain user defined formats unless you choose to export them.

johnm
22-Jan-2008, 02:22 AM
By "explicitly deleted" I assume you mean the ones I unchecked during the export procedure, right?

John

Erik
22-Jan-2008, 07:37 AM
Yes, the built-in file formats you uncheck during the export are considered deleted. Also, this applies to built-in file formats you delete in the "File Formats" dialog.

DEinspanjer
01-Feb-2008, 12:32 PM
Any chance you could share that export file? I just spent a little time trying to get XML Tidy working with Cirrus and I couldn't figure it out. :(