[dev] One suggestions: add tabs to program new instances

2008-11-26 Thread Paul Freedom
Hi,  Where can I propose the idea for development to have the apps use 
tabs, similar to Firefox? It would be a nice enhancement for desktop 
efficiency. It's time to stop having new docs. all over the screen. Thanks,


Paul K.
Portland, Oregon

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



[dev] need to contribute

2008-11-26 Thread geetha
hi,

   I wish to contribute open source projects.
   I know php,ruby on rails .
   how can i do my contribution


-- 
Regards,
S.Sangeetha


Re: [dev] Who can closes an issue[ was: Fwd: [l10n-dev] Spanish version : issue in OLH

2008-11-26 Thread Nguyen Vu Hung
Hi all,

Sorry for duplicate myself but what do you think about this proposal?

* trac to IssueZilla!

On Thu, Nov 20, 2008 at 2:18 PM, Nguyen Vu Hung [EMAIL PROTECTED] wrote:
 On Thu, Nov 13, 2008 at 10:50 AM, Caio Tiago Oliveira
 Well... I'm not sure, but I think Issuezilla has been discontinued, so we
 shouldn't expect news.
 I am quite unhappy with what IssueZilla provides. Plus, it is a closed
 source so we can't extend or change it.

 trac[1] is widely used among opensource community. A Ticket in trac
 is equivalent to an Issue in IZ. The workflow of QA process is quite
 similar to IZ. Another salepoint of trac is that it supports wiki
 format.

 trac can also act as an svn. But a problem is that we must install
 trac in the same server as svn because at  the moment, trac cannot
 read remote svn.

 trac also has it builtin wiki. I don't know if OOo wiki needs it( of
 course, wiki format is a big salepoint of trac).


 [1] http://trac.edgewall.org/



-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
[EMAIL PROTECTED] , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html


