[libreoffice-users] OT: GPS Problem Solutions with Original format to Digital:

2020-11-25 Thread Michael D. Setzer II
=The solution to modify the data to time format with special edit option 
was really nice, but not sure how much work would be required to 
modify it. Tried to do it directly in other ways, but couldn't do it, and 
from feedback it seems it is no longer possible since libreoffice doesn't 
support the formula..
Created test file with 1000 GPS addresses with randon values with 
libreoffice to a text file. Original setup has each on separte line.
sed process does the 1000 items in 0.048 seconds.Then converted same data to 
500 lines with 2 sets of GPS addresses per 
line. Then wrote singlec++ program to process 500 lines of data.
Time: 0.005s.


So, guess there are different methods to solve the problem.
If anyone interested, can send the simple c++ program. Only little issue, 
was the the degree code that was in orginal posted data was a two byte 
version. Had to add a line of code to handle either single or double byte 
coding of that. In the sed solution, I had pasted the symbol, so didn't see 
issue, but in the c++ put the hex value. If anyone wants code, just send 
me an email..


Not really of any interest to me, since I don't have anything that deals 
with GPS or Digital address data. But don't like not being able to solve 
interesting problems. Thanks for the time, and hope this thread wasn't to 
much trouble to some..


Be Safe and Have a Great Day...


Sed Process that produces output of 1000 data points to 500 sets.
time ./gpssed.sh


real0m0.048s
user0m0.016s
sys0m0.019s
input first 8 lines (makes 4 pairs)
8377'73N
419'9E
1562'44S
3442'82O
6683'98N
579'22E
6130'46S
2028'78O
First 4 sets from gpsbc.csv GPS 1, Data 1, GPS 2, Data 
28377'73N,84.30361110,419'9=E,41.1525
1562'44S,-16.0455,3442'82O,-34.7227
6683'98N,67.4105,579'22E,6.3227
6130'46S,-61.5127,2028'78O,-20.4882




sed -e 
's/^/=(/;s/\/+/;s/\x27/\/60+/;s/\x22/\/3600/;s/O\|S/\)*(-1)/;s/N\|E/)/'gps.txtgps.csv
sed -e 
's/^/(/;s/\/+/;s/\x27/\/60+/;s/\x22/\/3600/;s/O\|S/\)*(-1)/;s/N\|E/)/'gps.txtgps.raw
paste -d, gps.txt gps.csvgpsboth.csvbc -lgps.rawgps2.txt
paste -d, gps.txt gps2.txt |awk '{line=line,t;$0} NR%2==0{print line;line=}'| 
sed -e 's/^,//g'gpsbc.csv
if [ -n$1] ; then libreoffice --infilter=CSV:44,34,76,1 gps.csv gpsboth.csv 
gpsbc.csv ; fi


// Then decided to try to do it with a simple C++ program.
// Amost 10 times faster with 500 pairs of address to original format of data.
/* gpsc3.sh
./gpsc3
if [ -n$1] ; then libreoffice --infilter=CSV:44,34,76,1 gpsc3.csv; fi


Time less libreoffice line.
time ./gpsc3
real0m0.005s
user0m0.003s
sys0m0.002s


Input file lines with pairs of address (first 4 lines)
8377'73N 419'9E1562'44S 3442'82O6683'98N 579'22E6130'46S 
2028'78OOutput file
8377'73N 419'9E; ,84.30361176,41.15250015
1562'44S 3442'82O, -16.0411, -34.72277832
6683'98N 

[libreoffice-users] Libreoffice not able to write to Rclone mount points

2020-11-25 Thread ashish128
Hi,I am on Linux Mint 20 Cinnamon edition and using Libreoffice 6.4.6.2 (and
rclone version 1.50.2)I use rclone mounts and am able to access them as RW
under terminal and GUI (using Nemo file manager).Libreoffice has issues
working with the files on the mounts in term of Write access. Read-only
works good.Error while saving to a rclone mount is as below.

Error while Opening a document is as below.

Surprisingly, All other programs are working fine with rclone mounts viz
abiword, xed, geany etc.I searched a lot and found solutions like using a
.xcd file to remove file locking but it did not work. 
(webpage link:
https://askubuntu.com/questions/553824/how-to-disable-locking-in-libreoffice)echo
'  false   
' |sudo tee /usr/lib/libreoffice/share/registry/disable-file-locking.xcd
Am looking for a solution to be able to work upon my files on rclone
mounts.Kindly advise.



--
Sent from: 
http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Writer display problem in LO 6.4.6.2 on Linux Mint 20/Cinnamon V4.6.7

2020-11-25 Thread aguador


El mar, 24-11-2020 a las 15:57 -0800, Roderick Anderson escribió:
>
>
> On 11/24/20 2:54 PM, Rogier F. van Vlissingen wrote:
> > This problem happens in Writer, but not in Calc, so it is limited
> > to the
> > module.
> >
> > I must have done something, for this suddenly started happening.
> >
> > I can display a page either full screen, or minimize it completely,
> > so it
> > disappears off the page entirely. In other words, Minimize is now
> > not a
> > partial screen, but it is in effect parking it off screen, where I
> > can
> > maximize it again from the Writer icon on the task bar.
> >
> > Ergo what is lost is the ability to reduce the window to a partial
> > screen -
> > if I try, it becomes a postage stamp and my only option is to
> > maximize it
> > to full screen again.
>
> Minimize it to the postage stamp size then grab a corner and drag it
> up
> in size.  Might have to grab a 'corner' multiple times.
>
> This happens to me every so often and I can't figure out what causes
> it.
>
>
> \\||/
> Rod
> --
>

You do not say what OS-DE combination you are using. This happened to
me the other day, but Enlightenment provides a right-click menu from
the icon on the ask bar to access resizing with the keyboard. I suspect
other Linux (at least) DEs have something similar. A lifesaver when the
window drops down to less than postage stamp size!

Roy


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy