Some content in ODP slide appears only in slide show view of Impress, not in normal view or PDF output

I have some ODP-format slides
which appear correctly when I view them with the [F5] slide show view in Impress, but in which some content is missing when I view them in the
normal view, and when I export to PDF.  Any ideas why this might be, and how I can get a PDF in which all the content appears correctly, please?

I've attached a minimal(ish) example.  My apologies if attachments violate the netiquette of this list.

(BTW, this is all happening in LibreOffice 3.6.6.2 under Windows 7.)

Hi :slight_smile:
Sorry you haven't received many replies to this yet! You could upload the
files to Nabble so that people can see them and see the problem. It's not
as tough as it sounds!

Just use the links in this email or navigate to the right thread through the
official site
"Get help" - Nabble - then look for the same subject-line that you wrote

Start posting a reply and notice that above where you are typing-in there
are some buttons such as "More". The "More" one has "Upload a file" as it's
top option. Then it's just the same as adding an attachment to an email.
It has the same sort of "browse" thing. Once done all you see is a line of
html code added into your reply. You can move that link around to position
it better if you want.

Btw have you tried upgrading to 4.0.something? Have you had time to try the
3.6.7 that has just been released?

Regards from
Tom :slight_smile:

Dan-2 wrote

Tom wrote

Hi :slight_smile:
Sorry you haven't received many replies to this yet! You could upload the
files to Nabble so that people can see them and see the problem. It's not
as tough as it sounds!

Just use the links in this email or navigate to the right thread through
the official site
"Get help" - Nabble - then look for the same subject-line that you wrote

Start posting a reply and notice that above where you are typing-in there
are some buttons such as "More". The "More" one has "Upload a file" as
it's top option. Then it's just the same as adding an attachment to an
email. It has the same sort of "browse" thing. Once done all you see is
a line of html code added into your reply. You can move that link around
to position it better if you want.

Btw have you tried upgrading to 4.0.something? Have you had time to try
the 3.6.7 that has just been released?

Slide_with_vanishing_content.odp
<http://nabble.documentfoundation.org/file/n4066171/Slide_with_vanishing_content.odp>

Thanks Tom. This is my attempt at a Nabble upload of the file. As I said,
it looks as it should in the [F5] slide show view, but some content is
missing in the Normal view and in exported PDF.

I'll look into 4.0.x.

Anne - please can you expand on what you mean by "the proper LO way"?

Hi :slight_smile:
When i first opened the Odf it looked fine. Lots of "white space" (actually
blue-sky). The Pdf looked the same.
Slide_with_vanishing_content.pdf
<http://nabble.documentfoundation.org/file/n4066185/Slide_with_vanishing_content.pdf>

So, i thought there was no problem until i hit the F5 key and saw how it
should look! This screen-shot
<http://nabble.documentfoundation.org/file/n4066185/Screenshot-2013-07-19--11-37-07.png>
shows tons more information including all the equations. Suddenly the whole
thing made more sense! :slight_smile:
Screenshot-2013-07-19–11-37-07.png
<http://nabble.documentfoundation.org/file/n4066185/Screenshot-2013-07-19--11-37-07.png>

I don't know enough about Impress to know why this is happening. It doesn't
seem to be due to missing fonts (tick-box in the bottom of the Pdf exporter
dialogue). Are the equations created in "Math" and then copied into the
Impress slide? or are the equations done straight into the text-box?

I'm using LO 3.5.7 on Ubuntu 12.04 right now so i don't think it's a recent
regression. It's more likely to be misuse or misunderstanding but maybe is
a bug?

Regards from
Tom :slight_smile:

IIRC, the equations were originally copied and pasted into Impress from a pptx presentation that I had open in PowerPoint 2010.  I have a vague memory that, immediately after pasting them, they looked right in Normal view until the first time that Impress was closed and restarted.

Hi :slight_smile:
Ahhh, they might have pulled some bad formatting with them.  I often find it's good to make a fresh start in LibreOffice at some point.

For normal text doing
Ctrl Shift v
to "Paste Special" and then choose "unformatted text" gets rid of a lot of messy formatting.  Then apply and modify styles to get things the way i like.

For the equations it might be best to re-write them in Math and then copy them into the slide.

Regina or someone else here might have some really clever way of sorting the problem in some far more elegant way but often it's quickest to just do my painful way once and as you do that you'll probably figure out something a bit more elegant.

Apols and regards from
Tom :slight_smile:

I've managed to narrow things down a bit further: the troublesome content is
in this SVM file:

SVM_file_containing_equations.svm
<http://nabble.documentfoundation.org/file/n4066225/SVM_file_containing_equations.svm>

