[dev] how to sign a document macro ?

2008-01-16 Thread Oliver Brinzing
Hi,

i have a question about how to sign a document macro 
(*only* the macro, *not* the document content).

For example a user should be able to edit the document
but not allowed to change the macro ...

if i sign a macro and edit the document i get a message that the 
signature will be removed on save ...

BTW: i set the macro security to high

any hints ?

Oliver
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] OOo performance team start working now.

2008-01-16 Thread Xiuzhi Cheng
Hi all,
OOo performance team has been established now. This team focuses on how to 
imporve the OOo performance.
Welcome you to discuss your good idea on [EMAIL PROTECTED] .
The wiki page http://wiki.services.openoffice.org/wiki/Performance will be 
updated also.

Regards,
Xiuzhi
Xiuzhi Cheng(xiuzhi) - OpenOffice.org ESC member.
RedFlag Chinese2000 Software Co.Ltd. 
Tel:8610-51570010 ext 6177

Re: [dev] how to sign a document macro ?

2008-01-16 Thread Malte Timmermann
Open the doc, choose tools / macros / digital signatures

Malte.

Oliver Brinzing wrote, On 01/16/08 09:46:
 Hi,
 
 i have a question about how to sign a document macro 
 (*only* the macro, *not* the document content).
 
 For example a user should be able to edit the document
 but not allowed to change the macro ...
 
 if i sign a macro and edit the document i get a message that the 
 signature will be removed on save ...
 
 BTW: i set the macro security to high
 
 any hints ?
 
 Oliver

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Openoffice compilation

2008-01-16 Thread Prasanna
I am getting following error  while  i am building  openoffice 2.2.1. After
i gave build in instsetoo_native this is the following result .Please check
this error.

=
Building module extensions
=
/home/boss/Desktop/SRC680_m239/extensions/inc
-
/home/boss/Desktop/SRC680_m239/extensions/source/bibliography
-
/home/boss/Desktop/SRC680_m239/extensions/source/plugin/base
--
Making: ../../../unxlngi6.pro/slo/context.obj
g++  -fmessage-length=0 -c -Os -fno-strict-aliasing   -I.
-I../../../unxlngi6.pro/inc/plbase
-I/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin
-I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc
-I../../../unxlngi6.pro/inc -I.
-I/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/stl
-I/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/external
-I/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc
-I/home/boss/Desktop/SRC680_m239/solenv/unxlngi6/inc
-I/home/boss/Desktop/SRC680_m239/solenv/inc
-I/home/boss/Desktop/SRC680_m239/res
-I/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/stl
-I/home/boss/Desktop/SRC680_m239/solenv/inc/Xp31 -INO_JAVA_HOME/include
-INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include
-I/usr/include
-I/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/offuh -I.
-I../../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -Wall
-Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
-DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE
-D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.1.3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DGUI -DSRC680=SRC680   -DDISABLE_XAW -DSHAREDLIB -D_DLL_   -fexceptions
-fno-enforce-eh-specs -DEXCEPTIONS_ON  -o
../../../unxlngi6.pro/slo/context.o
/home/boss/Desktop/SRC680_m239/extensions/source/plugin/base/context.cxx
In file included from
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npupp.h:58,
 from ../inc/plugin/unx/plugcon.hxx:89,
 from ../inc/plugin/unx/sysplug.hxx:40,
 from ../inc/plugin/impl.hxx:147,
 from
/home/boss/Desktop/SRC680_m239/extensions/source/plugin/base/context.cxx:44:
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:52:21:
error: prtypes.h: No such file or directory
In file included from ../inc/plugin/unx/plugcon.hxx:89,
 from ../inc/plugin/unx/sysplug.hxx:40,
 from ../inc/plugin/impl.hxx:147,
 from
/home/boss/Desktop/SRC680_m239/extensions/source/plugin/base/context.cxx:44:
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npupp.h:61:17:
error: jri.h: No such file or directory
../inc/plugin/unx/mediator.hxx:191: warning: unused parameter 'condition'
../inc/plugin/unx/mediator.hxx:191: warning: unused parameter 'pFormat'
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:225:
error: 'int16' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:226:
error: 'int16' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:256:
error: 'uint32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:257:
error: 'uint32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:264:
error: 'int32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:265:
error: 'uint32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:272:
error: 'int32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:279:
error: 'uint16' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:280:
error: 'uint16' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:281:
error: 'uint16' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:282:
error: 'uint16' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:287:
error: 'int32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:288:
error: 'int32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:308:
error: 'int32' does not name a type
/home/boss/Desktop/SRC680_m239/solver/680/unxlngi6.pro/inc/mozilla/plugin/npapi.h:313:
error: 'int32' does not name a type

Re: [dev] how to sign a document macro ?

2008-01-16 Thread Oliver Brinzing
Hi Malte,

 Open the doc, choose tools / macros / digital signatures

that's exactly what i did. After signing i can reload the document
and execute the macros ... but if i edit the document (*not* the macro)
the macro signature got lost and reloading leads to an error cause
the macros are unsigned now ...

i am using oo 2.3.1 (vista)

Oliver
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] how to sign a document macro ?

2008-01-16 Thread Malte Timmermann
Then something is broken - file an issue please.

Malte.