Re: [dev] Who can closes an issue[ was: Fwd: [l10n-dev] Spanish version : issue in OLH

2008-11-26 Thread Tor Lillqvist
 Sorry for duplicate myself but what do you think about this proposal?
 
 * trac to IssueZilla!

Not likely to happen, even if it would bring benefits, which I am not at all 
sure of.

--tml



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



Re: [dev] Who can closes an issue[ was: Fwd: [l10n-dev] Spanish version : issue in OLH

2008-11-26 Thread Christian Lohmaier
Hi *,

On Thu, Nov 13, 2008 at 2:50 AM, Caio Tiago Oliveira
[EMAIL PROTECTED] wrote:
 Nguyen Vu Hung, 12-11-2008 14:26:

  Sadly, we don't really have control over IssueZilla, so it's effectively
  impossible to change/enhance IZ's permission system.

 I have no idea about IssueZilla but is it an open source?
 If it is, Yes We Can Change.

 No, it is not.

Well, not exactly true, but even if it was fully opensource and
available, we would be able to change the sourcecode, but we won't be
able to replace the issueZilla that runs on the site with our modified
version.

 It's based on open source Bugzilla, but sadly it is not open source.

http://qa.openoffice.org/issues/show_bug.cgi?id=18

ciao
Christian

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



Re: [dev] need to contribute

2008-11-26 Thread Nguyen Vu Hung
On Wed, Nov 26, 2008 at 5:24 PM, geetha [EMAIL PROTECTED] wrote:

 hi,

   I wish to contribute open source projects.
   I know php,ruby on rails .
   how can i do my contribution

 I am not so sure but Per( in CC:) may have works for you.


--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
[EMAIL PROTECTED] , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html


Re: [dev] OO 3.0, COM, loadComponentFromURL, readOnly ever .... :-(

2008-11-26 Thread Mikhail Voitenko

Hi Marten,

It looks pretty like as if the document was locked. Strange enough you 
can still open it in UI office. The only possible scenario with such 
behavior that I currently see is that the script uses a different office 
instance ( at least different user configuration ) than the UI OOo 
session, and the file is locked by UI OOo session. But that would be too 
easy probably.


Anyway, as the first step please check whether there is a hidden lock 
file in the target folder before executing the script ( it would be 
c:\esdb\.~lock.WriterWithContentIndex.odt# in case of provided example ).


If it is there, please check that the document is not opened by another 
instance of OOo.


Regards,
Mikhail.


On 11/25/08 23:24, Marten Feldtmann wrote:

Mathias Bauer schrieb:

It would perhaps help if you posted a code snippet showing the
parameters you use and the call itself. Besides that the only idea I
have is that the document might be open already.

Regards,
Mathias
  
I think, that might not be really helpful for you, because the code is 
basically done in Smalltalk and therefore, but actually the code looks 
like:


   | loadURL desktop writerDocument loadPropertyValues  |

   loadURL := 'file:///c:\esdb\WriterWithContentIndex.odt'.

   desktop :=
   aMSKOO serviceManager
   createInstance: OOCSSFrameDesktop starName.
 
   writerDocument :=

   desktop
   loadComponentFromURL: loadURL string
   TargetFrameName: '_blank' string
   SearchFlags: 0 long
   Arguments: Array new.


Actually I did the development within a XP-SP3 virtual machine hosted by 
VirtualBox under Linux. I tried the code above at my native XP-SP3 at 
work and I'm pretty glad to say, that it worked there without problems. 
I have to do further investigations what is going wrong here 


Marten

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



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



Re: [dev] Who can closes an issue[ was: Fwd: [l10n-dev] Spanish version : issue in OLH

2008-11-26 Thread Rich

On 2008.11.26. 11:55, Nguyen Vu Hung wrote:

Hi all,

Sorry for duplicate myself but what do you think about this proposal?

* trac to IssueZilla!


i'm not a dev and i have no say at these issues (pun intended), but to 
relieve devs from answering this, i'll make a quite educated guess that 
this is unlikely to say the least ;)
first, it would be a massive, massive effort. not something to be 
undertaken, especially as issuezilla was (relatively) recently upgraded.


if devs get annoyed enough, maybe we could see a move to bugzilla one 
day, but i don't see that one happening in the coming years either.



On Thu, Nov 20, 2008 at 2:18 PM, Nguyen Vu Hung [EMAIL PROTECTED] wrote:

On Thu, Nov 13, 2008 at 10:50 AM, Caio Tiago Oliveira

Well... I'm not sure, but I think Issuezilla has been discontinued, so we
shouldn't expect news.

I am quite unhappy with what IssueZilla provides. Plus, it is a closed
source so we can't extend or change it.

trac[1] is widely used among opensource community. A Ticket in trac
is equivalent to an Issue in IZ. The workflow of QA process is quite
similar to IZ. Another salepoint of trac is that it supports wiki
format.

trac can also act as an svn. But a problem is that we must install
trac in the same server as svn because at  the moment, trac cannot
read remote svn.

trac also has it builtin wiki. I don't know if OOo wiki needs it( of
course, wiki format is a big salepoint of trac).


[1] http://trac.edgewall.org/

--
 Rich

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



Re: [dev] Duplex printer option?

2008-11-26 Thread Grover Blue
ok, i ended up configuring a second printer with a default setting of
duplex.  The problem with this solution is that when a document queues to
another print spool, the order of printing is not guaranteed.


For instance, if I print the following documents through the API in the
below order:

Document01 - Printer_Simplex
Document02 - Printer_Simplex
Document03 - Printer_Simplex
Document04 - Printer_Simplex
Document05 - Printer_Duplex
Document06 - Printer_Simplex
Document07 - Printer_Simplex

then that's the order I need them to print on the physical device.

However, they end up printing this way:
Document01 - Printer_Simplex
Document02 - Printer_Simplex
Document03 - Printer_Simplex
Document04 - Printer_Simplex
Document06 - Printer_Simplex
Document07 - Printer_Simplex
Document05 - Printer_Duplex


Which is wrong.  Dead wrong.


Is there a way to poll submitted print requests (via open office) in order
to pause processing until the duplexed item has printed?

Perhaps there is a spool setting available in windows where the network
printers are defined.



On Tue, Nov 25, 2008 at 2:34 PM, Grover Blue [EMAIL PROTECTED] wrote:

 I filed an issue for this:

 http://api.openoffice.org/issues/show_bug.cgi?id=96402

 Please consider voting for it, thanks.




 On Wed, Nov 12, 2008 at 9:50 PM, Grover Blue [EMAIL PROTECTED]wrote:

 Forgive my ignorance, but I thought that all print options were Open
 Office defined.  PrintRequestAttribute is for Java printing, not Open
 Office, right?

 On Mon, Nov 10, 2008 at 1:48 PM, James [EMAIL PROTECTED] wrote:

 On Mon, November 10, 2008 1:36 pm, Grover Blue wrote:
  I'm doing some batch printing of Writer templates in Java, and I need
 to
  specify duplex for some items.  Is there any way to specify duplex
  printing in the printer options for an XPrintable (or maybe it's XStyle
  since that's what the PrinterPaperTray option is available to)?  I
 can't
  find anything.  The printer for the template documents is set
 dynamiclly
  in Java, so any kind of dulpex setting made through Printer Setting is
  irrelevant.
 
  Thanks
 
 

 So you need Java:

  PrintRequestAttribute examples

* Sides class
  o Single or two sided printing.
  o Closed enumeration
  o ONE_SIDED
  o TWO_SIDED_LONG_EDGE
+ Same as DUPLEX
  o TWO_SIDED_SHORT_EDGE
+ Same as TUMBLE

 http://java.sun.com/products/jfc/tsc/articles/javaOne2001/595/index.html






-- 
If the American people ever allow private banks to control the issue of
their currency, first by inflation, then by deflation, the banks...will
deprive the people of all property until their children wake-up homeless on
the continent their fathers conquered... The issuing power should be taken
from the banks and restored to the people, to whom it properly belongs.
-- Thomas Jefferson

Government big enough to supply everything...is big enough to take
everything you have. The course of history shows that as a government grows,
liberty decreases --- Thomas Jefferson

www.CampaignForLiberty.org


Re: [dev] Duplex printer option?

2008-11-26 Thread Marcin Miłkowski
Have you tried using the UNO dispatch interface? This sometimes gives 
access to functions unavailable via API.


Best,
Marcin

Grover Blue pisze:

ok, i ended up configuring a second printer with a default setting of
duplex.  The problem with this solution is that when a document queues to
another print spool, the order of printing is not guaranteed.


For instance, if I print the following documents through the API in the
below order:

Document01 - Printer_Simplex
Document02 - Printer_Simplex
Document03 - Printer_Simplex
Document04 - Printer_Simplex
Document05 - Printer_Duplex
Document06 - Printer_Simplex
Document07 - Printer_Simplex

then that's the order I need them to print on the physical device.

However, they end up printing this way:
Document01 - Printer_Simplex
Document02 - Printer_Simplex
Document03 - Printer_Simplex
Document04 - Printer_Simplex
Document06 - Printer_Simplex
Document07 - Printer_Simplex
Document05 - Printer_Duplex


Which is wrong.  Dead wrong.


Is there a way to poll submitted print requests (via open office) in order
to pause processing until the duplexed item has printed?

Perhaps there is a spool setting available in windows where the network
printers are defined.



On Tue, Nov 25, 2008 at 2:34 PM, Grover Blue [EMAIL PROTECTED] wrote:


I filed an issue for this:

http://api.openoffice.org/issues/show_bug.cgi?id=96402

Please consider voting for it, thanks.




On Wed, Nov 12, 2008 at 9:50 PM, Grover Blue [EMAIL PROTECTED]wrote:


Forgive my ignorance, but I thought that all print options were Open
Office defined.  PrintRequestAttribute is for Java printing, not Open
Office, right?

On Mon, Nov 10, 2008 at 1:48 PM, James [EMAIL PROTECTED] wrote:


On Mon, November 10, 2008 1:36 pm, Grover Blue wrote:

I'm doing some batch printing of Writer templates in Java, and I need

to

specify duplex for some items.  Is there any way to specify duplex
printing in the printer options for an XPrintable (or maybe it's XStyle
since that's what the PrinterPaperTray option is available to)?  I

can't

find anything.  The printer for the template documents is set

dynamiclly

in Java, so any kind of dulpex setting made through Printer Setting is
irrelevant.

Thanks



So you need Java:

 PrintRequestAttribute examples

   * Sides class
 o Single or two sided printing.
 o Closed enumeration
 o ONE_SIDED
 o TWO_SIDED_LONG_EDGE
   + Same as DUPLEX
 o TWO_SIDED_SHORT_EDGE
   + Same as TUMBLE

http://java.sun.com/products/jfc/tsc/articles/javaOne2001/595/index.html









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



Re: [dev] need to contribute

2008-11-26 Thread Nguyen Vu Hung
On Thu, Nov 27, 2008 at 1:42 AM, Per Eriksson
[EMAIL PROTECTED] wrote:
 Hello Nguyen and Geetha,

 If you wish to contribute code, there is mostly C++ and Java in the
 OpenOffice.org application.
The OP doesn't know C++ and Java  - yet.

 There may be various tools around which use php, but these are used in
 different projects in the community.
For example this one:
http://qatrack.services.openoffice.org/

 Have you filled in a SCA?
 http://wiki.services.openoffice.org/wiki/Sun_Contributor_Agreement
I never seen this kind of sh* in any other open source projects.
lolZ.

-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
[EMAIL PROTECTED] , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html


Re: [dev] Who can closes an issue[ was: Fwd: [l10n-dev] Spanish version : issue in OLH

2008-11-26 Thread Caio Tiago Oliveira

Nguyen Vu Hung, 26-11-2008 06:55:

Hi all,

Sorry for duplicate myself but what do you think about this proposal?

* trac to IssueZilla!


I'm not the better person to talk about it, since it is much related to 
infrastructure.

Collabnet provide us hosting the site and some tools, like issuezilla.

Issuezilla has a interface with the code versioning system and the 
actual database is Collabnet responsibility.


Would be a massive effort to migrate to trac. We would loose the 
Collabnet support (which is very good), and I don't know how trac would 
handle our amount of data.


Simplifying, we would miss support and hosting.




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



Re: [dev] MS Word 2007 docx with OOo SDK 3.0

2008-11-26 Thread Tai Vo
Thanks to any and all who attempted to solve this.  Please consider the issue 
closed.  I switched computer recently and made the mistake of not regenerating 
(or copying over) the complete types.rdb file from idl specs.

Happy Holidays!
--Tai


--- On Tue, 11/25/08, Tai Vo [EMAIL PROTECTED] wrote:

 From: Tai Vo [EMAIL PROTECTED]
 Subject: [dev] MS Word 2007 docx with OOo SDK 3.0
 To: dev@openoffice.org
 Date: Tuesday, November 25, 2008, 4:41 PM
 Hi all,
 I'm attempting to load a Word 2007 document using
 XComponentLoader::loadComponentFromURL().  The following
 line of code resulted in an unhandled exception in Visual
 C++ Pro 2005.
 
 Reference XComponent  rMyDoc=
 rCompLoader-loadComponentFromURL(myUrl, 
  frame, 0, loadProperties);
 
 This is the message that comes in a Visual Studio dialog
 box:
 Unhandled exception at 0x00b8 in myprog.exe:
 0xC005: Access violation reading location
 0x00b8.
 
 I have wrapped this code in a try{} block that has a
 catch(...) clause, but VS2005 just complains about the
 exception without moving on to that handler.
 
 The code works just fine when I open other document types
 like word 97, ODT, RTF, etc.  As for the loadProperties,
 I've tried both with and without FilterName =
 writer_MS_Word_2007, the result is the same
 unhandled exception.
 
 I'm new to OOo development with the SDK 3.0rc4 and can
 really use some pointers in the right direction.  Note that
 I have OOo 3.0 install and have confirmed that swriter can
 open a word 2007 docx document.  I'm just not able to do
 that via UNO.  Looking forward to your input.  Thanks!
 
 --Tai
 
 
 
   
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


  

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