To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92895
                 Issue #|92895
                 Summary|Retrieves the mere filename out of a whole path
               Component|Spreadsheet
                 Version|OOo 3.0 Beta
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|spreadsheet
             Reported by|rupike





------- Additional comments from [EMAIL PROTECTED] Tue Aug 19 07:32:02 +0000 
2008 -------
I am using the method FileNameoutofPath to get a name of document.The one is not
working into Open Office ver. 3.0 Beta.

The call ArrayoutofString(Path, Separator,i) must initialize i to get a file
name from the SepList. The value of the i must be the last element of SepList.
--------------------------------------------------------------------------------

Function FileNameoutofPath(ByVal Path as String, Optional Separator as String)
as String
Dim i as Integer
Dim SepList() as String
        If IsMissing(Separator) Then
                Path = ConvertFromUrl(Path)
                Separator = GetPathSeparator()          
        End If
        SepList() = ArrayoutofString(Path, Separator,i)
        FileNameoutofPath = SepList(i)
End Function

---------------------------------------------------------------------
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