[libreoffice-users] type byte in Basic

2017-06-08 Thread Regina Henschel

Hi all,

in looking at 
https://ask.libreoffice.org/de/question/97628/base64-encodedecode/ I 
came across a problem with type "byte" in Basic and do not know whether 
it is a bug or not:


I want to write bytes to a file.
I use
dim oOutputStream as variant
oOutputStream = createUnoService("com.sun.star.io.SequenceOutputStream")
and later on
oOutputStream.writeBytes(...)

If I define   dim nA as byte
then nA = 195 is OK, but writeBytes(array(nA)) fails
and nA = -61 fails, but writeBytes(array(-61)) works.

It seems a variable of type byte can have values in range [0..255], but 
writeBytes can only use values in range [-128..127].


I have used   dim nA as variant   in the end, but wonder about the 
different ranges.


Kind regards
Regina



--
To unsubscribe e-mail to: users+unsubscr...@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


[libreoffice-users] Fontworks, how to change font

2017-06-08 Thread Steve Edmonds

Hi.
Trying to imitate a layout from MS word (words around a circle) in writer.

I can enter the words, get the shape, colour, etc. but in writer can't 
change the font.
If I do the same in draw the properties side bar has Character where I 
can change the font.

In writer the sidebar does not have Character.
LO 5.1.4.2
Am I missing something, help appreciated.
Steve


--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Fontworks, how to change font

2017-06-08 Thread Dave
On 08.06.2017 12:41, Steve Edmonds wrote:
> Hi.
> Trying to imitate a layout from MS word (words around a circle) in
> writer.
>
> I can enter the words, get the shape, colour, etc. but in writer can't
> change the font.
> If I do the same in draw the properties side bar has Character where I
> can change the font.
> In writer the sidebar does not have Character.
> LO 5.1.4.2
> Am I missing something, help appreciated.
> Steve
Hi Steve,

Double click on the Fontworks object to access the underlying text.
Select/highlight (eg. Shift + Home keys) the displayed text and choose
the required font from the style drop-down or that sidebar thing.
Click  outside of the Fontworks object to finish.
Note: Fontworks is converting normal fonts into vector shapes, so some
results may not always be pleasing.

Hope this helps.

Dave

-- 
Please address any reply to the mailing list only. Any messages sent to
this noreply@ address are automatically deleted from the server and will
never be read.

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] type byte in Basic

2017-06-08 Thread Stephan Bergmann

On 06/08/2017 10:30 AM, Regina Henschel wrote:
in looking at 
https://ask.libreoffice.org/de/question/97628/base64-encodedecode/ I 
came across a problem with type "byte" in Basic and do not know whether 
it is a bug or not:


I want to write bytes to a file.
I use
dim oOutputStream as variant
oOutputStream = createUnoService("com.sun.star.io.SequenceOutputStream")
and later on
oOutputStream.writeBytes(...)

If I define   dim nA as byte
then nA = 195 is OK, but writeBytes(array(nA)) fails
and nA = -61 fails, but writeBytes(array(-61)) works.

It seems a variable of type byte can have values in range [0..255], but 
writeBytes can only use values in range [-128..127].


I have used   dim nA as variant   in the end, but wonder about the 
different ranges.


 
"Cater for UNO (signed) vs. BASIC (unsigned) byte mismatch"


--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] type byte in Basic

2017-06-08 Thread Regina Henschel

Hi Stephan,

Wow! Identified as bug and fixed immediately. That is great.

Kind regards
Regina

Stephan Bergmann schrieb:

On 06/08/2017 10:30 AM, Regina Henschel wrote:

in looking at
https://ask.libreoffice.org/de/question/97628/base64-encodedecode/ I
came across a problem with type "byte" in Basic and do not know
whether it is a bug or not:

I want to write bytes to a file.
I use
dim oOutputStream as variant
oOutputStream = createUnoService("com.sun.star.io.SequenceOutputStream")
and later on
oOutputStream.writeBytes(...)

If I define   dim nA as byte
then nA = 195 is OK, but writeBytes(array(nA)) fails
and nA = -61 fails, but writeBytes(array(-61)) works.

It seems a variable of type byte can have values in range [0..255],
but writeBytes can only use values in range [-128..127].

I have used   dim nA as variant   in the end, but wonder about the
different ranges.



"Cater for UNO (signed) vs. BASIC (unsigned) byte mismatch"




--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Fontworks, how to change font

2017-06-08 Thread Steve Edmonds



On 09/06/17 00:01, Dave wrote:

On 08.06.2017 12:41, Steve Edmonds wrote:

Hi.
Trying to imitate a layout from MS word (words around a circle) in
writer.

I can enter the words, get the shape, colour, etc. but in writer can't
change the font.
If I do the same in draw the properties side bar has Character where I
can change the font.
In writer the sidebar does not have Character.
LO 5.1.4.2
Am I missing something, help appreciated.
Steve

Hi Steve,

Double click on the Fontworks object to access the underlying text.
Select/highlight (eg. Shift + Home keys) the displayed text and choose
the required font from the style drop-down or that sidebar thing.
Click  outside of the Fontworks object to finish.
Note: Fontworks is converting normal fonts into vector shapes, so some
results may not always be pleasing.

