Ask Your Question

Darek's profile - activity

2017-04-24 14:10:27 +0100 received badge  Notable Question (source)
2016-12-07 08:46:42 +0100 received badge  Popular Question (source)
2016-12-07 08:40:59 +0100 answered a question Why this extension fails to install on WinXP, but it succeeds on Win7

Simple procedure of renaming "user" folder and re-creating user profile described here https://wiki.documentfoundation.org/F... helped! After that, the extension installs and works!

2016-12-07 07:39:13 +0100 received badge  Enthusiast
2016-12-06 14:33:02 +0100 commented question Why this extension fails to install on WinXP, but it succeeds on Win7

Correction: I tried on another machine with WinXP box, installed On LibO 5.2.3.3, then installed the extension without any problems and it works!

Prehaps problem lays somewhere in LibO "registry"?

2016-12-05 14:06:57 +0100 asked a question Why this extension fails to install on WinXP, but it succeeds on Win7

Hi The following extension http://berma.pagesperso-orange.fr/Fil... doesn't work in LibO Writer 5, so I rewrote it a bit, here is my version http://koktail.net/sandbox/ImageInser....

I found out recently, that it doesn't install on WinXP box, while on Win7 it installs flawlessly.

Message from installation phase, doesn't help me:

(com.sun.star.deployment.DeploymentException) { { Message = An error occured during extension activation/registration(1)": ImageInsert", Context = (com.sun.star.uno.XInterface) @91574d8 }, Cause = (any) { (com.sun.star.lang.IllegalArgumentException) { { { Message = "", Context = (com.sun.star.uno.XInterface) @0 } }, ArgumentPosition = (short) 0 } } }

(1) Message is translated into English

Regards Darek

2016-09-01 12:06:13 +0100 received badge  Notable Question (source)
2016-09-01 09:36:10 +0100 answered a question How to on open Writer document form Date Field display current date

Thanks to Villeroy -> [Solved] Date Field can't set date I managed to set it via macro:

Sub SetDefaultDate(ByVal DateFieldName As String)
    oForm = ThisComponent.drawpage.forms(0)
    oElm = oForm.getByName(DateFieldName)

    strDigits = CDateToIso( Date() )
    oDate = createUnoStruct("com.sun.star.util.Date")
    oDate.Year = cInt(left(strDigits,4))
    oDate.Month = cInt(mid(strDigits,5,2))
    oDate.Day = cInt(right(strDigits,2))
    oElm.Date = oDate
End Sub

Sub TestSetDefaultDate
   SetDefaultDate("Date Field 1")
End Sub
2016-08-31 08:24:20 +0100 received badge  Popular Question (source)
2016-08-30 11:20:39 +0100 asked a question How to on open Writer document form Date Field display current date

How to on open Writer document form Date Field display current (OS) date? (The document is opened from template.) I can set "Default date" but it's static date. I'd like to provide current date to document user so she/he can leave it or change it.