Issue 6077 - Ability to create nonexistent file from command line
Summary: Ability to create nonexistent file from command line
Alias: None
Product: ui
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: All All
: P5 (lowest) Trivial with 8 votes (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
Keywords: rfe_eval_ok
: 61740 (view as issue list)
Depends on:
Reported: 2002-06-23 21:08 UTC by erikwanta
Modified: 2015-04-17 10:03 UTC (History)
5 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description erikwanta 2002-06-23 21:08:24 UTC
It would be nice if swriter -f xx.sdw would create the file xx.sdw if it didn't
exist and then open it.

It would be nice if there were a -read option.

swriter -read xx.sdw would open the file in read mode.
Comment 1 Oliver Specht 2002-06-24 08:00:55 UTC
Reassigned to FT
Comment 2 chris 2003-03-07 14:11:20 UTC
I have had a similar bugreport in the Debian Bug tracking system:

Date: Wed, 15 Jan 2003 16:17:26 +0100
From: martin f krafft <>
To: Debian Bug Tracking System <>
Subject: starting with non-existing file
Message-ID: <>

Version: 1.0.1-6
Severity: wishlist

When I call openoffice with a file that does exist as it's first
argument, I'd expect it to create a new document in that file.
I doesn't, and refuses to start with an error message about a file
that doesn't exist.
Comment 3 falko.tesch 2003-10-16 12:28:11 UTC
Just type soffice /path/to/the/file/filename
That will open the file in the right application (given the file type
is known by OO.o)
We currently have no plans to enhance this operation.
Tip: If you need read-only mode just use the OS file attributes to do so.
Comment 4 falko.tesch 2003-10-16 12:28:24 UTC
Comment 5 falko.tesch 2003-10-16 12:29:56 UTC
I'm really sorry. I overread that you want to _create_ a file instead
of opening an existiong one.
Comment 6 falko.tesch 2003-10-16 12:31:46 UTC
Allow to create an empty document from command-line.
Type in soffice /my/path/new_filname.sxw
create an empty Writer document named "new_filname.sxw" and opens it
in Writer.
Comment 7 falko.tesch 2003-10-16 12:32:13 UTC
Comment 8 thorsten.martens 2006-02-08 10:37:17 UTC
*** Issue 61740 has been marked as a duplicate of this issue. ***
Comment 9 bettina.haberer 2010-05-21 15:11:34 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".