Hope this helps.

Dave
Thanks Dave, but that didn't work. The highlighted text changes (and 
stays changed) but the changes don't go show in the fontwork text. LO 
5.1 and 5.2, OSX, Win and Linux.

steve


--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Fontworks, how to change font

2017-06-08 Thread jomali
I just tried Dave's method, and it worked flawlessly (LO 5.2.6.2 on Mac
OSX).

On Thu, Jun 8, 2017 at 4:47 PM, Steve Edmonds 
wrote:

>
>
> On 09/06/17 00:01, Dave wrote:
>
>> On 08.06.2017 12:41, Steve Edmonds wrote:
>>
>>> Hi.
>>> Trying to imitate a layout from MS word (words around a circle) in
>>> writer.
>>>
>>> I can enter the words, get the shape, colour, etc. but in writer can't
>>> change the font.
>>> If I do the same in draw the properties side bar has Character where I
>>> can change the font.
>>> In writer the sidebar does not have Character.
>>> LO 5.1.4.2
>>> Am I missing something, help appreciated.
>>> Steve
>>>
>> Hi Steve,
>>
>> Double click on the Fontworks object to access the underlying text.
>> Select/highlight (eg. Shift + Home keys) the displayed text and choose
>> the required font from the style drop-down or that sidebar thing.
>> Click  outside of the Fontworks object to finish.
>> Note: Fontworks is converting normal fonts into vector shapes, so some
>> results may not always be pleasing.
>>
>> Hope this helps.
>>
>> Dave
>>
> Thanks Dave, but that didn't work. The highlighted text changes (and stays
> changed) but the changes don't go show in the fontwork text. LO 5.1 and
> 5.2, OSX, Win and Linux.
> steve
>
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-uns
> ubscribe/
> 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
>

-- 
To unsubscribe e-mail to: users+unsubscr...@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


[libreoffice-users] Embedding Video Files

2017-06-08 Thread Keith Bates
Earlier this week, I produced a presentation with embedded video for use 
in a school classroom (NSW Department of Education, in case anyone has  
personal knowledge of their set-up). I am using Libre Office 5.3 and 
Ubuntu 17.04.



I checked that the presentation worked, including the video. I saved it 
in .ppt format onto a USB stick with the video file, "just in case". 
This turned out to be a good thing.



The classroom has an old version of MS Office (2010, I think I saw), a 
projector and a smart board. I don't know what version of Windows they 
are running.



When I ran the presentation, everything went as expected. Touching the 
white board progressed the slides as expected. However I couldn't get 
the video to work from within the presentation, and had to run it from 
the media player.



It's not a big problem, and I can work around it, but when you have a 
classroom of Year 4 and 5 kids, you don't want to get too distracted by 
the technology.



Any ideas about how to make it work? Keep in mind that I have no access 
to their computer outside of my lesson time.



Thanks.


--
God bless you
Keith Bates
Narrabri NSW

Jesus is the Way
the Truth and the Life


--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] Fontworks, how to change font

2017-06-08 Thread Dave
 Original Message  
From: Steve Edmonds 
To: users@global.libreoffice.org
Date: Fri, 9 Jun 2017 08:47:03 +1200


> 
> 
> On 09/06/17 00:01, Dave wrote:
>> On 08.06.2017 12:41, Steve Edmonds wrote:
>>> Hi.
>>> Trying to imitate a layout from MS word (words around a circle) in
>>> writer.
>>>
>>> I can enter the words, get the shape, colour, etc. but in writer can't
>>> change the font.
>>> If I do the same in draw the properties side bar has Character where I
>>> can change the font.
>>> In writer the sidebar does not have Character.
>>> LO 5.1.4.2
>>> Am I missing something, help appreciated.
>>> Steve
>> Hi Steve,
>>
>> Double click on the Fontworks object to access the underlying text.
>> Select/highlight (eg. Shift + Home keys) the displayed text and choose
>> the required font from the style drop-down or that sidebar thing.
>> Click  outside of the Fontworks object to finish.
>> Note: Fontworks is converting normal fonts into vector shapes, so some
>> results may not always be pleasing.
>>
>> Hope this helps.
>>
>> Dave
> Thanks Dave, but that didn't work. The highlighted text changes (and
> stays changed) but the changes don't go show in the fontwork text. LO
> 5.1 and 5.2, OSX, Win and Linux.
> steve

Hi Steve,

That's odd. I don't have access to OSX, but the method described has
always worked for me going back several versions on both Linux & Win.
According to Jomali's post it also works on OSX.

I have tried a number of configuration settings to to try and make it
fail, but it continued to work as described

I don't know if it will help you track down the issue, but am cc'ing you
with an attached Writer document containing 2 Fontwork graphics. The top
one uses the "Comic Sans MS" font and the lower one uses the "Liberation
Sans" font. When you open it both Fontwork objects should display as per
their underlying font shapes. If not, I can only guess that something?
is adrift in your configuration settings.

Sorry I can't be of more help.

Regards
Dave

-- 
Please address any reply to the mailing list only. Any messages sent to
this noreply@ address are automatically deleted from the server and will
never be read.

-- 
To unsubscribe e-mail to: users+unsubscr...@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