Issue 93188 - "Fit height to text" setting on text boxes lost after export to PowerPoint (PPT)
Summary: "Fit height to text" setting on text boxes lost after export to PowerPoint (PPT)
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: save-export (show other issues)
Version: OOO300m3
Hardware: PC All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 16:55 UTC by mlayton
Modified: 2013-08-07 15:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Test presentation with a text box and a custom shape (10.23 KB, application/vnd.oasis.opendocument.presentation)
2008-08-27 16:57 UTC, mlayton
no flags Details
Exported PPT file with a text box and a custom shape (73.00 KB, application/vnd.ms-powerpoint)
2008-08-27 16:58 UTC, mlayton
no flags Details
Screen shot of Impress with Format Text dialog box for each object (150.18 KB, image/png)
2008-08-27 17:01 UTC, mlayton
no flags Details
Screen shot of PowerPoint 2003 with Format Text dialog box for each object (84.69 KB, image/png)
2008-08-27 17:01 UTC, mlayton
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mlayton 2008-08-27 16:55:54 UTC
Text boxes created in Impress lose their "Fit height to text" setting when saved
as PowerPoint, but custom shapes retain the setting as expected.

To reproduce:

1. Create a text box and enter some text. By default, the Format > Text... >
"Fit height to text" option is checked and the "Fit width to text" option is
unchecked.
2. Create a custom shape from the Drawing toolbar. Click on the Basic Shape
button and select a Rectangle from the menu. (Don't use the rectangle button.
That creates a different type of shape.) Create a box and enter some text.
3. Select Format > Text... Then check both the "Word wrap text in shape" and the
"Resize shape to fit text" options.
4. Save as PowerPoint.
5. Open in Microsoft PowerPoint 2003 or 2007. 
6. Select text box.
7. Select Format > Text Box. In the Format Text Box dialog on the Text Box tab,
the "Resize Autoshape to fit text" option is unchecked but should be checked.
8. Select the custom shape.
9. Select Format > Text Box. In the Format Autoshape dialog on the Text Box tab,
the "Resize Autoshape to fit text" option is checked as expected.

I've attached a demo ODP file and the exported PPT file, along with some screen
shots.

The custom shape is a draw:custom-shape object in the XML. During export, a
draw:custom-shape seems to be translated to a PowerPoint Autoshape rather than a
PowerPoint Text Box. The two objects can be differentiated in PowerPoint by the
name of the Format dialog box.

The underlying style attributes for the text box (a draw:frame object containing
a draw:text-box) and the custom shape (a draw:custom-shape object) are
identical. Plus the two objects have identical fitting options in the Impress
UI. (Some aren't editable by the user depending on the object type). But the
text box loses its fitting option during export and the shape doesn't.

As an aside, text boxes first created in PowerPoint retain the fitting option in
Impress, because PowerPoint text boxes are imported as custom shapes instead of
true text boxes.

Fixing this would greatly improve workflows where presentations are authored in
Impress but later edited in PowerPoint.
Comment 1 mlayton 2008-08-27 16:57:33 UTC
Created attachment 56055 [details]
Test presentation with a text box and a custom shape
Comment 2 mlayton 2008-08-27 16:58:39 UTC
Created attachment 56056 [details]
Exported PPT file with a text box and a custom shape
Comment 3 mlayton 2008-08-27 17:01:01 UTC
Created attachment 56057 [details]
Screen shot of Impress with Format Text dialog box for each object
Comment 4 mlayton 2008-08-27 17:01:38 UTC
Created attachment 56058 [details]
Screen shot of PowerPoint 2003 with Format Text dialog box for each object
Comment 5 wolframgarten 2008-08-28 08:17:08 UTC
Reproducible. Reassigned.