Reveal code, old macros convert them to LO

2019-07-04 Thread Uwe Brauer


From time to time the question pops up whether LO could support
Wordperfects reveal code. Sometimes it is stated that this feature could
be implemented by a macro/extension.

Now I remember that long time ago such macros existed and using the
wayback machine I found them. They were written around 2005 for OO 1.2,
using the sxw format.

I tried them out in LO 6.2 and they don't work.

Is there somebody with enough knownledge in macros to translate those
macros to LO 6.2?

Thanks and regards

Uwe Brauer 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-04 Thread Uwe Brauer
>>> "TB" == Thorsten Behrens  writes:

   > Hi Uwe,
   > Uwe Brauer wrote:
   >> Is there somebody with enough knownledge in macros to translate those
   >> macros to LO 6.2?
   >> 
   > Perhaps - I'd suggest you upload them somewhere (provided they are
   > available under an open source license) & post a link here.

Whats about that?

They are under GPL

https://web.archive.org/web/20180326030224/http://homepages.paradise.net.nz/hillview/OOo/

   > Preferably as a bug report at bugs.documentfoundation.org; you can
   > include a description on how to run them / what is expected to work
   > there.

For that I most likely need 1.1 to run (not sure whether this is
possible to do under Ubuntu 16.04)

Uwe 


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-05 Thread Uwe Brauer
>>> "AP" == Andrew Pitonyak  writes:

> So I read your response to say...
> If it is a read only display them it is not worth the time to bother with 
> it... 

> That is certainly easier than trying to make it work :-)

I would say, read only is a first step and if users start to like it
then maybe the developer are more inclined to make it editable too.


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-05 Thread Uwe Brauer
>>> "Wl" == Wol's lists  writes:

> On 04/07/2019 11:08, Uwe Brauer wrote:
>> 
>> From time to time the question pops up whether LO could support
>> Wordperfects reveal code. Sometimes it is stated that this feature could
>> be implemented by a macro/extension.

> Bear in mind that "reveal codes" is an EDITING window. That was what
> was wrong with MS's pale imitation. So if your macros merely display
> the formatting of a paragraph, that is NOT NOT NOT "reveal codes", and
> any WordPerfect lover will simply ignore it.

> And yes, I would dearly love to have reveal codes back - so much so
> that I am seriously considering shelling out for an up-to-date copy of
> WordPerfect, but sadly I suspect Corel have butchered it. WP8 was
> ported to linux, but that requires libc5, and I'm not aware of any
> newer linux compatible version (WP9, aka WP2000, was implemented on
> top of Wine, but I've never managed to get Wine to run WordPerfect 8
> or earlier, which are the "real" versions. WP9 was the Corel Windows
> re-write - yeuch!!!)

You could try a virtual machine with Ubuntu 5.04 which still relies on
lib5c. ;-)


I managed to obtain the relevant WP files from some obscure ftp
server, but they don't run on Ubuntu 16.04 precisely on that reason.
If you manage to run them on a modern Ubuntu version, please let me know.


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-05 Thread Uwe Brauer

   > On 05/07/19 09:16, Uwe Brauer wrote:
   > Sorry but that completely misses the point. If it's read-only I won't
   > even bother to learn how to use it ...

The point is: 

Since almost 10 years people are demanding such a feature and nothing
happened. 

All I am saying is: if a read only feature can be _easily implemented_,
then maybe more people will start even to consider such a feature as
being useful and the pressure to have it as «a power tool» will grow.

The alternative would be «shut up and how me your code», but I can't
provide you the feature you desire, because I know almost nothing about
LO internals.


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-05 Thread Uwe Brauer
>>> "Wl" == Wol's lists  writes:

   > On 04/07/2019 11:08, Uwe Brauer wrote:

   > And yes, I would dearly love to have reveal codes back - so much so
   > that I am seriously considering shelling out for an up-to-date copy of
   > WordPerfect, but sadly I suspect Corel have butchered it. WP8 was
   > ported to linux, but that requires libc5, and I'm not aware of any
   > newer linux compatible version (WP9, aka WP2000, was implemented on
   > top of Wine, but I've never managed to get Wine to run WordPerfect 8
   > or earlier, which are the "real" versions. WP9 was the Corel Windows
   > re-write - yeuch!!!)

