To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88878





------- Additional comments from [EMAIL PROTECTED] Thu May 22 12:22:05 +0000 
2008 -------
dr->jianhuajiao: you are mixing a DFF flag (DFF_Prop_fPrint) with an
Excel-specific flag from the OBJ record (EXC_OBJ_CMO_VISIBLE) which does not
even exist. Please remove the OBJ record part and use the DFF flag directly:

in sc/source/filter/inc/xlescher.hxx:
- remove the EXC_OBJ_CMO_VISIBLE definition

in sc/source/filter/inc/xiescher.hxx:
- change the "sal_uInt32 mnObjVisible" member into "bool mbObjVisible"
- change the Set*() and Is*() functions accordingly
- add comments for the functions, similar to all other functions

in sc/source/filter/excel/xiescher.cxx:
- change the line
    xDrawObj->SetVisible( GetPropertyValue( DFF_Prop_fPrint ) );
into
    xDrawObj->SetVisible( !GetPropertyBool( DFF_Prop_fHidden ) );

The value of DFF_Prop_fHidden is 958 (see svx/inc/svx/msdffdef.hxx), which
corresponds the the second bit of the physically existing 32-bit property 959.
The "GetPropertyBool()" function resolves this internally, so it is a convenient
way to access single bits in DFF property sets.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to