[Libreoffice-bugs] [Bug 129510] New: TypeDetection: warn:configmgr/source/xcuparser.cxx:650: unknown property "ContentFormat"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 20 08:02:35 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129510

            Bug ID: 129510
           Summary: TypeDetection:
                    warn:configmgr/source/xcuparser.cxx:650: unknown
                    property "ContentFormat"
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: oliver.brinzing at gmx.de

i got a warning during LO start from an extension:

warn:configmgr:20172:9752:configmgr/source/xcuparser.cxx:650: unknown property
"ContentFormat" in "file:///.../typedetection.xcu"

according to
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1document_1_1TypeDetection.html

there should be a Property "ContentFormat"?

ClipboardFormatdeprecated!  [string]
It was interpreted as an identifier inside clipboard. Please use new property
ContentFormat instead of this now.  

ContentFormat  [string]
It's and identifier, which is used for a deep format detection. An
ExtendedTypeDetection use this value to match a given content to this type.
e.g. It's interpreted as the doc type of an XML stream or as an identifier
inside a file header 

but "main.xcd" defines:

<oor:component-schema oor:package="org.openoffice.TypeDetection"
oor:name="Types" xml:lang="en-US">
<templates>
 <group oor:name="Type">
  <prop oor:name="UIOrder" oor:type="xs:int" oor:nillable="false">
        <value>0</value>
  </prop>
  <prop oor:name="URLPattern" oor:type="oor:string-list" oor:nillable="false">
        <value/>
  </prop>
  <prop oor:name="Extensions" oor:type="oor:string-list" oor:nillable="false">
        <value/>
  </prop>
  <prop oor:name="DocumentIconID" oor:type="xs:int" oor:nillable="false">
        <value>0</value>
  </prop>
  <prop oor:name="MediaType" oor:type="xs:string" oor:nillable="false">
        <value/>
  </prop>
  <prop oor:name="Preferred" oor:type="xs:boolean" oor:nillable="false">
        <value>false</value>
  </prop>
  <prop oor:name="PreferredFilter" oor:type="xs:string" oor:nillable="false">
        <value/>
  </prop>
  <prop oor:name="UIName" oor:localized="true" oor:type="xs:string"/>
  <prop oor:name="ClipboardFormat" oor:type="xs:string" oor:nillable="false">
        <value/>
  </prop>
  <prop oor:name="DetectService" oor:type="xs:string" oor:nillable="false">
        <value/>
  </prop>
 </group>
</templates>
<component>
 <set oor:name="Types" oor:node-type="Type"/>
</component>
</oor:component-schema>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191220/721fa256/attachment.htm>


More information about the Libreoffice-bugs mailing list