diff options
author | Sun Ying <sunying@apache.org> | 2012-08-16 02:22:49 +0000 |
---|---|---|
committer | Sun Ying <sunying@apache.org> | 2012-08-16 02:22:49 +0000 |
commit | f2bb9c92958a9c1c464c82e1129b8de4be0159cb (patch) | |
tree | c2027c922561d5fd7a05726b35b003be379af6e0 /sd | |
parent | eb35d2fe464df76f105f9a1514081495cc5ee3a7 (diff) |
#119515# fix the numbering bullet in table cell changed when saved to .ppt file
Reported by: liupingtan
Patch by: Ying Sun
Review by: Jian Yuan Li
Notes
Notes:
merged as: b619ffdbb3656bc01a603afb26caea8a483bc5ec
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index a651f56dd729..86848144ad5d 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -5741,15 +5741,27 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc ImplWriteTextStyleAtom( aClientTextBox, EPP_TEXTTYPE_Other, 0, NULL, aExtBu, &aPropOptSp ); + // need write client data for extend bullet + if ( aExtBu.Tell() ) + { + SvMemoryStream* pClientData = new SvMemoryStream( 0x200, 0x200 ); + ImplProgTagContainer( pClientData, &aExtBu ); + *mpStrm << (sal_uInt32)( ( ESCHER_ClientData << 16 ) | 0xf ) + << (sal_uInt32)pClientData->Tell(); + + mpStrm->Write( pClientData->GetData(), pClientData->Tell() ); + delete pClientData, pClientData = NULL; + } + aPropOptSp.Commit( *mpStrm ); mpPptEscherEx->AddAtom( 16, ESCHER_ChildAnchor ); *mpStrm << nLeft - << nTop - << nRight - << nBottom; + << nTop + << nRight + << nBottom; *mpStrm << (sal_uInt32)( ( ESCHER_ClientTextbox << 16 ) | 0xf ) - << (sal_uInt32)aClientTextBox.Tell(); + << (sal_uInt32)aClientTextBox.Tell(); mpStrm->Write( aClientTextBox.GetData(), aClientTextBox.Tell() ); mpPptEscherEx->CloseContainer(); |