incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120730] [From Symphony] Table changes to multiple shapes after saved in AOO
Date Sun, 09 Sep 2012 01:55:03 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120730

--- Comment #6 from sunying <sunying@apache.org> ---
modify the solution of defect 1:
solution:
the core function may be depend on these position,so restore these position
when export,and does not remove the var pMergedCellIndexTable.
(In reply to comment #3)
> Actually, It is two defect:
1. The position of some merged cell's line
> display error when exported by AOO.
 root cause :
  The position of some
> merged cell's line have been changed when import,
  and write a error
> position when export.
  e.g:
    2*2 table,merged 1 & 2 cell. imported by
> AOO.
   _ _ _  _ _ _ _             _ _ _  _ _ _ _
  |_ 1_ _|_ _2 _|         
> |_ _1 _ _2 _ _| 
  |_ _ 3_|_ _4 _|            |_ _3 _|_ 4_ _|

in funciton
> SdrPowerPointImport::CreateTable at
> "main\filter\source\msfilter\svdfppt.cxx"

line 7785: initialize 
> pMergedCellIndexTable[] = {0,1,2,3}, 
line 7811: processed it, become
> {0,0,2,3}.
line 7842: change the positon of cell's line, the position of 2rd
> cell's line is same with 1rd cell .

in function PPTWriter::ImplCreateTable
> at file "\main\sd\source\filter\eppt\epptso.cxx"
line 5804, get the position
> of 2rd cell's line error, so display error when open by MS.
solution:
the
> cell's position should not changed.the var pMergedCellIndexTable is
> unnecessary. so remove it.

2. The table which include merged cell become a
> group shape exported by AOO.
root cause :
  Merged cell's border was export
> to two or more lines.see detail in attachment "root cause of become group
> shape.png"
solution
   merged cell's line should be merged to a whole
> line,not separated line,
   rewrite the filter part that export cell's line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message