Re: Basic Macro – write a file
Johnny, Looks like your file was created on a *nix machine, which uses only a linefeed (0x0a) as a line terminator. What you want is a DOS/Windows line terminator of carriage return-linefeed (0x0d 0x0a). I use dos2unix to convert such files: http://sourceforge.net/projects/dos2unix/ dos2unix is actually two programs, or filters. One changes CR-LF to LF (dos2unix) and the other changes LF to CR-LF (unix2dos). Although I use Linux, this package uses stdin and stdout (redirection is implied), so it should compile and run with any machine that has a C compiler. Hope this helps. Girvin Herr On 11/22/2013 03:41 PM, Johnny Rosenberg wrote: Dim iNumber As Integer iNumber = Freefile Open sFilePath For Output As #iNumber Print #iNumber, "Line 1" Print #iNumber, "Line 2" Close #iNumber The file now looks like this (in hex values): 4C 69 6E 65 20 31 0A 4C 69 6E 65 20 32 0A So every line ends with 0A (Chr(10)). The file is going to be in a special text file format suited for a specific app, so I need every line to end with 0D 0A (Chr(13) & Chr(10)). Is that possible? How? Can I see a short example of that, that creates a text file that looks like the following? 4C 69 6E 65 20 31 0D 0A 4C 69 6E 65 20 32 0D 0A Regards Johnny Rosenberg - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org
Basic Macro – write a file
Dim iNumber As Integer iNumber = Freefile Open sFilePath For Output As #iNumber Print #iNumber, "Line 1" Print #iNumber, "Line 2" Close #iNumber The file now looks like this (in hex values): 4C 69 6E 65 20 31 0A 4C 69 6E 65 20 32 0A So every line ends with 0A (Chr(10)). The file is going to be in a special text file format suited for a specific app, so I need every line to end with 0D 0A (Chr(13) & Chr(10)). Is that possible? How? Can I see a short example of that, that creates a text file that looks like the following? 4C 69 6E 65 20 31 0D 0A 4C 69 6E 65 20 32 0D 0A Regards Johnny Rosenberg
Re: Open Office 4
On Fri, 22 Nov 2013 09:25:20 -0700 John Meyer wrote: > On 11/21/2013 10:09 PM, Jim & Shirley wrote: > > I do not like the change in the new Open Office 4. To change the entire > > screen to a new colored venue is distracting and delays both the > > installation and the close of the program. It is pretty but not useful. > > Please change it back to its prior screen. > > > > JNGreene > Don't these people seem the type that would ask you to change the MOTD > back in the day because they didn't like it? > > When I see someone say that he has been using OpenOffice for n years and this, that, or the other is wrong, I'm reminded of Talleyrand's assessment of the Bourbon Dynasty "They have learned nothing and forgotten nothing". -- Rory O'Farrell - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org
Re: Open Office 4
On 11/21/2013 10:09 PM, Jim & Shirley wrote: I do not like the change in the new Open Office 4. To change the entire screen to a new colored venue is distracting and delays both the installation and the close of the program. It is pretty but not useful. Please change it back to its prior screen. JNGreene Don't these people seem the type that would ask you to change the MOTD back in the day because they didn't like it? - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org
Re: Open Office 4
On Thu, 21 Nov 2013 23:09:37 -0600 "Jim & Shirley" wrote: > I do not like the change in the new Open Office 4. To change the entire > screen to a new colored venue is distracting and delays both the installation > and the close of the program. It is pretty but not useful. Please change it > back to its prior screen. > Please ensure that you are downloading only from www.openoffice.org (which redirects to Sourceforge). "Out of the box" OpenOffice4 looks very much as previous versions; if there are changes to the default screens these may be caused by whatever theme is set on your computer. -- Rory O'Farrell - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org
Open Office 4
I do not like the change in the new Open Office 4. To change the entire screen to a new colored venue is distracting and delays both the installation and the close of the program. It is pretty but not useful. Please change it back to its prior screen. JNGreene
Re: File problem
At 02:05 22/11/2013 -0500, Doug McGarrett wrote: Sent a file edited in OO to a Mac. A crucial fact - which you have kept secret - is in what format you had saved the copy. File was edited to Times Roman 14 point, double spaced, justified. When the Mac owner opened the file, it was unusable. Anyone wishing to edit your material further would not need to specify double spacing (or font and size): they could apply that formatting easily themselves. The only reason would be if they wanted to print it as it was and use the hard copy for editing. In this case, you can export a copy of your document to PDF and send that: everyone should be happy. He sent me this: "On closer examination and trying to import the ISGA article into Pagemaker I found the following problems: Anyone laying out an article (for a periodical or journal?) will want to apply formatting themselves according to the publication's style and standards. What they need is just the text of your article. You may well want to use a word processor to prepare your work - in order to utilise a spelling checker and so on - but you might well then save a plain text copy to submit to the publisher. If you need to mark the occasional word or symbol as italic say, you can use text markup - like HTML but not necessarily using exactly those tags. You could send plain text and PDF, of course. I will attach the file here, if attachments are permitted. Nothing distributed. I trust this helps. Brian Barker - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org
Re: File problem
You could try RTF or legacy DOC format. OpenOffice is virtually unusable with the newer OpenXML formats due to political reasons. - To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org For additional commands, e-mail: users-h...@openoffice.apache.org