Hi, Oliver,

   Thank you for you reply. I think the number considering a flag to
indicate

whether the "Layout In Table Cell“ property has been checked.

However, when use nLayoutInTableCell & 0x80008000 to determine the

property. Both 0x80008000 or  0x80000000 can set the
bIsObjectLayoutInTableCell = true.

Do the two hex number represent same meaning?


2012/6/7 Oliver-Rainer Wittmann <orwittm...@googlemail.com>

> Hi,
>
>
> On 07.06.2012 13:34, ZuoJun Chen wrote:
>
>> Hi, All,
>>
>>     There is an attribute for anchored objects named "Layout In Table Cell
>> property"  in MS Word.
>>
>> WW8 filter will check this attribute when import shape in table. I am
>> puzzled that there are two hex magic number
>>
>> 0x80008000 and 0x80000000 in ww8graf.cxx Line 2483.  From the
>> discussion in issue
>> 84783<https://issues.apache.**org/ooo/show_bug.cgi?id=84783<https://issues.apache.org/ooo/show_bug.cgi?id=84783>
>> >**, I can see that
>>
>> these
>>
>> number may associate with MS Word Binary File Format Specification, not
>> sure
>> whether both number indicate that
>>
>> "Layout in table cell" is set. I checked the documentation but didn't
>> found
>> more details. So I post this mail
>>
>>  to see if I could get any sort of advice.
>>
>>
> I am the author of the corresponding method 
> <SwWW8ImplReader::**IsObjectLayoutInTableCell(..)>
> containing the above "magic number" interpretation. As far as I remember
> the initial implementation was done this issue 84783 and an adoption has
> been made with issue 98037.
>
> As far as I remembering it correct the implemented interpretation of this
> "magic number" was done by the evaluation of different Microsoft Word
> documents created with different Microsoft Office versions.
>
> I am currently looking at issue 119624. The root cause of this issue seems
> to be related to my implemetation in method <SwWW8ImplReader::**
> IsObjectLayoutInTableCell(..)>**.
> I have to do some further investigations - please stay tuned for the
> results.
>
>
> Best regards, Oliver.
>

Reply via email to