View | Details | Raw Unified | Return to issue 119458
Collapse All | Expand All

(-)sd/source/filter/eppt/epptso.cxx (-2 / +6 lines)
Lines 4969-4982 Link Here
4969
								*mpStrm << (sal_Int16)maRect.Top() << (sal_Int16)maRect.Left() << (sal_Int16)maRect.Right() << (sal_Int16)maRect.Bottom();  // oben, links, rechts, unten ????
4969
								*mpStrm << (sal_Int16)maRect.Top() << (sal_Int16)maRect.Left() << (sal_Int16)maRect.Right() << (sal_Int16)maRect.Bottom();  // oben, links, rechts, unten ????
4970
								mpPptEscherEx->OpenContainer( ESCHER_ClientData );
4970
								mpPptEscherEx->OpenContainer( ESCHER_ClientData );
4971
								mpPptEscherEx->AddAtom( 8, EPP_OEPlaceholderAtom );
4971
								mpPptEscherEx->AddAtom( 8, EPP_OEPlaceholderAtom );
4972
								sal_uInt8 PlaceHolderID = ( mType == "presentation.Subtitle") ? EPP_PLACEHOLDER_MASTERSUBTITLE:EPP_PLACEHOLDER_MASTERBODY;
4972
								*mpStrm << (sal_uInt32)1                                                        // PlacementID
4973
								*mpStrm << (sal_uInt32)1                                                        // PlacementID
4973
										<< (sal_uInt8)EPP_PLACEHOLDER_MASTERBODY                                    // PlaceHolderID
4974
										<< PlaceHolderID/*(sal_uInt8)EPP_PLACEHOLDER_MASTERBODY */                                   // PlaceHolderID
4974
										<< (sal_uInt8)0                                                         // Size of PlaceHolder ( 0 = FULL, 1 = HALF, 2 = QUARTER )
4975
										<< (sal_uInt8)0                                                         // Size of PlaceHolder ( 0 = FULL, 1 = HALF, 2 = QUARTER )
4975
										<< (sal_uInt16)0;                                                       // padword
4976
										<< (sal_uInt16)0;                                                       // padword
4976
								mpPptEscherEx->CloseContainer();    // ESCHER_ClientData
4977
								mpPptEscherEx->CloseContainer();    // ESCHER_ClientData
4977
								mpPptEscherEx->OpenContainer( ESCHER_ClientTextbox );       // printf
4978
								mpPptEscherEx->OpenContainer( ESCHER_ClientTextbox );       // printf
4978
								mpPptEscherEx->AddAtom( 4, EPP_TextHeaderAtom );
4979
								mpPptEscherEx->AddAtom( 4, EPP_TextHeaderAtom );
4979
								*mpStrm << (sal_uInt32)EPP_TEXTTYPE_Body;
4980
								if ( mType == "presentation.Subtitle")
4981
									*mpStrm << (sal_uInt32)EPP_TEXTTYPE_CenterBody;
4982
								else
4983
									*mpStrm << (sal_uInt32)EPP_TEXTTYPE_Body;
4980
								mnTextSize = aTextObj.Count();
4984
								mnTextSize = aTextObj.Count();
4981
								aTextObj.Write( mpStrm );
4985
								aTextObj.Write( mpStrm );
4982
								mpPptEscherEx->BeginAtom();
4986
								mpPptEscherEx->BeginAtom();

Return to issue 119458