[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Regarding mso ppttoxml parse trailing byte error
From: amit aggarwal <amitcs06 () gmail ! com>
Date: 2010-03-30 3:32:33
Message-ID: 203ea2fe1003292020w38d337k4c725d6bd4fdc34c () mail ! gmail ! com
[Download RAW message or body]
Hello Jos,
I am attaching the patch file for mso.xml please verify those changes
and commit it.
On Tue, Mar 30, 2010 at 8:15 AM, amit aggarwal <amitcs06@gmail.com> wrote:
> Hello,
> Thanks for your update, I sent that file because its containing my
> changes as I found those during analysis so that you can verify those
> changes and commit the new mso.xml in gitorious.
>
>
>
> On Tue, Mar 30, 2010 at 2:06 AM, Jos van den Oever
> <jos.van.den.oever@kogmbh.com> wrote:
>> On Sunday 28 March 2010 10:11:01 amit aggarwal wrote:
>>> I am facing in ppttoxml trailing bytes error for the attached ppt.
>>> During analysis found couple of error in mso.xml but still not able to
>>> found the correct problem.
>>>
>>> 10601 SlideProgTagsContainer "RecordHeader:recVer: 15(F),
>>> recInstance: 0(0), recType: 5000(1388), recLen: 101(65), "
>>> 10609 SlideProgBinaryTagContainer "RecordHeader:recVer: 15(F),
>>> recInstance: 0(0), recType: 5002(138A), recLen: 41(29), "
>>> 10617 PP10SlideBinaryTagExtension "RecordHeader:recVer: 0(0),
>>> recInstance: 0(0), recType: 4026(FBA), recLen: 16(10), "
>>> 10641 PP10SlideBinaryTagExtension "RecordHeader:recVer: 0(0),
>>> recInstance: 0(0), recType: 4026(FBA), recLen: 16(10), "
>>> 188954 trailing bytes in stream "PowerPoint Document"
>>>
>>> Please help me for the same.
>>>
>>
>> Why are you sending the file mso.xml to the list? It is big and probably the
>> same file as is currently in the repository.
>>
>> The reason the file was not parsed correctly is because the definition of
>> PP12SlideBinaryTagExtension was wrong. This has now been fixed in msoscheme and
>> in the koffice trunk. I solved the problem by stepping through the code in the
>> debugger, after determining from the pptstructureprinter output that the error
>> should be in SlideProgBinaryTagSubContainerOrAtom.
>>
>> Cheers,
>> Jos
>>
>> --
>> Jos van den Oever, software architect
>> +49 391 25 19 15 53
>> http://kogmbh.com/legal/
>> _______________________________________________
>> koffice-devel mailing list
>> koffice-devel@kde.org
>> https://mail.kde.org/mailman/listinfo/koffice-devel
>>
>
>
>
> --
> Thanks
> Amit Aggarwal
>
--
Thanks
Amit Aggarwal
["patch.txt" (text/plain)]
diff --git a/src/mso.xml b/src/mso.xml
index d14468f..2ed79c8 100644
--- a/src/mso.xml
+++ b/src/mso.xml
@@ -2357,8 +2358,8 @@
<type name="rh" type="RecordHeader">
<limitation name="recVer" value="0" />
<limitation name="recInstance" value="0" />
- <limitation name="recType" value="0x2EE6" />
- <limitation name="recLen" value="0" />
+ <limitation name="recType" value="0x2EE7" />
+ <limitation name="recLen" value="8" />
</type>
<uint32 name="linkedSlideIdRef" />
<int32 name="clinkedShapes" />
@@ -2367,7 +2368,7 @@
<type name="rh" type="RecordHeader">
<limitation name="recVer" value="0" />
<limitation name="recInstance" value="0" />
- <limitation name="recType" value="0x2EE7" />
+ <limitation name="recType" value="0x2EE6" />
<limitation name="recLen" value="8" />
</type>
<uint32 name="shapeIdRef" />
@@ -2424,7 +2425,7 @@
<limitation name="recVer" value="0" />
<limitation name="recInstance" value="0" />
<limitation name="recType" value="0xFBA" />
- <limitation name="recLen" value="0xE" />
+ <limitation name="recLen" value="0x10" />
</type>
<uint16 name="tagName" count="8">
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic