Re: Ubuntu 21.04 / dark mode

2021-08-27 Thread Matthias Seidel
Hi all,

I just installed Windows 11 Insider Build and AOO really looks nice with
the updated UI elements.

But: We *really* need a modern icon set! ;-)

Is someone willing to look into this? Even my time is limited...

For a starter:
https://github.com/apache/openoffice/blob/trunk/main/ooo_custom_images/README.txt

Regards,

   Matthias

Am 20.07.21 um 13:37 schrieb Matthias Seidel:
> Hi all,
>
> It seems Windows 11 will also have dark mode as default:
>
> https://www.windowscentral.com/windows-11-will-enable-dark-mode-default-more-pcs
>
> So, starting to work on a new icon set would be great!
>
> Regards,
>
>    Matthias
>
> Am 13.06.21 um 09:51 schrieb Dean.Webber:
>> Yes, best to avoid Google content if possible..
>> 
>> From: Pedro Lino 
>> Sent: Monday, 31 May 2021 5:42 AM
>> To: dev@openoffice.apache.org 
>> Subject: Re: Ubuntu 21.04 / dark mode
>>
>> Hi Andrea
>>
>> Thank you for the links. FontAwesome requires a paid license to have access 
>> to the SVGs so I guess that excludes it.
>> Personally I would avoid using something from Google so my choice would be 
>> Remixicon. But I think we need to check which one has the most complete set. 
>> Maybe we need a combination of both themes.
>>
>> Grazie mille!
>> Pedro
>>
>>> On 05/30/2021 8:51 AM Andrea Pescetti  wrote:
>>>
>>>
>>> Andrea Pescetti wrote:
 Pedro Lino wrote:
>> On 05/29/2021 9:32 PM Andrea Pescetti wrote:
>> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fremixicon.com%2Fdata=04%7C01%7C2018001901%40student.sit.ac.nz%7Cb68b0bc77d8845d34ee908d92392597a%7Cc46ab213d1794a719ff7b9d9fe3f3b48%7C0%7C1%7C637579933764260143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=FjRuENi74%2BM9MH0INsZrvmyQpCy6fp1El7vccaDeuFk%3Dreserved=0
> This one is really interesting! Can you share the links to other
> projects that you have found?
 FontAwesome 
 https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffontawesome.com%2Flicense%2Ffreedata=04%7C01%7C2018001901%40student.sit.ac.nz%7Cb68b0bc77d8845d34ee908d92392597a%7Cc46ab213d1794a719ff7b9d9fe3f3b48%7C0%7C1%7C637579933764260143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=NHErL1d23pCGssQnh2CRbW%2FR%2BOn2zdQ%2BSzkXdjChchM%3Dreserved=0
  is really popular and
 CC-BY (but recent versions include a "Pro" section that may have
 different terms).

 Google's Material Design Icons ... are
 AL2, come in different styles and, although the set is already quite
 comprehensive, are extended by community projects.
>>> I copy-pasted the same link twice... the correct link to Google's
>>> Material Design Icons is 
>>> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffonts.google.com%2Ficonsdata=04%7C01%7C2018001901%40student.sit.ac.nz%7Cb68b0bc77d8845d34ee908d92392597a%7Cc46ab213d1794a719ff7b9d9fe3f3b48%7C0%7C1%7C637579933764260143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=4DtmoviQ9uuZGh8vVkFD7N1Os1tKaja626e1cNBayqI%3Dreserved=0
>>>
>>> Regards,
>>>Andrea.
>>>
>>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>
>>



smime.p7s
Description: S/MIME Cryptographic Signature


Re: the "Extensions and Templates" webpage - minor enhancements

2021-08-27 Thread Matthias Seidel
Hi all,

Am 27.08.21 um 11:14 schrieb Czesław Wolański:
> Hi all,
>
> the "Extensions and Templates" webpage:
>
> https://www.openoffice.org/extensions/index.html
>
> The image "EXTENSIONS" somewhat overwhelms and there is no adequate image
> for "TEMPLATES".
> Font size for the link "Find out much more on the Extensions Area Wiki"
> could be a little smaller.

+1

If someone wants to change this page I would provide the needed graphics.

Regards,

   Matthias

>
> My draft proposal can be viewed / downloaded at the following link:
>
> https://drive.google.com/file/d/1gqmzuv-nlz8ItylBFsuYveItfhc3boUV/view?usp=sharing
>
>
> Best regards,
> Czesław
>



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Some observations about AOO 4.1.10 and Windows 10 Pro 21H1

