Lines 4132-4138
Link Here
|
4132 |
aPropOpt.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x110001 ); |
4132 |
aPropOpt.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x110001 ); |
4133 |
aPropOpt.AddOpt( ESCHER_Prop_lineColor, 0x8000001 ); |
4133 |
aPropOpt.AddOpt( ESCHER_Prop_lineColor, 0x8000001 ); |
4134 |
aPropOpt.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 ); |
4134 |
aPropOpt.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 ); |
4135 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4135 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4136 |
sal_uInt32 nLineFlags = 0x90001; |
4136 |
sal_uInt32 nLineFlags = 0x90001; |
4137 |
if ( aPropOpt.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) ) |
4137 |
if ( aPropOpt.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) ) |
4138 |
nLineFlags |= 0x10001; // draw dashed line if no line |
4138 |
nLineFlags |= 0x10001; // draw dashed line if no line |
Lines 4191-4197
Link Here
|
4191 |
mpPptEscherEx->OpenContainer( ESCHER_SpContainer ); |
4191 |
mpPptEscherEx->OpenContainer( ESCHER_SpContainer ); |
4192 |
ImplCreateShape( ESCHER_ShpInst_TextBox, 0xa00, rSolver ); |
4192 |
ImplCreateShape( ESCHER_ShpInst_TextBox, 0xa00, rSolver ); |
4193 |
if ( bFill ) |
4193 |
if ( bFill ) |
4194 |
rPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4194 |
rPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4195 |
if ( ImplGetText() ) |
4195 |
if ( ImplGetText() ) |
4196 |
rPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True ); |
4196 |
rPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True ); |
4197 |
} |
4197 |
} |
Lines 4353-4359
Link Here
|
4353 |
{ |
4353 |
{ |
4354 |
ImplCreateShape( eShapeType, nMirrorFlags | 0xa00, aSolverContainer ); |
4354 |
ImplCreateShape( eShapeType, nMirrorFlags | 0xa00, aSolverContainer ); |
4355 |
aPropOpt.CreateCustomShapeProperties( eShapeType, mXShape ); |
4355 |
aPropOpt.CreateCustomShapeProperties( eShapeType, mXShape ); |
4356 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4356 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape); |
4357 |
if ( ImplGetText() ) |
4357 |
if ( ImplGetText() ) |
4358 |
{ |
4358 |
{ |
4359 |
if ( !aPropOpt.IsFontWork() ) |
4359 |
if ( !aPropOpt.IsFontWork() ) |
Lines 4387-4393
Link Here
|
4387 |
{ |
4387 |
{ |
4388 |
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0xa00, aSolverContainer ); // Flags: Connector | HasSpt |
4388 |
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0xa00, aSolverContainer ); // Flags: Connector | HasSpt |
4389 |
} |
4389 |
} |
4390 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4390 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4391 |
if ( ImplGetText() ) |
4391 |
if ( ImplGetText() ) |
4392 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_False ); |
4392 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_False ); |
4393 |
} |
4393 |
} |
Lines 4425-4431
Link Here
|
4425 |
{ |
4425 |
{ |
4426 |
mpPptEscherEx->OpenContainer( ESCHER_SpContainer ); |
4426 |
mpPptEscherEx->OpenContainer( ESCHER_SpContainer ); |
4427 |
ImplCreateShape( ESCHER_ShpInst_Ellipse, 0xa00, aSolverContainer ); // Flags: Connector | HasSpt |
4427 |
ImplCreateShape( ESCHER_ShpInst_Ellipse, 0xa00, aSolverContainer ); // Flags: Connector | HasSpt |
4428 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4428 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4429 |
if ( ImplGetText() ) |
4429 |
if ( ImplGetText() ) |
4430 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_False ); |
4430 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_False ); |
4431 |
} |
4431 |
} |
Lines 4477-4483
Link Here
|
4477 |
case POLY_CHORD : |
4477 |
case POLY_CHORD : |
4478 |
{ |
4478 |
{ |
4479 |
if ( aPropOpt.CreatePolygonProperties( mXPropSet, ESCHER_CREATEPOLYGON_POLYPOLYGON, sal_False, aNewRect, &aPolygon ) ) |
4479 |
if ( aPropOpt.CreatePolygonProperties( mXPropSet, ESCHER_CREATEPOLYGON_POLYPOLYGON, sal_False, aNewRect, &aPolygon ) ) |
4480 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4480 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True , mXShape ); |
4481 |
} |
4481 |
} |
4482 |
break; |
4482 |
break; |
4483 |
|
4483 |
|
Lines 4690-4696
Link Here
|
4690 |
maRect = ImplMapRectangle( aNewRect ); |
4690 |
maRect = ImplMapRectangle( aNewRect ); |
4691 |
maPosition = ::com::sun::star::awt::Point( maRect.Left(), maRect.Top() ); |
4691 |
maPosition = ::com::sun::star::awt::Point( maRect.Left(), maRect.Top() ); |
4692 |
maSize = ::com::sun::star::awt::Size( maRect.GetWidth(), maRect.GetHeight() ); |
4692 |
maSize = ::com::sun::star::awt::Size( maRect.GetWidth(), maRect.GetHeight() ); |
4693 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4693 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True , mXShape ); |
4694 |
mnAngle = 0; |
4694 |
mnAngle = 0; |
4695 |
} |
4695 |
} |
4696 |
else if ( bPolyLine ) |
4696 |
else if ( bPolyLine ) |
Lines 4750-4756
Link Here
|
4750 |
maRect = ImplMapRectangle( aNewRect ); |
4750 |
maRect = ImplMapRectangle( aNewRect ); |
4751 |
maPosition = ::com::sun::star::awt::Point( maRect.Left(), maRect.Top() ); |
4751 |
maPosition = ::com::sun::star::awt::Point( maRect.Left(), maRect.Top() ); |
4752 |
maSize = ::com::sun::star::awt::Size( maRect.GetWidth(), maRect.GetHeight() ); |
4752 |
maSize = ::com::sun::star::awt::Size( maRect.GetWidth(), maRect.GetHeight() ); |
4753 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4753 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True , mXShape ); |
4754 |
mnAngle = 0; |
4754 |
mnAngle = 0; |
4755 |
} |
4755 |
} |
4756 |
else if ( ( mType == "drawing.GraphicObject" ) || ( mType == "presentation.GraphicObject" ) ) |
4756 |
else if ( ( mType == "drawing.GraphicObject" ) || ( mType == "presentation.GraphicObject" ) ) |
Lines 4863-4869
Link Here
|
4863 |
aPropertyOptions.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x110001 ); |
4863 |
aPropertyOptions.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x110001 ); |
4864 |
aPropertyOptions.AddOpt( ESCHER_Prop_lineColor, 0x8000001 ); |
4864 |
aPropertyOptions.AddOpt( ESCHER_Prop_lineColor, 0x8000001 ); |
4865 |
aPropertyOptions.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 ); |
4865 |
aPropertyOptions.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 ); |
4866 |
aPropertyOptions.CreateFillProperties( mXPropSet, sal_True ); |
4866 |
aPropertyOptions.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4867 |
sal_uInt32 nLineFlags = 0x90001; |
4867 |
sal_uInt32 nLineFlags = 0x90001; |
4868 |
if ( aPropertyOptions.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) ) |
4868 |
if ( aPropertyOptions.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) ) |
4869 |
nLineFlags |= 0x10001; // draw dashed line if no line |
4869 |
nLineFlags |= 0x10001; // draw dashed line if no line |
Lines 4908-4914
Link Here
|
4908 |
nPlaceHolderAtom = rLayout.nTypeOfTitle; |
4908 |
nPlaceHolderAtom = rLayout.nTypeOfTitle; |
4909 |
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0x220, aSolverContainer ); // Flags: HaveAnchor | HaveMaster |
4909 |
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0x220, aSolverContainer ); // Flags: HaveAnchor | HaveMaster |
4910 |
aPropOpt.AddOpt( ESCHER_Prop_hspMaster, mnShapeMasterTitle ); |
4910 |
aPropOpt.AddOpt( ESCHER_Prop_hspMaster, mnShapeMasterTitle ); |
4911 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
4911 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4912 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True ); |
4912 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True ); |
4913 |
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt ); |
4913 |
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt ); |
4914 |
if ( mbEmptyPresObj ) |
4914 |
if ( mbEmptyPresObj ) |
Lines 4957-4963
Link Here
|
4957 |
aPropOpt2.AddOpt( ESCHER_Prop_lineColor, 0x8000001 ); |
4957 |
aPropOpt2.AddOpt( ESCHER_Prop_lineColor, 0x8000001 ); |
4958 |
aPropOpt2.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0x90001 ); |
4958 |
aPropOpt2.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0x90001 ); |
4959 |
aPropOpt2.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 ); |
4959 |
aPropOpt2.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 ); |
4960 |
aPropOpt2.CreateFillProperties( mXPropSet, sal_True ); |
4960 |
aPropOpt2.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
4961 |
sal_uInt32 nLineFlags = 0x90001; |
4961 |
sal_uInt32 nLineFlags = 0x90001; |
4962 |
if ( aPropOpt2.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) ) |
4962 |
if ( aPropOpt2.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) ) |
4963 |
nLineFlags |= 0x10001; // draw dashed line if no line |
4963 |
nLineFlags |= 0x10001; // draw dashed line if no line |
Lines 5006-5012
Link Here
|
5006 |
mpPptEscherEx->OpenContainer( ESCHER_SpContainer ); |
5006 |
mpPptEscherEx->OpenContainer( ESCHER_SpContainer ); |
5007 |
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0x220, aSolverContainer ); // Flags: HaveAnchor | HaveMaster |
5007 |
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0x220, aSolverContainer ); // Flags: HaveAnchor | HaveMaster |
5008 |
aPropOpt.AddOpt( ESCHER_Prop_hspMaster, mnShapeMasterBody ); |
5008 |
aPropOpt.AddOpt( ESCHER_Prop_hspMaster, mnShapeMasterBody ); |
5009 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True ); |
5009 |
aPropOpt.CreateFillProperties( mXPropSet, sal_True, mXShape ); |
5010 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True ); |
5010 |
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True ); |
5011 |
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt ); |
5011 |
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt ); |
5012 |
if ( mbEmptyPresObj ) |
5012 |
if ( mbEmptyPresObj ) |