namespace com::sun::star { namespace sheet { class XSpreadsheetDocument; }
}
namespace connectivity::calc
{ class ODriver; class OCalcConnection : public file::OConnection
{ // the spreadsheet document:
css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDoc;
OUString m_sPassword;
OUString m_aFileName;
oslInterlockedCount m_nDocCount;
class CloseVetoButTerminateListener : public cppu::WeakComponentImplHelper<css::frame::XTerminateListener>
{ private: /// close listener that vetoes so nobody else disposes m_xDoc
std::unique_ptr<utl::CloseVeto> m_pCloseListener; /// but also listen to XDesktop and if app is terminating anyway, dispose m_xDoc while /// its still possible to do so properly
css::uno::Reference<css::frame::XDesktop2> m_xDesktop;
osl::Mutex m_aMutex; public:
CloseVetoButTerminateListener()
: cppu::WeakComponentImplHelper<css::frame::XTerminateListener>(m_aMutex)
{
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.