Did you try this?
https://ubuntuforums.org/archive/index.php/t-998675.html


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-05 Thread Uwe Brauer

> On 05/07/19 13:15, Uwe Brauer wrote:
> THANK YOU VERY MUCH!

> I've never seen that, but I've got the linux WP8 somewhere, plus licence
> keys, so I'll have to try. I run gentoo, so it'll be a bit different,
> but ... :-)

BTW, the relevant files mentioned, you will find via 
https://archive.org/web/

If you are successful please let me know.

The problem of course is, this is WP from 2005, so you most likely won't
be able to open recent MS Word documents.[1]

Regards

Uwe 

Footnotes:
[1]  BTW, it was a MS Word document, which I had to edit and which drove
me crazy because the mark up was distorted by LO. This was one of
the reasons why I thought reveal code would be useful, to get a
hint what is wrong and where. Finally I could edit the file in kingsoffice.



smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-05 Thread Uwe Brauer

> On 05/07/19 13:14, Uwe Brauer wrote:

> And all I am saying is that the feature you describe sounds to me
> NOTHING LIKE reveal codes, and personally I can't see any use for it.
> The Word equivalent is "show formatting" which - like I said - was
> ignored by lusers and power users alike because they couldn't see any
> use for it.

My motivation was partiall caused by a MS Word document, which I had to
edit and the mark up was distorted by LO (most likely this file was
written 15 ago and then saved in different formats). So I hoped a reveal
code feature would help to understand what is the problem and where.

> Do you know lilypond and frescobaldi? 

I am using LaTeX on a daily basis (with GNU Emacs) and use LO and
friends only on certain occasions. So you don't have to convince me on that.


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-06 Thread Uwe Brauer
>>> "TL" == Tor Lillqvist  writes:

> No. There are no "codes" to "reveal" in LibreOffice.
> If you want to use a markup format, use a markup format, in a plain text
> editor. Simple as that. LaTeX for instance.

I think you miss the point and I am saying that as long time user of
latex, (daily  basis) using GNU emacs.

The issue is, what if you force to deal with docx and you run into
problems? Then that feature might be useful.


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-06 Thread Uwe Brauer
>>> "TL" == Tor Lillqvist  writes:

>> 
>> 
>> 
>> The issue is, what if you force to deal with docx and you run into
>> problems?


> The data structure inside a .docx has very little relationship to the
> internal data structures inside LO, so it would be extremely hard to
> display "codes" from the .docx in the LibreOffice UI.

> What you can do is unzip the .docx, edit the .xml files inside, update them
> into the .docx? For some specific mechanical mass changes, or trivial
> detail changes, that you can't do in LO, might work.

That I tried of course, I even installed the oxygen xml editor, but it
was hopeless. The xml files of the docx where just a mess.


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-07 Thread Uwe Brauer

> On 06/07/19 07:36, Uwe Brauer wrote:


> Plus I'm a *text* guy. MS is very much a *visual* company (as are most
> people, actually). So the MS way of doing things is alien to me - the WP
> way of "here's a gui, this drops into the text setup behind it" is just
> *so* *easy*.

If you are really a *text* guy, I'd recommend you to give GNU emacs a
shot. Nowadays it comes with org mode, which is a sort of ASCII/UTF8
based enhanced text mode, including a very good table editor and best of
all you can export it to all sort of formats, odt for example, if you
use pandoc you can even save it to docx.

https://orgmode.org/



smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal code, old macros convert them to LO

2019-07-08 Thread Uwe Brauer

> On 7/7/19 4:35 PM, Wols Lists wrote:

> I now possess a copy of the offending .docx document and the PDF
> version of it. (It contains 1.6MB, so it will take some time.)
> Tomorrow, I will be determining what is necessary to fix it. Rather
> than guess as to what would be required, I will find out. I think this
> would be much more useful for others.  I will report back when I am
> finished.

I will be grateful, but I am afraid this document is beyond help,
however I have to deal with it, that is to modify and to save so that
other MS Word users can read and print it.




smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal Codes macros now works

2019-07-10 Thread Uwe Brauer
>>> "AP" == Andrew Pitonyak  writes:

> There was so much static related to the orginal question, that I opted to 
> simply started a new thread. 
> I was provided with a linke to the orignal documents:

> https://web.archive.org/web/20180326030224/http://homepages.paradise.net.nz/hillview/OOo/

