Kaydet (Commit) 3473dbf6 authored tarafından Sun Ying's avatar Sun Ying

#120556# fix the "RingOutside" fontwork display incorrectly when open .ppt file

Reported by: Li Feng Wang
Patch by: Ying Sun
Review by: Jian Yuan Li
üst 6fa2e38b
......@@ -6463,15 +6463,21 @@ static const mso_CustomShape msoTextChevronInverted =
(SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, sizeof( mso_sptTextChevronInvertedHandle ) / sizeof( SvxMSDffHandle )
};
//mso_sptTextRingOutside
//path = U 10800 ?f0 21600 ?f2 180 539 N U 10800 ?f1 21600 ?f2 180 539 N
static const SvxMSDffVertPair mso_sptTextRingOutsideVert[] =
{
{ 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 },
{ 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }
{ 10800, 0 MSO_I }, { 21600, 2 MSO_I }, { 180, 539},//U
{ 10800, 1 MSO_I }, { 21600, 2 MSO_I }, { 180, 539 }//U
//{ 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 },
//{ 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }
};
static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc[] = // adjustment1 : 6629 - 14971
{
{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
{ 0x8000, { 21600, 0, 0x400 } }
{ 0x8000, { 21600, 0, 0x400 } },
{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //$0
{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }//21600-$0
};
static const sal_uInt16 mso_sptTextRingOutsideSegm[] =
{
......@@ -6480,7 +6486,7 @@ static const sal_uInt16 mso_sptTextRingOutsideSegm[] =
};
static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] =
{
{ MSDFF_HANDLE_FLAGS_RANGE,
{ MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
};
static const mso_CustomShape msoTextRingOutside =
......@@ -6488,7 +6494,7 @@ static const mso_CustomShape msoTextRingOutside =
(SvxMSDffVertPair*)mso_sptTextRingOutsideVert, sizeof( mso_sptTextRingOutsideVert ) / sizeof( SvxMSDffVertPair ),
(sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1,
(SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, sizeof( mso_sptTextRingOutsideCalc ) / sizeof( SvxMSDffCalculationData ),
(sal_Int32*)mso_sptDefault16200,
(sal_Int32*)mso_sptDefault13500,
(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
21600, 21600,
0x80000000, 0x80000000,
......
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