/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include #include #include #include "vbaoleobject.hxx" using namespace com::sun::star; using namespace ooo::vba; ScVbaOLEObject::ScVbaOLEObject( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, css::uno::Reference< css::drawing::XControlShape > const & xControlShape ) : OLEObjectImpl_BASE( xParent, xContext ) { //init m_xWindowPeer uno::Reference< awt::XControlModel > xControlModel( xControlShape->getControl(), css::uno::UNO_SET_THROW ); uno::Reference< container::XChild > xChild( xControlModel, uno::UNO_QUERY_THROW ); xChild.set( xChild->getParent(), uno::UNO_QUERY_THROW ); xChild.set( xChild->getParent(), uno::UNO_QUERY_THROW ); uno::Reference xModel( xChild->getParent(), uno::UNO_QUERY_THROW ); uno::Reference xServiceManager( mxContext->getServiceManager(), uno::UNO_SET_THROW ); uno::Reference< XControlProvider > xControlProvider( xServiceManager->createInstanceWithContext(u"ooo.vba.ControlProvider"_ustr, mxContext ), uno::UNO_QUERY_THROW ); m_xControl.set( xControlProvider->createControl( xControlShape, xModel ) ); } uno::Reference< uno::XInterface > SAL_CALL ScVbaOLEObject::getObject() { return uno::Reference< uno::XInterface >( m_xControl, uno::UNO_QUERY_THROW ); } sal_Bool SAL_CALL ScVbaOLEObject::getEnabled() { return m_xControl->getEnabled(); } void SAL_CALL ScVbaOLEObject::setEnabled( sal_Bool _enabled ) { m_xControl->setEnabled( _enabled ); } sal_Bool SAL_CALL ScVbaOLEObject::getVisible() { return m_xControl->getVisible(); } void SAL_CALL ScVbaOLEObject::setVisible( sal_Bool _visible ) { m_xControl->setVisible( _visible ); } double SAL_CALL ScVbaOLEObject::getLeft() { return m_xControl->getLeft(); } void SAL_CALL ScVbaOLEObject::setLeft( double _left ) { m_xControl->setLeft( _left ); } double SAL_CALL ScVbaOLEObject::getTop() { return m_xControl->getTop(); } void SAL_CALL ScVbaOLEObject::setTop( double _top ) { m_xControl->setTop( _top ); } double SAL_CALL ScVbaOLEObject::getHeight() { return m_xControl->getHeight(); } void SAL_CALL ScVbaOLEObject::setHeight( double _height ) { m_xControl->setHeight( _height ); } double SAL_CALL ScVbaOLEObject::getWidth() { return m_xControl->getWidth(); } void SAL_CALL ScVbaOLEObject::setWidth( double _width ) { m_xControl->setWidth( _width ); } OUString SAL_CALL ScVbaOLEObject::getLinkedCell() { return m_xControl->getControlSource(); } void SAL_CALL ScVbaOLEObject::setLinkedCell( const OUString& _linkedcell ) { m_xControl->setControlSource( _linkedcell ); } OUString ScVbaOLEObject::getServiceImplName() { return u"ScVbaOLEObject"_ustr; } uno::Sequence< OUString > ScVbaOLEObject::getServiceNames() { static uno::Sequence< OUString > const aServiceNames { u"ooo.vba.excel.OLEObject"_ustr }; return aServiceNames; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _contract49c'>feature/cib_contract49c LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-11-20 15:41:37 +0100
committerAndras Timar <atimar@suse.com>2012-11-20 15:41:37 +0100
commit2333133e2c4422089ab79519effc359578bebddf (patch)
treed51a43e28f4251eb2a6cbf485360d97f5ebb0033 /source/nso
parentb2cf0bf6fb5d098ed7997099349b74de8fb5e1f1 (diff)
add tudes po files
Change-Id: Ib9de8c342cfcb8a149aab23a6ac5bdc45e9bc0ad
Diffstat (limited to 'source/nso')
-rw-r--r--source/nso/tubes/uiconfig/ui.po74
1 files changed, 74 insertions, 0 deletions
diff --git a/source/nso/tubes/uiconfig/ui.po b/source/nso/tubes/uiconfig/ui.po
new file mode 100644
index 00000000000..2caef006328
--- /dev/null
+++ b/source/nso/tubes/uiconfig/ui.po
@@ -0,0 +1,74 @@
+#. extracted from tubes/uiconfig/ui
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
+"POT-Creation-Date: 2012-11-20 15:14+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: LibreOffice\n"
+"X-Accelerator-Marker: ~\n"
+
+#. ERSl
+#: contacts.ui
+msgctxt ""
+"contacts.ui\n"
+"label1\n"
+"label\n"
+"string.text"
+msgid "Select a contact to collaborate with"
+msgstr ""
+
+#. L,In
+#: contacts.ui
+msgctxt ""
+"contacts.ui\n"
+"listen\n"
+"label\n"
+"string.text"
+msgid "Listen"
+msgstr ""
+
+#. F71$
+#: contacts.ui
+msgctxt ""
+"contacts.ui\n"
+"invite\n"
+"label\n"
+"string.text"
+msgid "Invite"
+msgstr ""
+
+#. -s2F
+#: contacts.ui
+msgctxt ""
+"contacts.ui\n"
+"demo\n"
+"label\n"
+"string.text"
+msgid "StartDemoSession"
+msgstr ""
+
+#. f-_Z
+#: contacts.ui
+msgctxt ""
+"contacts.ui\n"
+"buddy\n"
+"label\n"
+"string.text"
+msgid "StartBuddySession"
+msgstr ""
+
+#. W)Q-
+#: contacts.ui
+msgctxt ""
+"contacts.ui\n"
+"group\n"
+"label\n"
+"string.text"
+msgid "StartGroupSession"
+msgstr ""