https://bugs.freedesktop.org/show_bug.cgi?id=47332

             Bug #: 47332
           Summary: Drawing, FILESAVE, Embed colors palette in document
                    does NOT work
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.0 Release
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drawing
        AssignedTo: [email protected]
        ReportedBy: [email protected]


- new drawing in slackware Linux, draw a rectangle,
   with ... Area... > Colors, new color Yellow-Gray-jp (R,G,B)=(254,254,50),
   [x] Embed
   > File > Save: tst-color-embed.odg
 - Open as other user on same slackware (OR copied to Windows XP),
   tst-color-embed.odg file: rectangle has correct color, but NO name of color.

Same problem if ... > Colors, [x] Embed + Save Color List in a file:

 - Linux, draw NEW file tst-color-embed.odg,
   on filled rectangle Area... > Colors, new color Yellow-Gray-jp
   (R,G,B)=(254,254,50), [x] Embed,
   + > Save Color List in .../tst-colors-embed/Yellow-Gray-jp.soc, [x] Embed;
   > File > Save.
   (creates ~jpmoreau/.config/libreoffice/3/user/config/Yellow-Gray-jp.soc).

Note that LibO Draw takes its color palette NOT from saved .soc file, but
from same file name in user configs:

- Approx, after saving a Color List and saving file as above (with [x] Embed):
  - rename ~/.config/libreoffice/3/user/config/Yellow-Gray-jp.soc
    to .../Yellow-Gray-jp.soc-bk0
  - Re-Open document test-color-embed.odg : Yellow-Gray-jp color name NOT
there!
- Search in uncompressed .odg file, Gray-jp found in only ONE file:
    user$ mkdir t; cd t; 7z x ../test-color-embed.odg
          fgrep -l Gray-jp *.xml; emacs settings.xml # C-x C-s Gray-jp
  only ONE location,
         ...<config:config-item config:name="ColorTableURL"  
         config:type="string">$(user)/config/Yellow-Gray-jp.soc
         </config:config-item>...

So the Path+Name of .soc file conserved in .odg document, NOT the color table
itself.
What's more, it has the user libreoffice config dir Path, NOT the path of file
where I did 'Area... > Colors > Save Color List'!

Ouff! Excuse me for this technical description.
I hope it is useful.
An thank you a lot for your work.
--
Jean-Pierre

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to