Re: [dev] re: simulating arrays in idl

2005-05-06 Thread Stephan Bergmann
James Black wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am starting some development to pull the a gradebook from our course
management system, so the faculty members can manipulate the grades,
then send them back.
I am going to use a webservice to interface with the CMS.
I need to get all the grades for each student, so I need arrays.
How can I work around the fact that UNO doesn't support arrays?
UNO has sequence types (see 
), which should 
have all the properties typically expected from an "array" type.  (In 
the UNO Java language binding, they map to Java array types.)

-Stephan
I am using Oo sdk 1.9.91 for development, in java, using jdk1.5.
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [dev] Restricting portions of config to admins only?

2005-05-06 Thread Brian Raymond
On 4/5/05 8:38 AM, "Joerg Barfurth" <[EMAIL PROTECTED]> wrote:

deleted 
> 
> You can restrict access to individual settings by providing a
> configuration data (.xcu) file and using the protection attributes
> (oor:finalized and oor:mandatory) in that file to mark individual
> settings or entire subtrees as protected from further (e.g. user)
> modification.
> 
> If you deploy your component with its configuration data as a shared UNO
> package, this data is imported into the basic OOo installation structure
> and should generally end up in a file that is not user-writable.
> 
> You can't currently manipulate the access control attributes via the
> API. Manipulating protected data via the administrative API should leave
> the protection in place.

It's been a few weeks but I wanted to catch up on this again.

Can you expand on what you are referring to when you state protected
attributes can be modified via the "administrative API"? I'm adding the
configuration data via an .xcu file now so I'm going to experiment with the
finalized/mandatory settings. I need to provide an "administrative UI" to
allow edits by admins however I'm not clear on how I can separate the two.

Thanks.

- Brian


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



Re: [dev] How to add-in in OpenOffice.org Calc!

2005-05-06 Thread Robert Vojta
xutuan Zhang pÃÅe v Ät 05. 05. 2005 v 18:28 +0100:

Hallo Xutuan,

> [I'm using VisualStudio 7, OOoSDK 1.1, OOo 1.9.79,
> Windows XP SP2]

  are you using OOoSDK 1.1 for add-in development for the 1.9.x?

> Is there any other Calc Add-in samples available? I
> basically just want Calc Add-in template to start
> with.

  Download latest SDK [1] and try to compile analysis add-in with this
version. 

  Java example of add-in is in the SDK/examples/java/Spreadsheet
directory. Files to look at are:

  - CalcAddins.java - Add-in implementation in Java
  - CalcAddins.ods  - Sample Calc document
  - XCalcAddins.idl - interface definition

  You should look at Developers Guide - Spreadsheet Add-ins too [2].

  If you are talking about scaddins/analysis module, it's compilable
without problems. If you are trying to compile OO.o from scratch, you
should try ooo-build first [3].

  [1]

http://download.openoffice.org/680/sdk.html#sdk

  [2] 

http://api.openoffice.org/docs/DevelopersGuide/Spreadsheet/Spreadsheet.htm#1+6+Spreadsheet+Add-Ins

  [3]

http://go-oo.org/

-- 
Robert Vojta
http://blog.vojta.name/

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



Re: [dev] How to add-in in OpenOffice.org Calc!

2005-05-06 Thread Volker Quetschke
  If you are talking about scaddins/analysis module, it's compilable
without problems. If you are trying to compile OO.o from scratch, you
should try ooo-build first [3].
(snip)
  [3] http://go-oo.org/
Well, how about using the OOo build instructions?

You also mention "VisualStudio 7". I don't know which version that
means, but for compiling a 1.9.x version you really need
Visual Studio .NET 2003.
But this is well documented in our build instructions for Windows.
  Volker
--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D