openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steele, Raymond" <>
Subject soffice process still running
Date Mon, 28 Jan 2013 22:44:10 GMT
After implementing the below code, the soffice process continues to run. I check this using
ps -ef| grep soffice on Solaris 10 x86 OpenOffice 3.2.  Can anyone explain how to get this
process to stop? I do not want to use the kill command because I do not want to kill any other
instances of open office. Thanks!

  // Conditions: xDocument = m_xLoadedDocument
  // Check supported functionality of the document (model or controller). xModel =

    // It is a full featured office document.
    // Try to use close mechanism instead of a hard dispose().
    // But maybe such service is not available on this model. xCloseable =

        // use close(boolean DeliverOwnership)
        // The boolean parameter DeliverOwnership tells objects vetoing the close process
that they may
        // assume ownership if they object the closure by throwing a CloseVetoException
        // Here we give up ownership. To be on the safe side, catch possible veto exception
      catch( exCloseVeto)
  // If close is not supported by this model - try to dispose it.
  // But if the model disagree with a reset request for the modify state
  // we shouldn't do so. Otherwhise some strange things can happen.
  { xDisposeable =
       catch( exModifyVeto)

Raymond Steele
U-2 Mission Planning
Software Engineer
Lockheed Martin - IS&GS Defense
1300 S. Litchfield Rd.
Goodyear, AZ 85338
Business phone:  623-925-6102

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message