[Libreoffice-bugs] [Bug 47674] calc: remember settings in dialogs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 4 20:56:28 CEST 2012


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

Eike Rathke <erack at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|                            |EasyHack,SkillCpp,TopicUI
                 CC|                            |erack at redhat.com

--- Comment #2 from Eike Rathke <erack at redhat.com> 2012-07-04 11:56:28 PDT ---
Making this an EasyHack. For the text import that is, please don't mix in other
dialogues such as Chart wizard.

For that specific text import dialog it shouldn't be too difficult to implement
that for the clipboard variant given that something similar already exists for
the file variant that uses the same dialog.

Take a look at sc/source/ui/dbgui/scuiasciiopt.cxx for where the mbFileImport
variable is evaluated and load_Separators() and save_Separators() are called,
the not-file case then could take a second configuration option into account
(keep file and non-file separated!). However, care has to be taken for calls to
this dialog that may set a specific separator via cSep argument, check calls to
CreateScImportAsciiDlg()

For how to preset configuration with sensible values see
officecfg/registry/schema/org/openoffice/Office/Calc.xcs
section of group CSVImport the Separators property. Another group can be
created on the same level and named e.g. "ClipboardTextImport". Add only the
"Separators" property.

Btw, really, I don't see any 'high' importance on this bug ...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list