Kaydet (Commit) dee47b76 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS aw011 (1.4.590); FILE MERGED

2004/05/07 09:43:57 aw 1.4.590.1: #i28528#

Added extra Item (Bool) for chart2 to be able to show reduced line geometry
üst 71de7057
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: svx3ditems.cxx,v $ * $RCSfile: svx3ditems.cxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: hr $ $Date: 2003-03-27 15:02:16 $ * last change: $Author: kz $ $Date: 2004-06-10 11:32:54 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -122,6 +122,34 @@ Svx3DDoubleSidedItem::Svx3DDoubleSidedItem(BOOL bVal) ...@@ -122,6 +122,34 @@ Svx3DDoubleSidedItem::Svx3DDoubleSidedItem(BOOL bVal)
: SfxBoolItem(SDRATTR_3DOBJ_DOUBLE_SIDED, bVal) : SfxBoolItem(SDRATTR_3DOBJ_DOUBLE_SIDED, bVal)
{} {}
//////////////////////////////////////////////////////////////////////////////
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
Svx3DReducedLineGeometryItem::Svx3DReducedLineGeometryItem(BOOL bVal)
: SfxBoolItem(SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY, bVal)
{}
sal_uInt16 Svx3DReducedLineGeometryItem::GetVersion(sal_uInt16 nFileFormatVersion) const
{
return 1;
}
SfxPoolItem* Svx3DReducedLineGeometryItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) const
{
SfxBoolItem* pRetval = new Svx3DReducedLineGeometryItem();
if(nItemVersion > 0)
{
SfxBoolItem aBoolItem(Which(), rIn);
pRetval->SetValue(aBoolItem.GetValue());
}
return pRetval;
}
//////////////////////////////////////////////////////////////////////////////
Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal) Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal)
: SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal) : SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal)
{} {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment