To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60446
                  Issue #:|60446
                  Summary:|add new text filter for calc module
                Component:|Spreadsheet
                  Version:|OOo 2.0.1
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|er
              Reported by:|as





------- Additional comments from [EMAIL PROTECTED] Thu Jan 12 06:26:03 -0800 
2006 -------
This task is a follow up of #i55122#. What's happen there:

- User load use "Insert->Sheet from file..." to insert a file "myfile.dat" into 
a calc 
document. This file is an ascii file.
- The dialog preselects the document service "com.sun.star.sheet.
SpreadsheetDocument".
- The user does not preselect any filter.

The used TypeDetection does the following:
- It checks if one of the set of calc filters match to this URL ... by checking 
it's 
extension. But there is no filter matching to the extension "*.dat".
- So it asks every registered detect service. But the writer detection is asked 
first 
(because there is no order between different detect service). And the writer 
detects 
"writer_Text".
- This result is right. because the file is an ascii fil.
-But now we try to find a suitable filter inside the calc module ... registered 
for the 
type "writer_Text". But there is no filter registered for this type.

And that's exactly the problem, we will solve here.
We should duplicate the CSV filter and register it as simple TEXT filter twice.
Then the calc module can improve it's function set and will learn to be able to 
load 
several ASCII formats even if the writer detection is involved or the user dont 
know 
what are extensions are usefull for .-)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to