2021-08-27 Thread Matthias Seidel
Hi all,

Am 22.07.21 um 11:07 schrieb Jörg Schmidt:
> Hello, 
>
>> -Original Message-
>> From: Bidouille [mailto:ooofo...@free.fr] 
>> Sent: Thursday, July 22, 2021 9:12 AM
>> To: dev@openoffice.apache.org
>> Subject: Re: Some observations about AOO 4.1.10 and Windows 
>> 10 Pro 21H1
>>
>> Start Windows in safe mode 
> and then?
>
> ... well, I started Windows in safe mode, AOO still does not recognize JRE 
> 1.8.0_291.
>
>
> I had also, already yesterday, repeated the installation of Windows and JRE 
> and AOO (in VMWare) and can only write that the problem is clearly 
> reproducible with me. Why it occurs I do not know.

The problem seems to be that Oracle changed the compiler beginning with
Java 8 Update 261:
https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes003.html

A quick fix is to install the "Microsoft Visual C++ Redistributable for
Visual Studio 2015, 2017 and 2019" (32-bit):
https://aka.ms/vs/16/release/vc_redist.x86.exe

All of my machines had this already installed so I couldn't recreate the
issue until now.
For older versions we shipped msvcr100.dll with AOO, now we may need a
newer one.

Regards,

   Matthias

>
>
>
> Jörg
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [OS/2 and macOS] saving ODS with chart

2021-08-27 Thread Matthias Seidel
Hi Jim, Arrigo,

Am 27.08.21 um 11:24 schrieb Arrigo Marchiori:
> Hello Jim, All,
>
> On Thu, Aug 26, 2021 at 06:08:48PM +0200, Arrigo Marchiori wrote:
>
>> Hello All,
>>
>> On Thu, Aug 26, 2021 at 04:34:02PM +0200, Matthias Seidel wrote:
>>
>>> Hi Jim,
>>>
>>> Arrigo wrote that "it still does not work, unfortunately"
>> Yes! Did I miss anything?
> I did miss it! I merged AOO41X into catalina and it works!! Well done,
> Jim!
>
> I must have done some mistakes when merging your changes during your
> development. But AOO41X seems to be good after your commits.

That's indeed good news!

So it was just a misunderstanding and we are done on this behalf.

>
>>> Did you build Dev3 with a newer clang?
>>>
>>> @Yuri: Can you try to build for OS/2 with the latest AOO41X?
>> +1
> I am eager to hear if OS/2 is also working now!

Yes, let's wait for Yuri to build it on OS/2. Their last release was for
4.1.8.

Regards,

   Matthias

>
> Best regards.
>
>>> Am 26.08.21 um 16:27 schrieb Jim Jagielski:
 I believe the fix, which is universal, is already folded into the repos

