El 07/03/12 22:41, fork escribió:
Johnny Rosenberg<gurus.knugum<at>  gmail.com>  writes:


2012/3/7 Andreas Säger<villeroy<at>  t-online.de>:
Again, it is technically and logically impossible to write a program without
knowing anything about the input.

A Tab delimited text file – what more could we want to know?
Some text ↹ More text ↹ More text again ↹ Text again, perhaps ↵
Another row with text, ↹ and ↵ and so on.

yeah, exactly.  Oh, let me add "with a newline after Another row with text".

(Or perhaps: a tab delimited file with text in columns.  Or maybe:  a text file,
with columns separated by tabs and records separated by newlines.  Or: A CSV
file, except with tabs instead of commas... I am a little bit surprised at the
level of drama my original specification elicited ...)

The macros could automatically detect how many rows and columns there
are, shouldn't be too difficult. I'd give it a try if I had some time
left. Sorry that I don't at the moment.

If you have time at some point, could you point me at the functions you would
think of first to do this?  I tried to record a macro but all I got was an empty
Main function.

Kind regards

Likewise! (so refreshing...)



Sorry, have you taken a look on internet to find something about.

http://user.services.openoffice.org/en/forum/viewtopic.php?f=20&t=40585&p=186925&hilit=macro+import+text+file#p186925

Miguel Ángel

--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to