Re: Re: [dev] Bride disposed in Windows Terminal Server environment
It seems that all originates from the fact that the machine is multiprocessor, not because of terminal server. Even on a single user dual core machine there was a problem. If I start soffice using the procaff tool that tells it to work on a single processor it works fine. http://www.stefan-kuhr.de/procaff/main.php3 Mike - Заложете на късмета си със Спортингбет! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] i73155 Reconsideration of read-only mode
tora - Takamichi Akiyama wrote: The problem is that users in the world could not be I. I can follow your suggestion, but what about tremendous number of casual users all over the world? Well, sometimes we must protect users from shooting themselves into their foot (ore somewhere else). :-) If the readonly state of plugged files is a problem perhaps it shouldn't be installed by default. But I can't understand the problem. In the world of the internet it's usual that files are viewed, not editied. So an odt file serves the same purpose as an html,txt or pdf file. Another scenario: The Human Resource in a traditional company (*1) sent to all employees an e-mail commanding them open and fill an document, print, and submit it. The document can be obtained from \\Fileserver\Path\Filename. User A opens the document under normal mode. User B opens it under read-only mode. User C opens it under read-only mode. The users B, C, and the rest are not given meaningful information on the situation. They face read-only. They are warned with a message This document cannot be edited, possibly due to missing access right. Do you want to edit a copy of the document? upon clicking on an icon Edit file. The similar situation still happens. Yes. Sorry, but it's stupid to put a document on a file server and let it open by everybody. Do you really want to have the private data of a user stored into this document so that the next user can read them? They should use a template instead. This will give every user a new instance of the document that they can save on their own disk. The file on the server *must* be read-only. I would even make it read-only for the first user by removing write access from it. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to [EMAIL PROTECTED]. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Action Listener Problem
Hello. I need some help here please and i appreciate very much for any. I made this Add on in openoffice. The made a test to display a java frame. I want to place button events on this program but the problem is i tried implementing the ActionListener on the class (adding it on the public final class Thesis) but it wont work (it says its abstact or smthing). Now i don't now how to have events for the buttons im planning to place: Here's the code: package org.yourorg.here; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XComponentContext; import com.sun.star.lib.uno.helper.Factory; import com.sun.star.lang.XSingleComponentFactory; import com.sun.star.registry.XRegistryKey; import com.sun.star.lib.uno.helper.WeakBase; import com.sun.star.lang.XMultiComponentFactory; import com.sun.star.frame.XDesktop; import com.sun.star.frame.XFrame; import com.sun.star.frame.XModel; import com.sun.star.text.XTextDocument; import com.sun.star.text.XText; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.lang.String; public final class Thesis extends WeakBase implements com.sun.star.lang.XServiceInfo, com.sun.star.frame.XDispatchProvider, com.sun.star.lang.XInitialization, com.sun.star.frame.XDispatch { private final XComponentContext m_xContext; private com.sun.star.frame.XFrame m_xFrame; private static final String m_implementationName = Thesis.class.getName(); private static final String[] m_serviceNames = { com.sun.star.frame.ProtocolHandler }; public Thesis( XComponentContext context ) { m_xContext = context; }; public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) { XSingleComponentFactory xFactory = null; if ( sImplementationName.equals( m_implementationName ) ) xFactory = Factory.createComponentFactory(Thesis.class, m_serviceNames); return xFactory; } public static boolean __writeRegistryServiceInfo( XRegistryKey xRegistryKey ) { return Factory.writeRegistryServiceInfo(m_implementationName, m_serviceNames, xRegistryKey); } // com.sun.star.lang.XServiceInfo: public String getImplementationName() { return m_implementationName; } public boolean supportsService( String sService ) { int len = m_serviceNames.length; for( int i=0; i len; i++) { if (sService.equals(m_serviceNames[i])) return true; } return false; } public String[] getSupportedServiceNames() { return m_serviceNames; } // com.sun.star.frame.XDispatchProvider: public com.sun.star.frame.XDispatch queryDispatch( com.sun.star.util.URL aURL, String sTargetFrameName, int iSearchFlags ) { if ( aURL.Protocol.compareTo(org.yourorg.here.thesis:) == 0 ) { if ( aURL.Path.compareTo(Command1) == 0 ) return this; } return null; } // com.sun.star.frame.XDispatchProvider: public com.sun.star.frame.XDispatch[] queryDispatches( com.sun.star.frame.DispatchDescriptor[] seqDescriptors ) { int nCount = seqDescriptors.length; com.sun.star.frame.XDispatch[] seqDispatcher = new com.sun.star.frame.XDispatch[seqDescriptors.length]; for( int i=0; i nCount; ++i ) { seqDispatcher[i] = queryDispatch(seqDescriptors[i].FeatureURL, seqDescriptors[i].FrameName, seqDescriptors[i].SearchFlags ); } return seqDispatcher; } // com.sun.star.lang.XInitialization: public void initialize( Object[] object ) throws com.sun.star.uno.Exception { if ( object.length 0 ) { m_xFrame = (com.sun.star.frame.XFrame)UnoRuntime.queryInterface( com.sun.star.frame.XFrame.class, object[0]); } } // com.sun.star.frame.XDispatch: public void dispatch( com.sun.star.util.URL aURL, com.sun.star.beans.PropertyValue[] aArguments ) { if ( aURL.Protocol.compareTo(org.yourorg.here.thesis:) == 0 ) { if ( aURL.Path.compareTo(Command1) == 0 ) { // add your own code here try { XMultiComponentFactory xMCF = m_xContext.getServiceManager(); Object oDesktop = xMCF.createInstanceWithContext( com.sun.star.frame.Desktop, m_xContext); XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface(XDesktop.class, oDesktop); XFrame xFrame = xDesktop.getCurrentFrame(); XModel xModel = xFrame.getController().getModel(); XTextDocument xTextDoc = (XTextDocument)UnoRuntime.queryInterface( XTextDocument.class, xModel); XText xText = xTextDoc.getText(); String docuString = xText.getString(); GUI(); } catch (com.sun.star.uno.Exception ex) { ex.printStackTrace(); } return; } } } public void addStatusListener( com.sun.star.frame.XStatusListener xControl, com.sun.star.util.URL aURL ) { // add your own code here } public void removeStatusListener( com.sun.star.frame.XStatusListener xControl, com.sun.star.util.URL aURL ) { // add your own code here } public static void GUI() { JFrame.setDefaultLookAndFeelDecorated(true); JFrame frame = new JFrame(Test Frame); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); frame.setVisible(true); } } Can sm1 please help me on how could i place
[dev] officebean in eclipse doesnt work with 2.1
Hi I have an Eclipse RCP that uses OpenOffice.org via officebean. This worked in OOo 2.0 through 2.03, but not in 2.1 Every call to aBean.loadFromXXX hangs somewhere inside OpenOffice and creates an InterruptedException after a minute or so. And what makes it even worse: This happens only in the deployed version of my rcp. It does not happen while stepping with the debugger inside eclipse While trying to find the reason for this strange behaviour, I downloaded the OOo Source OOE680_m6. but while trying to step through loadFromURL, I noticed that the sources of com.sun.star.frame.* are not there. They should be in the directory OOOE680_m6\unoil, I suppose, but this is empty in my source tarball. Can you help me finding those sources? Or maybe you have an idea, why this problem might arise with OOo 2.1? Thanks for any help regards Gerry __ XXL-Speicher, PC-Virenschutz, Spartarife mehr: Nur im WEB.DE Club! Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130 smime.p7s Description: S/MIME Cryptographic Signature
Re: [dev] About fontwork gallery
Hi Christian! What is the advantage to use AVOID_BURN_IN_FOR_GALLERY_THEME variable? I have never used it before, but I have created several galleries... Thanks, KAMI Christian Lippka írta: Hi Xiuzhi, just set the environment variable GALLERY_SHOW_HIDDEN_THEMES and AVOID_BURN_IN_FOR_GALLERY_THEME to something and then start office. Now you can drag'n'drop shapes to and from the hidden gallery themes. Regards, Christian PS: Info is from http://wiki.services.openoffice.org/wiki/Environment_Variables xiuzhi--CH2000 wrote: hi all, I want to known how can edit the fontwork gallery files (sg36.sdg,sg36.sdv,sg36.thm). I use OpenOffice open the three file, but I can not understand the file (I only can see the binary code). What tools can do this? Can you tell me? I want to change the word used in the fontwork gallery ,for example using font instead of fontwork.How can I do this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Release Status meeting minutes
Hi, the latest release status minutes can be found at http://wiki.services.openoffice.org/wiki/ReleaseStatus_Minutes#2007-01-29 Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] OOo OE680 build
Hello, I am trying to build OOo 2.1 but build fails on insetooo_native just my luck :) This what I find out in log_OOE680__en-US.log this the first error in log register component 'ldapbe2.uno.dll' in registry 'c:\DOCUME~1\tane\LOCALS~1\Temp\i_12161170147993\wntmsci11.pro\OpenOffice\msi\services.rdb\en-US_inprogress_1\services.rdb' failed! error (CannotRegisterImplementationException): loading component library failed: ldapbe2.uno.dll this the second register component 'dlgprov680mi.uno.dll' in registry 'c:\DOCUME~1\tane\LOCALS~1\Temp\i_12161170147993\wntmsci11.pro\OpenOffice\msi\services.rdb\en-US_inprogress_1\services.rdb' succesful! ERROR: guw.exe -env c:/OOE680_m6/solver/680/wntmsci11.pro/bin/regcomp.exe -register -r /cygdrive/c/DOCUME~1/tane/LOCALS~1/Temp/i_12161170147993/wntmsci11.pro/OpenOffice/msi/services.rdb/en-US_inprogress_1/services.rdb -c 'acceptor.uno.dll;adabas2.dll;ado2.dll;basctl680mi.dll;basprov680mi.uno.dll;bib680mi.dll;bridgefac.uno.dll;cached1.dll;configmgr2.uno.dll;sysmgr1.uno.dll;behelper.uno.dll;ldapbe2.uno.dll;comphelp4MSC.dll;connector.uno.dll;reflection.uno.dll;shlibloader.uno.dll;ctl680mi.dll;dba680mi.dll;sdbt680mi.dll;dbacfg680mi.dll;dbase680mi.dll;dbpool2.dll;dbaxml680mi.dll;nestedreg.uno.dll;dlgprov680mi.uno.dll' 21 | To me looks like is problem with 'ldapbe2.uno.dll but I have no idea how to solve it Litle info for the end my build environment, is WinXP SP2 java1.4.2latest Visual Express 2005 The computer is Intel Celeron III 734Mhz 384 RAM SCSI 80GB Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]