Oliver Brinzing wrote, On 01/16/08 13:55:
 Hi Malte,
 
 Open the doc, choose tools / macros / digital signatures
 
 that's exactly what i did. After signing i can reload the document
 and execute the macros ... but if i edit the document (*not* the macro)
 the macro signature got lost and reloading leads to an error cause
 the macros are unsigned now ...
 
 i am using oo 2.3.1 (vista)
 
 Oliver

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] AutoText via API not working

2008-01-16 Thread Matthias B.
I'm trying to create a new AutoText via API, but it doesn't work. I've
copy'n'pasted the example from the Dev Guide and it throws a
RuntimeException (with no detail message) on the call to
XAutoTextGroup.insertNewByName(). I've tried creating an AutoText via
Basic, but it has the same problem. Below is my code. You need to
create a Bookmark Test for it to work.

Can someone tell me what's the problem?

Matthias

Sub Main
  doc = ThisComponent

  autoTextContainer = createUnoService(com.sun.star.text.AutoTextContainer)
  if autoTextContainer.hasByName(TempGroup1) then
autoTextContainer.removeByName(TempGroup1)
  end if

  atgroup = autoTextContainer.insertNewByName(TempGroup1)
  range = doc.Bookmarks.getByName(Test).Anchor
  atgroup.insertNewByName(T,Test,range)

End Sub

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] AutoText via API not working

2008-01-16 Thread Matthias B.
I'm trying to create a new AutoText via API, but it doesn't work. I've
copy'n'pasted the example from the Dev Guide and it throws a
RuntimeException (with no detail message) on the call to
XAutoTextGroup.insertNewByName(). I've tried creating an AutoText via
Basic, but it has the same problem. Below is my code. You need to
create a Bookmark Test for it to work.

Can someone tell me what's the problem?

Matthias

Sub Main
  doc = ThisComponent

  autoTextContainer = createUnoService(com.sun.star.text.AutoTextContainer)
  if autoTextContainer.hasByName(TempGroup1) then
autoTextContainer.removeByName(TempGroup1)
  end if

  atgroup = autoTextContainer.insertNewByName(TempGroup1)
  range = doc.Bookmarks.getByName(Test).Anchor
  atgroup.insertNewByName(T,Test,range)

End Sub

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] AutoText via API not working

2008-01-16 Thread linuxa linux
Happy New Year!  I have a project for either on a FOSS
basis or non-commercial project pricing basis  -

There are 26 etc alphabets, a to z, in
English/European languages and in OpenOffice software 
package.

Project:
1 of these alphabets needs changing from
english/european to sanskrit.  When user presses this
alphabet key on their local machine the chosen
alphabet shows as a sanskrit alphabet instead of the
english/european alphabet.
 
1:1 alteration in the alphabet - from
english/european alphabet to a sanskrit alphabet.
Instead of user having to write the content on their
local machine and then having to change one of the
alphabet through find and replace function, they now
can process  immediately. 

I need you to make the necessary changes to the
Alphabet, Menu, Dictionary, Help/FAQs.  

Could you please tell your decision urgently.

Regards,


Meeku


--- Matthias B. [EMAIL PROTECTED] wrote:

 I'm trying to create a new AutoText via API, but it
 doesn't work. I've
 copy'n'pasted the example from the Dev Guide and it
 throws a
 RuntimeException (with no detail message) on the
 call to
 XAutoTextGroup.insertNewByName(). I've tried
 creating an AutoText via
 Basic, but it has the same problem. Below is my
 code. You need to
 create a Bookmark Test for it to work.
 
 Can someone tell me what's the problem?
 
 Matthias
 
 Sub Main
   doc = ThisComponent
 
   autoTextContainer =

createUnoService(com.sun.star.text.AutoTextContainer)
   if autoTextContainer.hasByName(TempGroup1) then
 autoTextContainer.removeByName(TempGroup1)
   end if
 
   atgroup =
 autoTextContainer.insertNewByName(TempGroup1)
   range = doc.Bookmarks.getByName(Test).Anchor
   atgroup.insertNewByName(T,Test,range)
 
 End Sub
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] how to sign a document macro ?

2008-01-16 Thread Oliver Brinzing

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

| Then something is broken - file an issue please.

http://www.openoffice.org/issues/show_bug.cgi?id=85306

BTW: i thought it should be possible to allow executing macro's only
~if the are signed with a specific key ?
~for example a company could sign all document macro's and
~restrict using macro's this way ...

Oliver

- --
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHjkSUTiyrQM/QSkURAuh/AKCldknfIk8tUtAUJA63n2BPltIdyACfeVl1
jD8reEujpxwUZIb7AU4144k=
=iZ4o
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] AutoText via API not working

2008-01-16 Thread Matthias B.
On Jan 16, 2008 2:53 PM, Oliver Specht [EMAIL PROTECTED] wrote:
 Hi,
 the group name contains a path index separated by '*'. If this is not
 supplied then the first AutoText path is used to create the new group
 file. This file is usually placed in the share layer. If your share
 layer is not writeable insertNewByName() will fail. Use
 autoTextContainer.insertNewByName(TempGroup1*1) instead.

Thanks. Oliver. This works. I have 2 questions however:

1) What exactly is this AutoText path you're talking about. My
Tools/Options/Paths/AutoText lists only my personal .openoffice.org
user folder. Is the shared folder implicitly prepended to this path?

2) I can't see this documented in the DevGuide nor in the IDL docs. Am
I overlooking something or should I file issues for this omission?

Matthias

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]