When the SVM file is opened in LibreOffice Draw, the missing content still
appears to be missing. But copying and pasting from Draw into a new Impress
presentation, then hitting F5, still brings the full content back as it
should be.

This might be an important clue... Upgrading to 4.0.4.2 (from 3.6.6.2) has made things worse: in 4.0.4.2, the "missing"
content appears to be missing even in the slide show view.

Hi :slight_smile:
It might be worth posting a bug report about this issue and mention that
https://wiki.documentfoundation.org/BugReport

Obviously just reinstall the 3.6.6 or the slightly newer 3.6.7.  Within a branch the updates are just bug-fixes, a little better compatibility with the latest versions of the MS formats and not much more.  Going up a branch adds new features and a fairly large improvement in compatibility with the latest versions of the MS formats.  So, the newer 4.0.x branch probably added something that interferes with showing the slide.  The 3.6.7 doesn't add new features it just fixes a few things. 
Regards from
Tom :slight_smile:

Hi :slight_smile:
Ok, i had a quick go at this and got this result ...
Slide_with_vanishing_content-rewritten.odp
<http://nabble.documentfoundation.org/file/n4066261/Slide_with_vanishing_content-rewritten.odp>

Errr, i don't really know my way around Impress yet so i couldn't get the
same sky in as a background. Also didn't change any font colours or deal
with object outlines or colours. Really kept it very straight-forwards
apart from rearranging the main picture and main heading "to look
interesting". The Pdf worked too!
Slide_with_vanishing_content-rewritten.pdf
<http://nabble.documentfoundation.org/file/n4066261/Slide_with_vanishing_content-rewritten.pdf>
Only 60Kb and that with no compression at all!

The Math equations are here. It was my first with Math. After i had put
the whole slide together i realised that 18pt font was a touch too large
(hence the "interesting arrangement") but the only way to change the size
was to go back into each equation in Math and do
Format - "Font size"
but i had run out of steam and am getting funny looks from my boss already
eqn1.odf <http://nabble.documentfoundation.org/file/n4066261/eqn1.odf>
eqn2.odf <http://nabble.documentfoundation.org/file/n4066261/eqn2.odf>
eqn3.odf <http://nabble.documentfoundation.org/file/n4066261/eqn3.odf>
eqn4.odf <http://nabble.documentfoundation.org/file/n4066261/eqn4.odf>

I've been meaning to try Math for quite some time but hadn't had an excuse
before. The mark-up language is probably easier if you are familiar with
using equations and the names of the Greek letters. Getting spaces in and
wording kinda made sense but seemed a bit clunky. Can't really see a way
around that though. The way it is set-up does have the advantage that you
can space things out to make more sense. My 1st attempt looked a bit
spaghetti-ish but it seemed to work.

Regards from
Tom :slight_smile:

Hi vi5u0,

vi5u0 schrieb:

Tom wrote

Hi :slight_smile:
Sorry you haven't received many replies to this yet! You could upload the
files to Nabble so that people can see them and see the problem. It's not
as tough as it sounds!

Just use the links in this email or navigate to the right thread through
the official site
"Get help" - Nabble - then look for the same subject-line that you wrote

Start posting a reply and notice that above where you are typing-in there
are some buttons such as "More". The "More" one has "Upload a file" as
it's top option. Then it's just the same as adding an attachment to an
email. It has the same sort of "browse" thing. Once done all you see is
a line of html code added into your reply. You can move that link around
to position it better if you want.

Btw have you tried upgrading to 4.0.something? Have you had time to try
the 3.6.7 that has just been released?

Slide_with_vanishing_content.odp
<http://nabble.documentfoundation.org/file/n4066171/Slide_with_vanishing_content.odp>

The document has damaged content. The error is not in LO but already in the file.

In detail: The document contains a lot of objects which has got an attribute svg:viewbox="0 0 0 0". Having a viewbox with width and height zero means, that the object is not displayed. When you try to edit the objects, you will notice, that they vanish in edit view too. If I set a proper width and height manually in the file souce, the upper drawings are shown.

The question is, how was the file generated? Most of the objects are of draw:type="ooxml-rect". That suggests, that the original file was a .pptx. Which application was used to convert it to .odp?

Kind regards
Regina

Hi :slight_smile:
In this sort of situation is it possible to go into the file as a though it's a zip-file and fix it by just editing a couple of easy things in there?

ie
filename.odp
to
filename.zip

and then edit the xml file in there?

Would that be an easier approach to fixing a LOT of files in a big batch run?

Regards from
Tom :slight_smile: