← Back to team overview

desktop-packages team mailing list archive

[Bug 424044] Re: [ooo-build] OOo Math Objects are resized without warning when saving to MS .doc format

 

** Description changed:

  Binary package hint: openoffice.org-writer
  
- There is an issue with mathematical object size preservation when saving
- to Microsoft Word Document format.
+ 1) lsb_release -rd
+ Description:	Ubuntu 11.04
+ Release:	11.04
  
- Steps to reproduce:
- 1) Insert > Object > Formula
+ 2) apt-cache policy libreoffice-writer
+ libreoffice-writer:
+   Installed: 1:3.3.3-1ubuntu2
+   Candidate: 1:3.3.3-1ubuntu2
+   Version table:
+  *** 1:3.3.3-1ubuntu2 0
+         100 /var/lib/dpkg/status
+      1:3.3.2-1ubuntu5 0
+         500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
+      1:3.3.2-1ubuntu4 0
+         500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
  
- 2) In the Formula edit pane enter the following two lines:
+ 3) What is expected to happen in LibreOffice Writer via the Terminal:
+ 
+ cd ~/Desktop && wget
+ https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/424044/+attachment/2287815/+files/example.odt
+ && lowriter -nologo example.odt
+ 
+ save to .doc and open the .doc it looks the same as the .odt.
+ 
+ 4) What happens instead is the embedded Math equation is resized. The
+ Math equation changes from:
+ 
  size 21{ Prod cSub { size 14{ ital "k="1} } cSup { size 14{N} } {p rSub {size 14 {k}
  }^{size 14 n_{size 10 k} } } }
  
- #this can be seen in attachment db-screenshot-1.png
+ in the .odt to:
  
- 3) Save the file as odt, open the file
+ size 12{ Prod cSub { size 8{ ital "k="1} } cSup { size 8{N} } {p rSub {
+ size 8{k} } rSup { size 8{n rSub {k} } } } } {}
  
- #this can be seen in attachment db-screenshot-2.png
- 
- 4) Save the file as doc (Microsoft Word 97/2000/XP), open the file
- 
- #this can be seen in attachment db-screenshot-3.png
- 
- I can confirm that by saving to doc format the code has now changed to the following line:
- size 12{ Prod cSub { size 8{ ital "k="1} } cSup { size 8{N} } {p rSub { size 8{k} } rSup { size 8{n rSub {k} } } } } {}
- 
- The user is not notified of this resizing. My guess is that Microsoft
- format uses a different way of using math, and there is most an issue
- making a one to one conversion. I have been told that there are known
- issues with how picking the Microsoft document format translates math
- objects.
- 
- Other than saving to the standard OpenOffice document format .odt, there
- is no way to prevent this resizing from happening.
+ in .doc.

** Tags added: lo33

** Summary changed:

- [ooo-build] OOo Math Objects are resized without warning when saving to MS .doc format
+ [ooo-build] Math Object formula changed causing resize saving .odt to .doc

** Changed in: libreoffice (Ubuntu)
   Importance: Undecided => Medium

** Changed in: libreoffice (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: openoffice.org (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/424044

Title:
  [ooo-build] Math Object formula changed causing resize saving .odt to
  .doc

Status in The OpenOffice.org Suite:
  New
Status in “libreoffice” package in Ubuntu:
  Triaged
Status in “openoffice.org” package in Ubuntu:
  New

Bug description:
  Binary package hint: openoffice.org-writer

  1) lsb_release -rd
  Description:	Ubuntu 11.04
  Release:	11.04

  2) apt-cache policy libreoffice-writer
  libreoffice-writer:
    Installed: 1:3.3.3-1ubuntu2
    Candidate: 1:3.3.3-1ubuntu2
    Version table:
   *** 1:3.3.3-1ubuntu2 0
          100 /var/lib/dpkg/status
       1:3.3.2-1ubuntu5 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
       1:3.3.2-1ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

  3) What is expected to happen in LibreOffice Writer via the Terminal:

  cd ~/Desktop && wget
  https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/424044/+attachment/2287815/+files/example.odt
  && lowriter -nologo example.odt

  save to .doc and open the .doc it looks the same as the .odt.

  4) What happens instead is the embedded Math equation is resized. The
  Math equation changes from:

  size 21{ Prod cSub { size 14{ ital "k="1} } cSup { size 14{N} } {p rSub {size 14 {k}
  }^{size 14 n_{size 10 k} } } }

  in the .odt to:

  size 12{ Prod cSub { size 8{ ital "k="1} } cSup { size 8{N} } {p rSub
  { size 8{k} } rSup { size 8{n rSub {k} } } } } {}

  in .doc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openoffice/+bug/424044/+subscriptions