Apache OpenOffice (AOO) Bugzilla – Issue 122982
Copying spreadsheet into another document in bit map format has disappeared in Version 4. Worked on Version 3.
Last modified: 2017-05-20 10:34:13 UTC
I need to copy formatted spreadsheet information into documents. In version 3 I could copy the xls spreadsheet and then paste into a document using Edit /Paste Special / Device Independent Bitmap. When I do this using Version 4, the Edit / Paste Special drop-down list does not include the "Device Independent Bitmap" option or any bit map option.
"Device Independent Bitmap" unclear. Rev. 1503704: Copy group of cells from ods and paste special as bitmap in odt results in blank read-error object. OpenOffice.org 2.4.3: paste special as bitmap OK.
ALG: copying cells from calc, paste-special as bitmap works in draw and impress, calc does something special (as bitmap not available). Fails in Writer (showing a graphic object, when making bigger says 'Read-Error'). Indeed works in 3.4.1 for Writer target.
ALG: The inserted object is a writer frame, no SdrGrafObj gets created.
ALG: When looking at TransferableDataHelper::GetGraphic the paste thinks that PNG is available and tries to get it. When forcing not to do so, it works. Maybe Calc states there is PNG available, but it is not?
ALG: TransferableDataHelper::GetBitmapEx tries to load as PNG despite getting the BMP stream; adding code and checking. This will need deepchecking if all pastes from external as PNG still work. Trying out...
ALG: Note: Fine when this works, still wrong that Calc claims that it can offer PNG, though...
ALG: Works as intended, also checked insert/as bitmap in draw/impress. Checked all pastes from gimp, Paint.NET and MyPaint, also works well.
ALG: Okay, looks good and is plausible. Also a candidate for AOO401, setting flag. Comitted to trunk.
ALG: commit has r1518964
"alg" committed SVN revision 1518964 into trunk: i122982 Fallback to bitmap reader when no PNG even when claimed
approve showstopper request
ALG: Also comitted to AOO401, done.
"alg" committed SVN revision 1519374 into branches/AOO401: i122982 Fallback to bitmap reader when no PNG even when claimed
ALG: Corrected owner
The latest available build in cwiki is AOO401m2(Build:9711) - Rev. 1518667, waiting for the build AOO401 (rev. 1519374) or the later
Created attachment 81461 [details] Reopened
This defect is not fixed in 4.0.1 revison r1518667 . OS -Win 8 1)Copy group of cell with formatted content to new odt .Paste Special as Bitmap-> Read Error Object appears .snapshot attached
ALG: @Akriti: Surely not, as you see in comment 13, it's in revision 1519374. It cannot be fixed in revision 1518667 wich you used for testing. You were just too fast ;-) FYI: Apache uses a single, big svn repository which produces a new revision number for each commit. The version you test with needs to be higher than the version the fix went into. The versio the fix went into is normally in one of the comments, you can identify it for AOO401 when it contains that string (e.g. 'branches/AOO401'). HTH and thanks for starting reviewing! Back to fixed until it will be checked on a valid version.
Verified in r1520285 and its fixed :)