> There are three documents and I have the original description listed below, 
> but, this is what I did. 
> I ignored the original document. I have working copies of documents 2
> and 3. They are not well tested, but, they are in the ODT format, and
> they seem to do what they are supposed. I don't think i can attach
> them. I can post them to my own site later tonight, or, I can post
> them in some other suggested location. 

I would very much appreciate having a copy of these three files. 

As for the site, I can't come up with any solution I have tested.
Dropbox is out of question I presume.

Thanks again for you work.

Uwe 


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Reveal Codes macros now works

2019-07-10 Thread Uwe Brauer

> On 10/07/19 17:54, Andrew Pitonyak wrote:

> I would also appreciate having a copy of them to try. Unfortunately, I
> am likely to be highly critical, but then, I hope those comments will be
> helpful.

Please take in mind, that Andrew is not the original author. I find it
very generous of him to provide his help to make these macros work. My
hope is, as I said elsewhere, that others developer get and idea of the
feature and might generalize it to not read only.

> Please do email them directly ...

> No your changes are NOT GPL if you don't want them to be. Please mark
> your changes as being under the LO MPL licence. Okay, the resultant file
> can only be *distributed* under the GPL, but if somebody then rewrites
> the GPL stuff out, the file will change to LO licence.

I am not sure I understand (I am no lawyer, but I have contributed over
the years to GPL software).
I thought GPL is a rather capitalistic license, you obtain something
(code) you have to pay for it (by your code).

So if you modify a existing program under GPL (and I think modify means
here more than 5 lines of code, either add functionality or modify it),
you must release the code under the same license. You are not allowed to
release them under stay CC, or MIT or whatsoever. So when you say your
code, do you mean these 5 lines and whether you can release these 5
lines under the license of your choice. Is that what you mean?

Regards

Uwe 


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

LO does not run on Ubuntu 16.04

2021-10-09 Thread Uwe Brauer


Hi 

I am still on Ubuntu 16.04. 
After the installation of LO, 
/opt/libreoffice7.2/program/swriter 

I obtain 
opt/libreoffice7.2/program/soffice.bin: symbol lookup error: 
/opt/libreoffice7.2/program/libvclplug_gtk3lo.so: undefined symbol: 
gtk_widget_path_iter_set_object_name


I tried to follow the advice found in 

https://ask.libreoffice.org/t/installed-libreoffice-7-1-on-ubuntu-16-04-lts-it-does-not-start-and-i-get-the-following-error/61992/3

But it does not work

Any help would be appreciated

Regards

Uwe Brauer 



[SOLVED sort of ] (was: LO does not run on Ubuntu 16.04)

2021-10-10 Thread Uwe Brauer
>>> "CM" == Caolán McNamara  writes:

   > On Sat, 2021-10-09 at 18:25 +0200, Uwe Brauer wrote:
   >> /opt/libreoffice7.2/program/soffice.bin: symbol lookup error:
   >> /opt/libreoffice7.2/program/libvclplug_gtk3lo.so: undefined symbol:
   >> gtk_widget_path_iter_set_object_name

   > You need gtk3 >= 3.20.0


I hoped that 
sudo add-apt-repository ppa:gnome3-team/gnome3-staging
sudo add-apt-repository ppa:gnome3-team/gnome3

Would resolve it, it seems not to be the case, however:

For tcsh 

setenv SAL_USE_VCLPLUGIN gen

For bash
export SAL_USE_VCLPLUG=gen

«Solved»  the issue.

BTW, LO 7.2 seems to start much faster than LO 6.2

The converter to docx concerning images still does not work flawlessly. 
Shall I open an issue, or is this well known


smime.p7s
Description: S/MIME cryptographic signature


Re: [SOLVED sort of ]

2021-10-10 Thread Uwe Brauer
>>> "RE" == Rene Engelhard  writes:

> Hi,
>> I hoped that

>> sudo add-apt-repository ppa:gnome3-team/gnome3-staging
>> sudo add-apt-repository ppa:gnome3-team/gnome3

> Maybe you just shouldn't use a ~ 7.5 years old release?
Yeah I know, I have my reasons believe me, but I have to resolve this issue.

> Even the various "current" LTSes contain 3.22:

I finally managed to install 3.20.8 which is sufficient


smime.p7s
Description: S/MIME cryptographic signature