Joerg Barfurth wrote:
Hi,

Andreas Schlüns wrote:

Right
The old path was:
    "org\openoffice\Office\TypeDetection.xml"


Not entirely correct.

The very old path (OOo 1.0.x) was:
  registry/instance/org/openoffice/Office/TypeDetection.xml

This used a file format that isn't understood by later versions of OOo.

You are right. This format isnt supported any longer. Sorry.


The recent old path (OOo 1.1.x) was

  registry/data/org/openoffice/Office/TypeDetection.xcu

But these format is supported by newer versions too.
But it contains the "non comfortable content" ... means comma seperated strings.


The new one is:
    "org\openoffice\TypeDetection\Types.xcu"
    "org\openoffice\TypeDetection\Filters.xcu"
    "org\openoffice\TypeDetection\....xcu"


... which is also under registry/data/ and still uses the file format introduced in OOo 1.1. This file format is here to stay.

It uses the file format of xcu files valid for OOo 1.1.x ... but not the content format (!) of OOo 2.0.

Example:

List of properties of Types in OOo 1.1.x:
{UIName, Data}
List of properties of Types in OOo 2.x:
{UIName, MediaType, Extensions, URLPattern, ... etcpp}



Do I need to edit TypeDetection.xml for Import Filters too?

You must bring only one set of configuration:
old TypeDetection.xml OR Types/Filters.xcu.
The old file will be supported read only on startup.


Careful! You need TypeDetection.xcu (!) OR the new Types.xcu/Filters.xcu. In either case they must use xcu format.

The very old TypeDetection.xml will NOT work.

Correct.


Ciao, Joerg


Regards
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to