> On Aug 25, 2021, at 5:43 PM, Matthias Seidel  
> wrote:
>
> Hi all,
>
> Am 06.08.21 um 12:26 schrieb Arrigo Marchiori:
>> Hello Jim, All,
>>
>>
>> On Thu, Aug 05, 2021 at 01:41:23PM -0400, Jim Jagielski wrote:
>>
>>> Never mind that one: This one is the one: THX!
>> it still does not work, unfortunately. Quoting the rest for
>> completeness.
> Any ideas?
>
> A fix would be great for OS/2.
>
> Regards,
>
>Matthias
>
>>> diff --git a/main/comphelper/inc/comphelper/extract.hxx 
>>> b/main/comphelper/inc/comphelper/extract.hxx
>>> index dc67c5dc58..fc75fa9cb9 100644
>>> --- a/main/comphelper/inc/comphelper/extract.hxx
>>> +++ b/main/comphelper/inc/comphelper/extract.hxx
>>> @@ -131,9 +131,10 @@ inline sal_Bool SAL_CALL extractInterface(
>>> inline sal_Bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & 
>>> rAny )
>>> throw( ::com::sun::star::lang::IllegalArgumentException )
>>> {
>>> -   if (rAny.getValueTypeClass() == 
>>> ::com::sun::star::uno::TypeClass_BOOLEAN)
>>> +   sal_Bool sValue;
>>> +   if ( rAny >>= sValue)
>>> {
>>> -   return *(sal_Bool *)rAny.getValue();
>>> +   return sValue;
>>> }
>>> else
>>> {
>>> diff --git a/main/cppu/inc/com/sun/star/uno/Any.hxx 
>>> b/main/cppu/inc/com/sun/star/uno/Any.hxx
>>> index e1d125be82..2a38598efa 100644
>>> --- a/main/cppu/inc/com/sun/star/uno/Any.hxx
>>> +++ b/main/cppu/inc/com/sun/star/uno/Any.hxx
>>> @@ -251,9 +251,9 @@ inline sal_Bool SAL_CALL operator >>= ( Any const & 
>>> rAny, bool & value )
>>> {
>>> value = *reinterpret_cast< sal_Bool const * >(
>>>  ) != sal_False;
>>> -   return true;
>>> +   return sal_True;
>>> }
>>> -   return false;
>>> +   return sal_False;
>>> }
>>>
>>> //__
>>> diff --git a/main/starmath/source/mathmlexport.cxx 
>>> b/main/starmath/source/mathmlexport.cxx
>>> index 3f36ff152d..00b301d0eb 100644
>>> --- a/main/starmath/source/mathmlexport.cxx
>>> +++ b/main/starmath/source/mathmlexport.cxx
>>> @@ -169,9 +169,7 @@ sal_Bool SmXMLExportWrapper::Export(SfxMedium 
>>> )
>>> SvtSaveOptions aSaveOpt;
>>> OUString 
>>> sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
>>> sal_Bool bUsePrettyPrinting( bFlat || aSaveOpt.IsPrettyPrinting() );
>>> -Any aAny;
>>> -aAny.setValue( , ::getBooleanCppuType() );
>>> -xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
>>> +xInfoSet->setPropertyValue( sUsePrettyPrinting, 
>>> uno::makeAny(bUsePrettyPrinting));
>>>
>>> // Set base URI
>>> OUString sPropName( RTL_CONSTASCII_USTRINGPARAM("BaseURI") );
>>> diff --git a/main/sw/source/filter/xml/wrtxml.cxx 
>>> b/main/sw/source/filter/xml/wrtxml.cxx
>>> index e288bfc006..7677f86ff1 100644
>>> --- a/main/sw/source/filter/xml/wrtxml.cxx
>>> +++ b/main/sw/source/filter/xml/wrtxml.cxx
>>> @@ -207,8 +207,7 @@ pGraphicHelper = SvXMLGraphicHelper::Create( xStg,
>>> SvtSaveOptions aSaveOpt;
>>> OUString 
>>> sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
>>> sal_Bool bUsePrettyPrinting( aSaveOpt.IsPrettyPrinting() );
>>> -   aAny.setValue( , ::getBooleanCppuType() );
>>> -   xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
>>> +   xInfoSet->setPropertyValue( sUsePrettyPrinting, 
>>> uno::makeAny(bUsePrettyPrinting));
>>>
>>> // save show redline mode ...

Re: [OS/2 and macOS] saving ODS with chart

2021-08-27 Thread Arrigo Marchiori
Hello Jim, All,

On Thu, Aug 26, 2021 at 06:08:48PM +0200, Arrigo Marchiori wrote:

> Hello All,
> 
> On Thu, Aug 26, 2021 at 04:34:02PM +0200, Matthias Seidel wrote:
> 
> > Hi Jim,
> > 
> > Arrigo wrote that "it still does not work, unfortunately"
> 
> Yes! Did I miss anything?

I did miss it! I merged AOO41X into catalina and it works!! Well done,
Jim!

I must have done some mistakes when merging your changes during your
development. But AOO41X seems to be good after your commits.

> > Did you build Dev3 with a newer clang?
> > 
> > @Yuri: Can you try to build for OS/2 with the latest AOO41X?
> 
> +1

I am eager to hear if OS/2 is also working now!

Best regards.

> > Am 26.08.21 um 16:27 schrieb Jim Jagielski:
> > > I believe the fix, which is universal, is already folded into the repos
> > >
> > >> On Aug 25, 2021, at 5:43 PM, Matthias Seidel 
> > >>  wrote:
> > >>
> > >> Hi all,
> > >>
> > >> Am 06.08.21 um 12:26 schrieb Arrigo Marchiori:
> > >>> Hello Jim, All,
> > >>>
> > >>>
> > >>> On Thu, Aug 05, 2021 at 01:41:23PM -0400, Jim Jagielski wrote:
> > >>>
> >  Never mind that one: This one is the one: THX!
> > >>> it still does not work, unfortunately. Quoting the rest for
> > >>> completeness.
> > >> Any ideas?
> > >>
> > >> A fix would be great for OS/2.
> > >>
> > >> Regards,
> > >>
> > >>Matthias
> > >>
> >  diff --git a/main/comphelper/inc/comphelper/extract.hxx 
> >  b/main/comphelper/inc/comphelper/extract.hxx
> >  index dc67c5dc58..fc75fa9cb9 100644
> >  --- a/main/comphelper/inc/comphelper/extract.hxx
> >  +++ b/main/comphelper/inc/comphelper/extract.hxx
> >  @@ -131,9 +131,10 @@ inline sal_Bool SAL_CALL extractInterface(
> >  inline sal_Bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & 
> >  rAny )
> > throw( ::com::sun::star::lang::IllegalArgumentException )
> >  {
> >  -  if (rAny.getValueTypeClass() == 
> >  ::com::sun::star::uno::TypeClass_BOOLEAN)
> >  +  sal_Bool sValue;
> >  +  if ( rAny >>= sValue)
> > {
> >  -  return *(sal_Bool *)rAny.getValue();
> >  +  return sValue;
> > }
> > else
> > {
> >  diff --git a/main/cppu/inc/com/sun/star/uno/Any.hxx 
> >  b/main/cppu/inc/com/sun/star/uno/Any.hxx
> >  index e1d125be82..2a38598efa 100644
> >  --- a/main/cppu/inc/com/sun/star/uno/Any.hxx
> >  +++ b/main/cppu/inc/com/sun/star/uno/Any.hxx
> >  @@ -251,9 +251,9 @@ inline sal_Bool SAL_CALL operator >>= ( Any const 
> >  & rAny, bool & value )
> > {
> > value = *reinterpret_cast< sal_Bool const * >(
> >   ) != sal_False;
> >  -  return true;
> >  +  return sal_True;
> > }
> >  -  return false;
> >  +  return sal_False;
> >  }
> > 
> >  //__
> >  diff --git a/main/starmath/source/mathmlexport.cxx 
> >  b/main/starmath/source/mathmlexport.cxx
> >  index 3f36ff152d..00b301d0eb 100644
> >  --- a/main/starmath/source/mathmlexport.cxx
> >  +++ b/main/starmath/source/mathmlexport.cxx
> >  @@ -169,9 +169,7 @@ sal_Bool SmXMLExportWrapper::Export(SfxMedium 
> >  )
> >  SvtSaveOptions aSaveOpt;
> >  OUString 
> >  sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
> >  sal_Bool bUsePrettyPrinting( bFlat || aSaveOpt.IsPrettyPrinting() 
> >  );
> >  -Any aAny;
> >  -aAny.setValue( , ::getBooleanCppuType() );
> >  -xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
> >  +xInfoSet->setPropertyValue( sUsePrettyPrinting, 
> >  uno::makeAny(bUsePrettyPrinting));
> > 
> >  // Set base URI
> >  OUString sPropName( RTL_CONSTASCII_USTRINGPARAM("BaseURI") );
> >  diff --git a/main/sw/source/filter/xml/wrtxml.cxx 
> >  b/main/sw/source/filter/xml/wrtxml.cxx
> >  index e288bfc006..7677f86ff1 100644
> >  --- a/main/sw/source/filter/xml/wrtxml.cxx
> >  +++ b/main/sw/source/filter/xml/wrtxml.cxx
> >  @@ -207,8 +207,7 @@ pGraphicHelper = SvXMLGraphicHelper::Create( xStg,
> > SvtSaveOptions aSaveOpt;
> > OUString 
> >  sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
> > sal_Bool bUsePrettyPrinting( aSaveOpt.IsPrettyPrinting() );
> >  -  aAny.setValue( , ::getBooleanCppuType() );
> >  -  xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
> >  +  xInfoSet->setPropertyValue( sUsePrettyPrinting, 
> >  uno::makeAny(bUsePrettyPrinting));
> > 
> >  // save show redline mode ...
> > OUString 
> >  sShowChanges(RTL_CONSTASCII_USTRINGPARAM("ShowChanges"));
> > >>> Best regards,
> 
> -- 
> Arrigo
> 
> 

the "Extensions and Templates" webpage - minor enhancements

2021-08-27 Thread Czesław Wolański
Hi all,

the "Extensions and Templates" webpage:

https://www.openoffice.org/extensions/index.html

The image "EXTENSIONS" somewhat overwhelms and there is no adequate image
for "TEMPLATES".
Font size for the link "Find out much more on the Extensions Area Wiki"
could be a little smaller.

My draft proposal can be viewed / downloaded at the following link:

https://drive.google.com/file/d/1gqmzuv-nlz8ItylBFsuYveItfhc3boUV/view?usp=sharing


Best regards,
Czesław