diff options
Diffstat (limited to 'sdext/source')
120 files changed, 2694 insertions, 454 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx index 25a70c92427a..0912d78066b0 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -462,7 +462,7 @@ public: OUString sName (A2S("Presenter Console")); PresenterConfigurationAccess aConfiguration ( rxContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Console/String")) >>= sName; @@ -495,7 +495,7 @@ public: { PresenterConfigurationAccess aConfiguration ( rxContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Preview/String")) >>= sName; @@ -2249,7 +2249,7 @@ rtl::Reference<PresenterAccessible::AccessibleObject> AccessibleNotes::Create ( { PresenterConfigurationAccess aConfiguration ( rxContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Notes/String")) >>= sName; diff --git a/sdext/source/presenter/PresenterBitmapContainer.cxx b/sdext/source/presenter/PresenterBitmapContainer.cxx index 239260275732..4a21ed302e8c 100644 --- a/sdext/source/presenter/PresenterBitmapContainer.cxx +++ b/sdext/source/presenter/PresenterBitmapContainer.cxx @@ -25,6 +25,7 @@ #include "precompiled_sdext.hxx" #include "PresenterBitmapContainer.hxx" +#include "PresenterComponent.hxx" #include "PresenterConfigurationAccess.hxx" #include <com/sun/star/deployment/XPackageInformationProvider.hpp> @@ -68,9 +69,11 @@ PresenterBitmapContainer::PresenterBitmapContainer ( const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer, const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, + const OUString& rsBasePath, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper) : mpParentContainer(rpParentContainer), maIconContainer(), + msBasePath(rsBasePath), mxCanvas(rxCanvas), mxPresenterHelper(rxPresenterHelper) { @@ -79,7 +82,7 @@ PresenterBitmapContainer::PresenterBitmapContainer ( // Get access to the configuration. PresenterConfigurationAccess aConfiguration ( rxComponentContext, - A2S("org.openoffice.Office.PresenterScreen"), + A2S("org.openoffice.Office.extension.PresenterScreen"), PresenterConfigurationAccess::READ_ONLY); Reference<container::XNameAccess> xBitmapList ( aConfiguration.GetConfigurationNode(rsConfigurationBase), @@ -97,9 +100,11 @@ PresenterBitmapContainer::PresenterBitmapContainer ( const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer, const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, + const OUString& rsBasePath, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper) : mpParentContainer(rpParentContainer), maIconContainer(), + msBasePath(rsBasePath), mxCanvas(rxCanvas), mxPresenterHelper(rxPresenterHelper) { @@ -188,6 +193,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( const css::uno::Reference<css::container::XHierarchicalNameAccess>& rxNode, const ::rtl::OUString& rsPath, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper, + const OUString& rsBasePath, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, const SharedBitmapDescriptor& rpDefault) { @@ -204,6 +210,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( pBitmap = LoadBitmap( xBitmapProperties, rxPresenterHelper, + rsBasePath, rxCanvas, rpDefault); } @@ -230,6 +237,7 @@ void PresenterBitmapContainer::ProcessBitmap ( maIconContainer[sName] = LoadBitmap( rxProperties, mxPresenterHelper, + msBasePath, mxCanvas, SharedBitmapDescriptor()); } @@ -240,6 +248,7 @@ void PresenterBitmapContainer::ProcessBitmap ( SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( const Reference<beans::XPropertySet>& rxProperties, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper, + const OUString& rsBasePath, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, const SharedBitmapDescriptor& rpDefault) { @@ -259,7 +268,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( { pBitmap->SetBitmap( BitmapDescriptor::Normal, - rxPresenterHelper->loadBitmap(sFileName, rxCanvas)); + rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas)); } catch (Exception&) {} @@ -268,7 +277,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( { pBitmap->SetBitmap( BitmapDescriptor::MouseOver, - rxPresenterHelper->loadBitmap(sFileName, rxCanvas)); + rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas)); } catch (Exception&) {} @@ -277,7 +286,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( { pBitmap->SetBitmap( BitmapDescriptor::ButtonDown, - rxPresenterHelper->loadBitmap(sFileName, rxCanvas)); + rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas)); } catch (Exception&) {} @@ -286,7 +295,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( { pBitmap->SetBitmap( BitmapDescriptor::Disabled, - rxPresenterHelper->loadBitmap(sFileName, rxCanvas)); + rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas)); } catch (Exception&) {} @@ -295,7 +304,7 @@ SharedBitmapDescriptor PresenterBitmapContainer::LoadBitmap ( { pBitmap->SetBitmap( BitmapDescriptor::Mask, - rxPresenterHelper->loadBitmap(sFileName, rxCanvas)); + rxPresenterHelper->loadBitmap(rsBasePath + sFileName, rxCanvas)); } catch (Exception&) {} diff --git a/sdext/source/presenter/PresenterBitmapContainer.hxx b/sdext/source/presenter/PresenterBitmapContainer.hxx index afc3aa79c50c..e5c1e8ee35f5 100644 --- a/sdext/source/presenter/PresenterBitmapContainer.hxx +++ b/sdext/source/presenter/PresenterBitmapContainer.hxx @@ -103,12 +103,14 @@ public: const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer, const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, + const ::rtl::OUString& rsBasePath, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper = NULL); PresenterBitmapContainer ( const css::uno::Reference<css::container::XNameAccess>& rsRootNode, const ::boost::shared_ptr<PresenterBitmapContainer>& rpParentContainer, const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, + const ::rtl::OUString& rsBasePath, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper = NULL); ~PresenterBitmapContainer (void); @@ -123,6 +125,7 @@ public: const css::uno::Reference<css::container::XHierarchicalNameAccess>& rxNode, const ::rtl::OUString& rsPathToBitmapNode, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper, + const ::rtl::OUString& rsBitmapBasePath, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, const ::boost::shared_ptr<BitmapDescriptor>& rpDefaultBitmap); @@ -130,6 +133,7 @@ private: ::boost::shared_ptr<PresenterBitmapContainer> mpParentContainer; typedef ::std::map<rtl::OUString, ::boost::shared_ptr<BitmapDescriptor> > BitmapContainer; BitmapContainer maIconContainer; + ::rtl::OUString msBasePath; css::uno::Reference<css::rendering::XCanvas> mxCanvas; css::uno::Reference<css::drawing::XPresenterHelper> mxPresenterHelper; @@ -141,6 +145,7 @@ private: static ::boost::shared_ptr<BitmapDescriptor> LoadBitmap ( const css::uno::Reference<css::beans::XPropertySet>& rxProperties, const css::uno::Reference<css::drawing::XPresenterHelper>& rxPresenterHelper, + const ::rtl::OUString& rsBasePath, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, const ::boost::shared_ptr<PresenterBitmapContainer::BitmapDescriptor>& rpDefault); static BitmapDescriptor::TexturingMode diff --git a/sdext/source/presenter/PresenterClock.cxx b/sdext/source/presenter/PresenterClock.cxx index 7e0cfaf90153..eecc80b1e2cc 100644 --- a/sdext/source/presenter/PresenterClock.cxx +++ b/sdext/source/presenter/PresenterClock.cxx @@ -25,6 +25,7 @@ #include "precompiled_sdext.hxx" #include "PresenterClock.hxx" +#include "PresenterComponent.hxx" #include "PresenterConfigurationAccess.hxx" #include "PresenterGeometryHelper.hxx" #include <com/sun/star/awt/InvalidateStyle.hpp> @@ -201,6 +202,7 @@ namespace { void LoadBitmap ( const OUString& rsKey, const ::std::vector<Any>& rValues, + const OUString& rsBitmapPath, const Reference<container::XNameAccess>& rxBitmapLoader); void ScaleBitmaps (void); }; @@ -1034,7 +1036,7 @@ void AnalogBitmapPainter::PrepareBitmaps (const Reference<rendering::XCanvas>& r // Get access to the clock bitmaps in the configuration. PresenterConfigurationAccess aConfiguration ( mxComponentContext, - OUString::createFromAscii("org.openoffice.Office.PresenterScreen"), + OUString::createFromAscii("org.openoffice.Office.extension.PresenterScreen"), PresenterConfigurationAccess::READ_ONLY); Reference<container::XNameAccess> xTheme (GetTheme(aConfiguration)); @@ -1116,6 +1118,17 @@ void AnalogBitmapPainter::LoadBitmaps ( const Reference<rendering::XCanvas>& rxCanvas) { (void)rConfiguration; + + // Get base path to bitmaps. + Reference<deployment::XPackageInformationProvider> xInformationProvider ( + mxComponentContext->getValueByName(OUString::createFromAscii( + "/singletons/com.sun.star.deployment.PackageInformationProvider")), + UNO_QUERY); + OUString sLocation; + if (xInformationProvider.is()) + sLocation = xInformationProvider->getPackageLocation(gsExtensionIdentifier); + sLocation += OUString::createFromAscii("/"); + // Create the bitmap loader. Reference<lang::XMultiComponentFactory> xFactory ( mxComponentContext->getServiceManager(), UNO_QUERY); @@ -1148,6 +1161,7 @@ void AnalogBitmapPainter::LoadBitmaps ( this, _1, _2, + sLocation, xBitmapLoader)); } @@ -1157,6 +1171,7 @@ void AnalogBitmapPainter::LoadBitmaps ( void AnalogBitmapPainter::LoadBitmap ( const OUString& rsKey, const ::std::vector<Any>& rValues, + const OUString& rsBitmapPath, const Reference<container::XNameAccess>& rxBitmapLoader) { if (rValues.size() == 3) @@ -1180,7 +1195,7 @@ void AnalogBitmapPainter::LoadBitmap ( rValues[2] >>= pDescriptor->maOffset.Y; pDescriptor->mxBitmap = Reference<rendering::XBitmap>( - rxBitmapLoader->getByName(sFileName), UNO_QUERY); + rxBitmapLoader->getByName(rsBitmapPath+sFileName), UNO_QUERY); if ( ! pDescriptor->mxBitmap.is()) mbThemeLoadingFailed = true; diff --git a/sdext/source/presenter/PresenterComponent.cxx b/sdext/source/presenter/PresenterComponent.cxx new file mode 100644 index 000000000000..3302ab63f047 --- /dev/null +++ b/sdext/source/presenter/PresenterComponent.cxx @@ -0,0 +1,146 @@ +/************************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + *************************************************************/ + + + +// MARKER(update_precomp.py): autogen include statement, do not remove +#include "precompiled_sdext.hxx" + +#include "PresenterComponent.hxx" +#include "cppuhelper/factory.hxx" +#include "cppuhelper/implementationentry.hxx" +#include <com/sun/star/deployment/DeploymentException.hpp> +#include <com/sun/star/deployment/XPackageInformationProvider.hpp> + +#include "PresenterExtensionIdentifier.hxx" +#include "PresenterProtocolHandler.hxx" +#include "PresenterScreen.hxx" + +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace cppu; +using namespace osl; +using ::rtl::OUString; + + + +namespace sdext { namespace presenter { + +static OUString gsBasePath; + +::rtl::OUString PresenterComponent::GetBasePath ( + const Reference<XComponentContext>& rxComponentContext) +{ + return GetBasePath(rxComponentContext, gsExtensionIdentifier); +} + + + + +::rtl::OUString PresenterComponent::GetBasePath ( + const Reference<XComponentContext>& rxComponentContext, + const OUString& rsExtensionIdentifier) +{ + if (gsBasePath.getLength() == 0) + { + // Determine the base path of the bitmaps. + Reference<deployment::XPackageInformationProvider> xInformationProvider ( + rxComponentContext->getValueByName( + OUString(RTL_CONSTASCII_USTRINGPARAM( + "/singletons/com.sun.star.deployment.PackageInformationProvider"))), + UNO_QUERY); + if (xInformationProvider.is()) + { + try + { + gsBasePath = xInformationProvider->getPackageLocation(rsExtensionIdentifier) + + OUString(RTL_CONSTASCII_USTRINGPARAM("/")); + } + catch(deployment::DeploymentException&) + { + } + } + } + + return gsBasePath; +} + + + +rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT; + +static struct ImplementationEntry gServiceEntries[] = +{ + { + PresenterProtocolHandler::Create, + PresenterProtocolHandler::getImplementationName_static, + PresenterProtocolHandler::getSupportedServiceNames_static, + createSingleComponentFactory, &g_moduleCount.modCnt, 0 + }, + { + PresenterScreenJob::Create, + PresenterScreenJob::getImplementationName_static, + PresenterScreenJob::getSupportedServiceNames_static, + createSingleComponentFactory, 0, 0 + }, + { 0, 0, 0, 0, 0, 0 } +}; + + + + +extern "C" +{ + sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) + { + return g_moduleCount.canUnload( &g_moduleCount , pTime ); + } + + + + + void SAL_CALL component_getImplementationEnvironment( + const sal_Char ** ppEnvTypeName, uno_Environment ** ) + { + *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; + } + + + + + sal_Bool SAL_CALL component_writeInfo( + void * pServiceManager, void * pRegistryKey ) + { + return component_writeInfoHelper(pServiceManager, pRegistryKey, gServiceEntries); + } + + + + + void * SAL_CALL component_getFactory( + const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) + { + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries); + } + +} + +} } // end of namespace sdext::presenter diff --git a/sdext/source/presenter/PresenterComponent.hxx b/sdext/source/presenter/PresenterComponent.hxx new file mode 100644 index 000000000000..059f4ad497b9 --- /dev/null +++ b/sdext/source/presenter/PresenterComponent.hxx @@ -0,0 +1,51 @@ +/************************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + *************************************************************/ + + + +#ifndef SDEXT_PRESENTER_COMPONENT_HXX +#define SDEXT_PRESENTER_COMPONENT_HXX + +#include <com/sun/star/uno/XComponentContext.hpp> + +namespace css = ::com::sun::star; + +namespace sdext { namespace presenter { + +/** This string is replaced automatically by the makefile during the + building of this extension. +*/ +class PresenterComponent +{ +public: + const static ::rtl::OUString gsExtensionIdentifier; + + static ::rtl::OUString GetBasePath ( + const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext); + static ::rtl::OUString GetBasePath ( + const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext, + const ::rtl::OUString& rsExtensionIdentifier); +}; + + +} } + +#endif diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx index 1ee457415acf..eb727f6f2aa8 100644 --- a/sdext/source/presenter/PresenterConfigurationAccess.cxx +++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx @@ -40,7 +40,7 @@ using ::rtl::OUString; namespace sdext { namespace presenter { const ::rtl::OUString PresenterConfigurationAccess::msPresenterScreenRootName = - A2S("/org.openoffice.Office.PresenterScreen/"); + A2S("/org.openoffice.Office.extension.PresenterScreen/"); PresenterConfigurationAccess::PresenterConfigurationAccess ( const Reference<XComponentContext>& rxContext, diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx index d9608ccd8882..fd50f060973a 100644 --- a/sdext/source/presenter/PresenterHelpView.cxx +++ b/sdext/source/presenter/PresenterHelpView.cxx @@ -385,7 +385,7 @@ void PresenterHelpView::ReadHelpStrings (void) mpTextContainer.reset(new TextContainer()); PresenterConfigurationAccess aConfiguration ( mxComponentContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); Reference<container::XNameAccess> xStrings ( aConfiguration.GetConfigurationNode(A2S("PresenterScreenSettings/HelpView/HelpStrings")), diff --git a/sdext/source/presenter/PresenterScreen.component b/sdext/source/presenter/PresenterScreen.component deleted file mode 100644 index ce058818c6fd..000000000000 --- a/sdext/source/presenter/PresenterScreen.component +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!--*********************************************************** - * - * 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 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - ***********************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.comp.Draw.framework.PresenterScreenJob"> - <service name="com.sun.star.drawing.framework.PresenterScreenJob"/> - </implementation> - <implementation name="vnd.sun.star.sdext.presenter.PresenterProtocolHandler"> - <service name="com.sun.star.frame.ProtocolHandler"/> - </implementation> -</component> diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx index ebdd2daf53e9..602ad6436446 100644 --- a/sdext/source/presenter/PresenterScreen.cxx +++ b/sdext/source/presenter/PresenterScreen.cxx @@ -541,7 +541,7 @@ sal_Int32 PresenterScreen::GetScreenNumber ( // is set. PresenterConfigurationAccess aConfiguration ( xContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); bool bStartAlways (false); if (aConfiguration.GetConfigurationNode( @@ -704,7 +704,7 @@ void PresenterScreen::SetupConfiguration ( { PresenterConfigurationAccess aConfiguration ( rxContext, - OUString::createFromAscii("org.openoffice.Office.PresenterScreen"), + OUString::createFromAscii("org.openoffice.Office.extension.PresenterScreen"), PresenterConfigurationAccess::READ_ONLY); maViewDescriptors.clear(); ProcessViewDescriptions(aConfiguration); diff --git a/sdext/source/presenter/PresenterScreen.hrc b/sdext/source/presenter/PresenterScreen.hrc deleted file mode 100644 index e2b53d2544bf..000000000000 --- a/sdext/source/presenter/PresenterScreen.hrc +++ /dev/null @@ -1,113 +0,0 @@ -/************************************************************** - * - * 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 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - *************************************************************/ - -#define SDEXT_PRESENTER_RES_START 255 - -#define BACKGROUND SDEXT_PRESENTER_RES_START + 1 -#define BORDERACTIVEBOTTOM SDEXT_PRESENTER_RES_START + 2 -#define BORDERACTIVEBOTTOMCALLOUT SDEXT_PRESENTER_RES_START + 3 -#define BORDERACTIVEBOTTOMLEFT SDEXT_PRESENTER_RES_START + 4 -#define BORDERACTIVEBOTTOMRIGHT SDEXT_PRESENTER_RES_START + 5 -#define BORDERACTIVELEFT SDEXT_PRESENTER_RES_START + 6 -#define BORDERACTIVERIGHT SDEXT_PRESENTER_RES_START + 7 -#define BORDERACTIVETOP SDEXT_PRESENTER_RES_START + 8 -#define BORDERACTIVETOPLEFT SDEXT_PRESENTER_RES_START + 9 -#define BORDERACTIVETOPRIGHT SDEXT_PRESENTER_RES_START + 10 -#define BORDERBOTTOM SDEXT_PRESENTER_RES_START + 11 -#define BORDERBOTTOMLEFT SDEXT_PRESENTER_RES_START + 12 -#define BORDERBOTTOMRIGHT SDEXT_PRESENTER_RES_START + 13 -#define BORDERCURRENTSLIDEBOTTOM SDEXT_PRESENTER_RES_START + 14 -#define BORDERCURRENTSLIDEBOTTOMLEFT SDEXT_PRESENTER_RES_START + 15 -#define BORDERCURRENTSLIDEBOTTOMRIGHT SDEXT_PRESENTER_RES_START + 16 -#define BORDERCURRENTSLIDELEFT SDEXT_PRESENTER_RES_START + 17 -#define BORDERCURRENTSLIDERIGHT SDEXT_PRESENTER_RES_START + 18 -#define BORDERCURRENTSLIDETOP SDEXT_PRESENTER_RES_START + 19 -#define BORDERCURRENTSLIDETOPLEFT SDEXT_PRESENTER_RES_START + 20 -#define BORDERCURRENTSLIDETOPRIGHT SDEXT_PRESENTER_RES_START + 21 -#define BORDERLEFT SDEXT_PRESENTER_RES_START + 22 -#define BORDERRIGHT SDEXT_PRESENTER_RES_START + 23 -#define BORDERTOOLBARBOTTOM SDEXT_PRESENTER_RES_START + 24 -#define BORDERTOOLBARLEFT SDEXT_PRESENTER_RES_START + 25 -#define BORDERTOOLBARRIGHT SDEXT_PRESENTER_RES_START + 26 -#define BORDERTOOLBARTOP SDEXT_PRESENTER_RES_START + 27 -#define BORDERTOOLBARTOPLEFT SDEXT_PRESENTER_RES_START + 28 -#define BORDERTOOLBARTOPRIGHT SDEXT_PRESENTER_RES_START + 29 -#define BORDERTOP SDEXT_PRESENTER_RES_START + 30 -#define BORDERTOPLEFT SDEXT_PRESENTER_RES_START + 31 -#define BORDERTOPRIGHT SDEXT_PRESENTER_RES_START + 32 -#define BUTTONEFFECTNEXTDISABLED SDEXT_PRESENTER_RES_START + 33 -#define BUTTONEFFECTNEXTMOUSEOVER SDEXT_PRESENTER_RES_START + 34 -#define BUTTONEFFECTNEXTNORMAL SDEXT_PRESENTER_RES_START + 35 -#define BUTTONEFFECTNEXTSELECTED SDEXT_PRESENTER_RES_START + 36 -#define BUTTONFRAMECENTERMOUSEOVER SDEXT_PRESENTER_RES_START + 37 -#define BUTTONFRAMECENTERNORMAL SDEXT_PRESENTER_RES_START + 38 -#define BUTTONFRAMELEFTMOUSEOVER SDEXT_PRESENTER_RES_START + 39 -#define BUTTONFRAMELEFTNORMAL SDEXT_PRESENTER_RES_START + 40 -#define BUTTONFRAMERIGHTMOUSEOVER SDEXT_PRESENTER_RES_START + 41 -#define BUTTONFRAMERIGHTNORMAL SDEXT_PRESENTER_RES_START + 42 -#define BUTTONHELPDISABLED SDEXT_PRESENTER_RES_START + 43 -#define BUTTONHELPMOUSEOVER SDEXT_PRESENTER_RES_START + 44 -#define BUTTONHELPNORMAL SDEXT_PRESENTER_RES_START + 45 -#define BUTTONHELPSELECTED SDEXT_PRESENTER_RES_START + 46 -#define BUTTONMINUSDISABLED SDEXT_PRESENTER_RES_START + 47 -#define BUTTONMINUSMOUSEOVER SDEXT_PRESENTER_RES_START + 48 -#define BUTTONMINUSNORMAL SDEXT_PRESENTER_RES_START + 49 -#define BUTTONMINUSSELECTED SDEXT_PRESENTER_RES_START + 50 -#define BUTTONNOTESDISABLED SDEXT_PRESENTER_RES_START + 51 -#define BUTTONNOTESMOUSEOVER SDEXT_PRESENTER_RES_START + 52 -#define BUTTONNOTESNORMAL SDEXT_PRESENTER_RES_START + 53 -#define BUTTONNOTESSELECTED SDEXT_PRESENTER_RES_START + 54 -#define BUTTONPLUSDISABLED SDEXT_PRESENTER_RES_START + 55 -#define BUTTONPLUSMOUSEOVER SDEXT_PRESENTER_RES_START + 56 -#define BUTTONPLUSNORMAL SDEXT_PRESENTER_RES_START + 57 -#define BUTTONPLUSSELECTED SDEXT_PRESENTER_RES_START + 58 -#define BUTTONSLIDENEXTDISABLED SDEXT_PRESENTER_RES_START + 59 -#define BUTTONSLIDENEXTMOUSEOVER SDEXT_PRESENTER_RES_START + 60 -#define BUTTONSLIDENEXTNORMAL SDEXT_PRESENTER_RES_START + 61 -#define BUTTONSLIDEPREVIOUSDISABLED SDEXT_PRESENTER_RES_START + 62 -#define BUTTONSLIDEPREVIOUSMOUSEOVER SDEXT_PRESENTER_RES_START + 63 -#define BUTTONSLIDEPREVIOUSNORMAL SDEXT_PRESENTER_RES_START + 64 -#define BUTTONSLIDEPREVIOUSSELECTED SDEXT_PRESENTER_RES_START + 65 -#define BUTTONSLIDESORTERDISABLED SDEXT_PRESENTER_RES_START + 66 -#define BUTTONSLIDESORTERMOUSEOVER SDEXT_PRESENTER_RES_START + 67 -#define BUTTONSLIDESORTERNORMAL SDEXT_PRESENTER_RES_START + 68 -#define BUTTONSLIDESORTERSELECTED SDEXT_PRESENTER_RES_START + 69 -#define LABELMOUSEOVERCENTER SDEXT_PRESENTER_RES_START + 70 -#define LABELMOUSEOVERLEFT SDEXT_PRESENTER_RES_START + 71 -#define LABELMOUSEOVERRIGHT SDEXT_PRESENTER_RES_START + 72 -#define SCROLLBARARROWDOWNDISABLED SDEXT_PRESENTER_RES_START + 73 -#define SCROLLBARARROWDOWNMOUSEOVER SDEXT_PRESENTER_RES_START + 74 -#define SCROLLBARARROWDOWNNORMAL SDEXT_PRESENTER_RES_START + 75 -#define SCROLLBARARROWDOWNSELECTED SDEXT_PRESENTER_RES_START + 76 -#define SCROLLBARARROWUPDISABLED SDEXT_PRESENTER_RES_START + 77 -#define SCROLLBARARROWUPMOUSEOVER SDEXT_PRESENTER_RES_START + 78 -#define SCROLLBARARROWUPNORMAL SDEXT_PRESENTER_RES_START + 79 -#define SCROLLBARARROWUPSELECTED SDEXT_PRESENTER_RES_START + 80 -#define SCROLLBARPAGERMIDDLEMOUSEOVER SDEXT_PRESENTER_RES_START + 81 -#define SCROLLBARPAGERMIDDLENORMAL SDEXT_PRESENTER_RES_START + 82 -#define SCROLLBARTHUMBBOTTOMMOUSEOVER SDEXT_PRESENTER_RES_START + 83 -#define SCROLLBARTHUMBBOTTOMNORMAL SDEXT_PRESENTER_RES_START + 84 -#define SCROLLBARTHUMBMIDDLEMOUSEOVER SDEXT_PRESENTER_RES_START + 85 -#define SCROLLBARTHUMBMIDDLENORMAL SDEXT_PRESENTER_RES_START + 86 -#define SCROLLBARTHUMBTOPMOUSEOVER SDEXT_PRESENTER_RES_START + 87 -#define SCROLLBARTHUMBTOPNORMAL SDEXT_PRESENTER_RES_START + 88 -#define VIEWBACKGROUND SDEXT_PRESENTER_RES_START + 89 - diff --git a/sdext/source/presenter/PresenterScreen.src b/sdext/source/presenter/PresenterScreen.src deleted file mode 100644 index f5129bf0a7f2..000000000000 --- a/sdext/source/presenter/PresenterScreen.src +++ /dev/null @@ -1,113 +0,0 @@ -/************************************************************** - * - * 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 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - *************************************************************/ - -#include "PresenterScreen.hrc" - -Bitmap BACKGROUND{ File = "presenter/Background.png"; }; -Bitmap BORDERACTIVEBOTTOM{ File = "presenter/BorderActiveBottom.png"; }; -Bitmap BORDERACTIVEBOTTOMCALLOUT{ File = "presenter/BorderActiveBottomCallout.png"; }; -Bitmap BORDERACTIVEBOTTOMLEFT{ File = "presenter/BorderActiveBottomLeft.png"; }; -Bitmap BORDERACTIVEBOTTOMRIGHT{ File = "presenter/BorderActiveBottomRight.png"; }; -Bitmap BORDERACTIVELEFT{ File = "presenter/BorderActiveLeft.png"; }; -Bitmap BORDERACTIVERIGHT{ File = "presenter/BorderActiveRight.png"; }; -Bitmap BORDERACTIVETOP{ File = "presenter/BorderActiveTop.png"; }; -Bitmap BORDERACTIVETOPLEFT{ File = "presenter/BorderActiveTopLeft.png"; }; -Bitmap BORDERACTIVETOPRIGHT{ File = "presenter/BorderActiveTopRight.png"; }; -Bitmap BORDERBOTTOM{ File = "presenter/BorderBottom.png"; }; -Bitmap BORDERBOTTOMLEFT{ File = "presenter/BorderBottomLeft.png"; }; -Bitmap BORDERBOTTOMRIGHT{ File = "presenter/BorderBottomRight.png"; }; -Bitmap BORDERCURRENTSLIDEBOTTOM{ File = "presenter/BorderCurrentSlideBottom.png"; }; -Bitmap BORDERCURRENTSLIDEBOTTOMLEFT{ File = "presenter/BorderCurrentSlideBottomLeft.png"; }; -Bitmap BORDERCURRENTSLIDEBOTTOMRIGHT{ File = "presenter/BorderCurrentSlideBottomRight.png"; }; -Bitmap BORDERCURRENTSLIDELEFT{ File = "presenter/BorderCurrentSlideLeft.png"; }; -Bitmap BORDERCURRENTSLIDERIGHT{ File = "presenter/BorderCurrentSlideRight.png"; }; -Bitmap BORDERCURRENTSLIDETOP{ File = "presenter/BorderCurrentSlideTop.png"; }; -Bitmap BORDERCURRENTSLIDETOPLEFT{ File = "presenter/BorderCurrentSlideTopLeft.png"; }; -Bitmap BORDERCURRENTSLIDETOPRIGHT{ File = "presenter/BorderCurrentSlideTopRight.png"; }; -Bitmap BORDERLEFT{ File = "presenter/BorderLeft.png"; }; -Bitmap BORDERRIGHT{ File = "presenter/BorderRight.png"; }; -Bitmap BORDERTOOLBARBOTTOM{ File = "presenter/BorderToolbarBottom.png"; }; -Bitmap BORDERTOOLBARLEFT{ File = "presenter/BorderToolbarLeft.png"; }; -Bitmap BORDERTOOLBARRIGHT{ File = "presenter/BorderToolbarRight.png"; }; -Bitmap BORDERTOOLBARTOP{ File = "presenter/BorderToolbarTop.png"; }; -Bitmap BORDERTOOLBARTOPLEFT{ File = "presenter/BorderToolbarTopLeft.png"; }; -Bitmap BORDERTOOLBARTOPRIGHT{ File = "presenter/BorderToolbarTopRight.png"; }; -Bitmap BORDERTOP{ File = "presenter/BorderTop.png"; }; -Bitmap BORDERTOPLEFT{ File = "presenter/BorderTopLeft.png"; }; -Bitmap BORDERTOPRIGHT{ File = "presenter/BorderTopRight.png"; }; -Bitmap BUTTONEFFECTNEXTDISABLED{ File = "presenter/ButtonEffectNextDisabled.png"; }; -Bitmap BUTTONEFFECTNEXTMOUSEOVER{ File = "presenter/ButtonEffectNextMouseOver.png"; }; -Bitmap BUTTONEFFECTNEXTNORMAL{ File = "presenter/ButtonEffectNextNormal.png"; }; -Bitmap BUTTONEFFECTNEXTSELECTED{ File = "presenter/ButtonEffectNextSelected.png"; }; -Bitmap BUTTONFRAMECENTERMOUSEOVER{ File = "presenter/ButtonFrameCenterMouseOver.png"; }; -Bitmap BUTTONFRAMECENTERNORMAL{ File = "presenter/ButtonFrameCenterNormal.png"; }; -Bitmap BUTTONFRAMELEFTMOUSEOVER{ File = "presenter/ButtonFrameLeftMouseOver.png"; }; -Bitmap BUTTONFRAMELEFTNORMAL{ File = "presenter/ButtonFrameLeftNormal.png"; }; -Bitmap BUTTONFRAMERIGHTMOUSEOVER{ File = "presenter/ButtonFrameRightMouseOver.png"; }; -Bitmap BUTTONFRAMERIGHTNORMAL{ File = "presenter/ButtonFrameRightNormal.png"; }; -Bitmap BUTTONHELPDISABLED{ File = "presenter/ButtonHelpDisabled.png"; }; -Bitmap BUTTONHELPMOUSEOVER{ File = "presenter/ButtonHelpMouseOver.png"; }; -Bitmap BUTTONHELPNORMAL{ File = "presenter/ButtonHelpNormal.png"; }; -Bitmap BUTTONHELPSELECTED{ File = "presenter/ButtonHelpSelected.png"; }; -Bitmap BUTTONMINUSDISABLED{ File = "presenter/ButtonMinusDisabled.png"; }; -Bitmap BUTTONMINUSMOUSEOVER{ File = "presenter/ButtonMinusMouseOver.png"; }; -Bitmap BUTTONMINUSNORMAL{ File = "presenter/ButtonMinusNormal.png"; }; -Bitmap BUTTONMINUSSELECTED{ File = "presenter/ButtonMinusSelected.png"; }; -Bitmap BUTTONNOTESDISABLED{ File = "presenter/ButtonNotesDisabled.png"; }; -Bitmap BUTTONNOTESMOUSEOVER{ File = "presenter/ButtonNotesMouseOver.png"; }; -Bitmap BUTTONNOTESNORMAL{ File = "presenter/ButtonNotesNormal.png"; }; -Bitmap BUTTONNOTESSELECTED{ File = "presenter/ButtonNotesSelected.png"; }; -Bitmap BUTTONPLUSDISABLED{ File = "presenter/ButtonPlusDisabled.png"; }; -Bitmap BUTTONPLUSMOUSEOVER{ File = "presenter/ButtonPlusMouseOver.png"; }; -Bitmap BUTTONPLUSNORMAL{ File = "presenter/ButtonPlusNormal.png"; }; -Bitmap BUTTONPLUSSELECTED{ File = "presenter/ButtonPlusSelected.png"; }; -Bitmap BUTTONSLIDENEXTDISABLED{ File = "presenter/ButtonSlideNextDisabled.png"; }; -Bitmap BUTTONSLIDENEXTMOUSEOVER{ File = "presenter/ButtonSlideNextMouseOver.png"; }; -Bitmap BUTTONSLIDENEXTNORMAL{ File = "presenter/ButtonSlideNextNormal.png"; }; -Bitmap BUTTONSLIDEPREVIOUSDISABLED{ File = "presenter/ButtonSlidePreviousDisabled.png"; }; -Bitmap BUTTONSLIDEPREVIOUSMOUSEOVER{ File = "presenter/ButtonSlidePreviousMouseOver.png"; }; -Bitmap BUTTONSLIDEPREVIOUSNORMAL{ File = "presenter/ButtonSlidePreviousNormal.png"; }; -Bitmap BUTTONSLIDEPREVIOUSSELECTED{ File = "presenter/ButtonSlidePreviousSelected.png"; }; -Bitmap BUTTONSLIDESORTERDISABLED{ File = "presenter/ButtonSlideSorterDisabled.png"; }; -Bitmap BUTTONSLIDESORTERMOUSEOVER{ File = "presenter/ButtonSlideSorterMouseOver.png"; }; -Bitmap BUTTONSLIDESORTERNORMAL{ File = "presenter/ButtonSlideSorterNormal.png"; }; -Bitmap BUTTONSLIDESORTERSELECTED{ File = "presenter/ButtonSlideSorterSelected.png"; }; -Bitmap LABELMOUSEOVERCENTER{ File = "presenter/LabelMouseOverCenter.png"; }; -Bitmap LABELMOUSEOVERLEFT{ File = "presenter/LabelMouseOverLeft.png"; }; -Bitmap LABELMOUSEOVERRIGHT{ File = "presenter/LabelMouseOverRight.png"; }; -Bitmap SCROLLBARARROWDOWNDISABLED{ File = "presenter/ScrollbarArrowDownDisabled.png"; }; -Bitmap SCROLLBARARROWDOWNMOUSEOVER{ File = "presenter/ScrollbarArrowDownMouseOver.png"; }; -Bitmap SCROLLBARARROWDOWNNORMAL{ File = "presenter/ScrollbarArrowDownNormal.png"; }; -Bitmap SCROLLBARARROWDOWNSELECTED{ File = "presenter/ScrollbarArrowDownSelected.png"; }; -Bitmap SCROLLBARARROWUPDISABLED{ File = "presenter/ScrollbarArrowUpDisabled.png"; }; -Bitmap SCROLLBARARROWUPMOUSEOVER{ File = "presenter/ScrollbarArrowUpMouseOver.png"; }; -Bitmap SCROLLBARARROWUPNORMAL{ File = "presenter/ScrollbarArrowUpNormal.png"; }; -Bitmap SCROLLBARARROWUPSELECTED{ File = "presenter/ScrollbarArrowUpSelected.png"; }; -Bitmap SCROLLBARPAGERMIDDLEMOUSEOVER{ File = "presenter/ScrollbarPagerMiddleMouseOver.png"; }; -Bitmap SCROLLBARPAGERMIDDLENORMAL{ File = "presenter/ScrollbarPagerMiddleNormal.png"; }; -Bitmap SCROLLBARTHUMBBOTTOMMOUSEOVER{ File = "presenter/ScrollbarThumbBottomMouseOver.png"; }; -Bitmap SCROLLBARTHUMBBOTTOMNORMAL{ File = "presenter/ScrollbarThumbBottomNormal.png"; }; -Bitmap SCROLLBARTHUMBMIDDLEMOUSEOVER{ File = "presenter/ScrollbarThumbMiddleMouseOver.png"; }; -Bitmap SCROLLBARTHUMBMIDDLENORMAL{ File = "presenter/ScrollbarThumbMiddleNormal.png"; }; -Bitmap SCROLLBARTHUMBTOPMOUSEOVER{ File = "presenter/ScrollbarThumbTopMouseOver.png"; }; -Bitmap SCROLLBARTHUMBTOPNORMAL{ File = "presenter/ScrollbarThumbTopNormal.png"; }; -Bitmap VIEWBACKGROUND{ File = "presenter/ViewBackground.png"; }; - diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx index 384b02a2e1df..b84999a6c606 100644 --- a/sdext/source/presenter/PresenterScrollBar.cxx +++ b/sdext/source/presenter/PresenterScrollBar.cxx @@ -27,6 +27,7 @@ #include "PresenterScrollBar.hxx" #include "PresenterBitmapContainer.hxx" #include "PresenterCanvasHelper.hxx" +#include "PresenterComponent.hxx" #include "PresenterGeometryHelper.hxx" #include "PresenterPaintManager.hxx" #include "PresenterTimer.hxx" @@ -328,7 +329,8 @@ void PresenterScrollBar::SetCanvas (const Reference<css::rendering::XCanvas>& rx OUString::createFromAscii("PresenterScreenSettings/ScrollBar/Bitmaps"), ::boost::shared_ptr<PresenterBitmapContainer>(), mxComponentContext, - mxCanvas)); + mxCanvas, + PresenterComponent::GetBasePath(mxComponentContext))); mpSharedBitmaps = mpBitmaps; } catch(Exception&) diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index a38ce06f3271..50ac8c9eb2db 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -27,6 +27,7 @@ #include "PresenterSlideSorter.hxx" #include "PresenterButton.hxx" #include "PresenterCanvasHelper.hxx" +#include "PresenterComponent.hxx" #include "PresenterGeometryHelper.hxx" #include "PresenterHelper.hxx" #include "PresenterPaintManager.hxx" @@ -2060,7 +2061,7 @@ PresenterSlideSorter::CurrentSlideFrameRenderer::CurrentSlideFrameRenderer ( { PresenterConfigurationAccess aConfiguration ( rxContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); Reference<container::XHierarchicalNameAccess> xBitmaps ( aConfiguration.GetConfigurationNode( @@ -2073,7 +2074,8 @@ PresenterSlideSorter::CurrentSlideFrameRenderer::CurrentSlideFrameRenderer ( A2S("PresenterScreenSettings/SlideSorter/CurrentSlideBorderBitmaps"), ::boost::shared_ptr<PresenterBitmapContainer>(), rxContext, - rxCanvas); + rxCanvas, + PresenterComponent::GetBasePath(rxContext)); mpTopLeft = aContainer.GetBitmap(A2S("TopLeft")); mpTop = aContainer.GetBitmap(A2S("Top")); diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index 72656ec1e887..bdeb56c4fb14 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -27,6 +27,7 @@ #include "PresenterTheme.hxx" #include "PresenterBitmapContainer.hxx" #include "PresenterCanvasHelper.hxx" +#include "PresenterComponent.hxx" #include "PresenterConfigurationAccess.hxx" #include "PresenterHelper.hxx" #include <com/sun/star/awt/Point.hpp> @@ -101,6 +102,7 @@ public: Reference<XComponentContext> mxComponentContext; Reference<rendering::XCanvas> mxCanvas; Reference<drawing::XPresenterHelper> mxPresenterHelper; + OUString msBasePath; ReadContext ( const Reference<XComponentContext>& rxContext, @@ -126,6 +128,8 @@ public: BorderSize ReadBorderSize (const Reference<container::XNameAccess>& rxNode); + void SetBitmapSourceExtension (const OUString& rsExtensionName); + private: Any GetByName ( const Reference<container::XNameAccess>& rxNode, @@ -332,7 +336,7 @@ void SAL_CALL PresenterTheme::disposing (void) PresenterConfigurationAccess aConfiguration ( mxContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); return aReadContext.ReadTheme(aConfiguration, msThemeName); @@ -442,7 +446,7 @@ bool PresenterTheme::ConvertToColor ( ::boost::shared_ptr<PresenterConfigurationAccess> pConfiguration ( new PresenterConfigurationAccess( mxContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_WRITE)); // Get configuration node for the view style container of the current @@ -745,11 +749,26 @@ void PresenterTheme::Theme::Read ( mpParentTheme = rReadContext.ReadTheme(rConfiguration, sParentThemeName); } + // Read the extension that contains the bitmaps referenced in this + // theme. + OUString sBitmapSourceExtension; + if ((PresenterConfigurationAccess::GetConfigurationNode( + mxThemeRoot, A2S("BitmapSourceExtension")) >>= sBitmapSourceExtension) + && sBitmapSourceExtension.getLength()>0) + { + rReadContext.SetBitmapSourceExtension(sBitmapSourceExtension); + } + else + { + rReadContext.SetBitmapSourceExtension(PresenterComponent::gsExtensionIdentifier); + } + // Background. mpBackground = PresenterBitmapContainer::LoadBitmap( mxThemeRoot, A2S("Background"), rReadContext.mxPresenterHelper, + rReadContext.msBasePath, rReadContext.mxCanvas, SharedBitmapDescriptor()); @@ -772,7 +791,8 @@ void PresenterTheme::Theme::Read ( ? mpParentTheme->mpIconContainer : ::boost::shared_ptr<PresenterBitmapContainer>(), rReadContext.mxComponentContext, - rReadContext.mxCanvas)); + rReadContext.mxCanvas, + rReadContext.msBasePath)); // Read fonts. Reference<container::XNameAccess> xFontNode( @@ -836,7 +856,8 @@ ReadContext::ReadContext ( const Reference<rendering::XCanvas>& rxCanvas) : mxComponentContext(rxContext), mxCanvas(rxCanvas), - mxPresenterHelper() + mxPresenterHelper(), + msBasePath() { Reference<lang::XMultiComponentFactory> xFactory (rxContext->getServiceManager()); if (xFactory.is()) @@ -847,6 +868,9 @@ ReadContext::ReadContext ( rxContext), UNO_QUERY_THROW); } + + // Get base path to bitmaps. + SetBitmapSourceExtension(PresenterComponent::gsExtensionIdentifier); } @@ -997,6 +1021,17 @@ BorderSize ReadContext::ReadBorderSize (const Reference<container::XNameAccess>& } + + +void ReadContext::SetBitmapSourceExtension (const OUString& rsExtensionIdentifier) +{ + // Get base path to bitmaps. + msBasePath = PresenterComponent::GetBasePath(mxComponentContext, rsExtensionIdentifier); +} + + + + //===== PaneStyleContainer ==================================================== void PaneStyleContainer::Read ( @@ -1081,6 +1116,7 @@ void PaneStyleContainer::ProcessPaneStyle( : ::boost::shared_ptr<PresenterBitmapContainer>(), rReadContext.mxComponentContext, rReadContext.mxCanvas, + rReadContext.msBasePath, rReadContext.mxPresenterHelper)); } @@ -1239,6 +1275,7 @@ void ViewStyleContainer::ProcessViewStyle( xBackgroundNode, OUString(), rReadContext.mxPresenterHelper, + rReadContext.msBasePath, rReadContext.mxCanvas, SharedBitmapDescriptor())); if (pBackground.get() != NULL && pBackground->GetNormalBitmap().is()) diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 2fdae656af55..2b34e27228b1 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -28,6 +28,7 @@ #include "PresenterBitmapContainer.hxx" #include "PresenterCanvasHelper.hxx" +#include "PresenterComponent.hxx" #include "PresenterGeometryHelper.hxx" #include "PresenterPaintManager.hxx" #include "PresenterPaneBase.hxx" @@ -126,6 +127,7 @@ class PresenterToolBar::Context : private ::boost::noncopyable { public: + ::rtl::OUString msBasePath; Reference<drawing::XPresenterHelper> mxPresenterHelper; css::uno::Reference<css::rendering::XCanvas> mxCanvas; }; @@ -771,9 +773,11 @@ void PresenterToolBar::CreateControls ( // Expand the macro in the bitmap file names. PresenterConfigurationAccess aConfiguration ( mxComponentContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); + const OUString sBasePath (PresenterComponent::GetBasePath(mxComponentContext)); + mpCurrentContainerPart.reset(new ElementContainerPart()); maElementContainer.clear(); maElementContainer.push_back(mpCurrentContainerPart); @@ -787,6 +791,7 @@ void PresenterToolBar::CreateControls ( PresenterConfigurationAccess::GetConfigurationNode(xToolBarNode, A2S("Entries")), UNO_QUERY); Context aContext; + aContext.msBasePath = sBasePath; aContext.mxPresenterHelper = mpPresenterController->GetPresenterHelper(); aContext.mxCanvas = mxCanvas; if (xEntries.is() @@ -1663,6 +1668,7 @@ void ElementMode::ReadElementMode ( xIconNode, A2S(""), rContext.mxPresenterHelper, + rContext.msBasePath, rContext.mxCanvas, rpDefaultMode.get()!=NULL ? rpDefaultMode->mpIcon : SharedBitmapDescriptor()); } diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 8332a3d9d137..00dfbcf45666 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -749,7 +749,7 @@ void PresenterWindowManager::RestoreViewMode (void) sal_Int32 nMode (0); PresenterConfigurationAccess aConfiguration ( mxComponentContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_ONLY); aConfiguration.GetConfigurationNode(A2S("Presenter/InitialViewMode")) >>= nMode; switch (nMode) @@ -778,7 +778,7 @@ void PresenterWindowManager::StoreViewMode (const ViewMode eViewMode) { PresenterConfigurationAccess aConfiguration ( mxComponentContext, - OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"), + OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"), PresenterConfigurationAccess::READ_WRITE); aConfiguration.GoToChild(A2S("Presenter")); Any aValue; diff --git a/sdext/source/presenter/bitmaps/Background.png b/sdext/source/presenter/bitmaps/Background.png Binary files differnew file mode 100644 index 000000000000..7b32e4ab974b --- /dev/null +++ b/sdext/source/presenter/bitmaps/Background.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottom.png b/sdext/source/presenter/bitmaps/BorderActiveBottom.png Binary files differnew file mode 100644 index 000000000000..8314c9efd092 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveBottom.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png b/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png Binary files differnew file mode 100644 index 000000000000..b7c33223a33c --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveBottomCallout.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png b/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png Binary files differnew file mode 100644 index 000000000000..8d573e864942 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveBottomLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png b/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png Binary files differnew file mode 100644 index 000000000000..35ef8e9213db --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveBottomRight.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveLeft.png b/sdext/source/presenter/bitmaps/BorderActiveLeft.png Binary files differnew file mode 100644 index 000000000000..57d4a3dbbcd3 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveRight.png b/sdext/source/presenter/bitmaps/BorderActiveRight.png Binary files differnew file mode 100644 index 000000000000..9a9857190b9d --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveRight.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveTop.png b/sdext/source/presenter/bitmaps/BorderActiveTop.png Binary files differnew file mode 100644 index 000000000000..e0bea9d55448 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveTop.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png b/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png Binary files differnew file mode 100644 index 000000000000..62d63271fe21 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveTopLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderActiveTopRight.png b/sdext/source/presenter/bitmaps/BorderActiveTopRight.png Binary files differnew file mode 100644 index 000000000000..450c8e0cc5e7 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderActiveTopRight.png diff --git a/sdext/source/presenter/bitmaps/BorderBottom.png b/sdext/source/presenter/bitmaps/BorderBottom.png Binary files differnew file mode 100644 index 000000000000..7ad2fd6c2a03 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderBottom.png diff --git a/sdext/source/presenter/bitmaps/BorderBottomLeft.png b/sdext/source/presenter/bitmaps/BorderBottomLeft.png Binary files differnew file mode 100644 index 000000000000..019de149b3af --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderBottomLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderBottomRight.png b/sdext/source/presenter/bitmaps/BorderBottomRight.png Binary files differnew file mode 100644 index 000000000000..82de5791c1cd --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderBottomRight.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png Binary files differnew file mode 100644 index 000000000000..7000bc22f6c4 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideBottom.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png Binary files differnew file mode 100644 index 000000000000..7571c8d94b1f --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png Binary files differnew file mode 100644 index 000000000000..c0af63ff58b8 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideBottomRight.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png Binary files differnew file mode 100644 index 000000000000..7000bc22f6c4 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png Binary files differnew file mode 100644 index 000000000000..7000bc22f6c4 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideRight.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png Binary files differnew file mode 100644 index 000000000000..7000bc22f6c4 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideTop.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png Binary files differnew file mode 100644 index 000000000000..fdfabd42ae9f --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideTopLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png b/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png Binary files differnew file mode 100644 index 000000000000..5b4b642e9f34 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderCurrentSlideTopRight.png diff --git a/sdext/source/presenter/bitmaps/BorderLeft.png b/sdext/source/presenter/bitmaps/BorderLeft.png Binary files differnew file mode 100644 index 000000000000..cbdb267b8789 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderRight.png b/sdext/source/presenter/bitmaps/BorderRight.png Binary files differnew file mode 100644 index 000000000000..333073328ddd --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderRight.png diff --git a/sdext/source/presenter/bitmaps/BorderToolbarBottom.png b/sdext/source/presenter/bitmaps/BorderToolbarBottom.png Binary files differnew file mode 100644 index 000000000000..23a3bc3595aa --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderToolbarBottom.png diff --git a/sdext/source/presenter/bitmaps/BorderToolbarLeft.png b/sdext/source/presenter/bitmaps/BorderToolbarLeft.png Binary files differnew file mode 100644 index 000000000000..839ab5091a8e --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderToolbarLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderToolbarRight.png b/sdext/source/presenter/bitmaps/BorderToolbarRight.png Binary files differnew file mode 100644 index 000000000000..e5c4b9d25a16 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderToolbarRight.png diff --git a/sdext/source/presenter/bitmaps/BorderToolbarTop.png b/sdext/source/presenter/bitmaps/BorderToolbarTop.png Binary files differnew file mode 100644 index 000000000000..c45b97c434cd --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderToolbarTop.png diff --git a/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png b/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png Binary files differnew file mode 100644 index 000000000000..978e98a9bbc4 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderToolbarTopLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png b/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png Binary files differnew file mode 100644 index 000000000000..7dc3d98860ea --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderToolbarTopRight.png diff --git a/sdext/source/presenter/bitmaps/BorderTop.png b/sdext/source/presenter/bitmaps/BorderTop.png Binary files differnew file mode 100644 index 000000000000..dee68e828147 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderTop.png diff --git a/sdext/source/presenter/bitmaps/BorderTopLeft.png b/sdext/source/presenter/bitmaps/BorderTopLeft.png Binary files differnew file mode 100644 index 000000000000..bbec4e42be42 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderTopLeft.png diff --git a/sdext/source/presenter/bitmaps/BorderTopRight.png b/sdext/source/presenter/bitmaps/BorderTopRight.png Binary files differnew file mode 100644 index 000000000000..3416b16c9e91 --- /dev/null +++ b/sdext/source/presenter/bitmaps/BorderTopRight.png diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png b/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png Binary files differnew file mode 100644 index 000000000000..5417cf72c928 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonEffectNextDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png b/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png Binary files differnew file mode 100644 index 000000000000..96805e392176 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonEffectNextMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png b/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png Binary files differnew file mode 100644 index 000000000000..6dbd732e0977 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonEffectNextNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png b/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png Binary files differnew file mode 100644 index 000000000000..eb6e6d45bb23 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonEffectNextSelected.png diff --git a/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png b/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png Binary files differnew file mode 100644 index 000000000000..b97799f1f314 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonFrameCenterMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png b/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png Binary files differnew file mode 100644 index 000000000000..4cf7218f3b52 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonFrameCenterNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png b/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png Binary files differnew file mode 100644 index 000000000000..1f2ab6a00cab --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonFrameLeftMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png b/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png Binary files differnew file mode 100644 index 000000000000..0e92cb37d7d8 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonFrameLeftNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png b/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png Binary files differnew file mode 100644 index 000000000000..0f49ad4f7e61 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonFrameRightMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png b/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png Binary files differnew file mode 100644 index 000000000000..4ca69670e513 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonFrameRightNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png b/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png Binary files differnew file mode 100644 index 000000000000..12f4903b6cf8 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonHelpDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png b/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png Binary files differnew file mode 100644 index 000000000000..7bddef561f11 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonHelpMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonHelpNormal.png b/sdext/source/presenter/bitmaps/ButtonHelpNormal.png Binary files differnew file mode 100644 index 000000000000..99c693215ba9 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonHelpNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonHelpSelected.png b/sdext/source/presenter/bitmaps/ButtonHelpSelected.png Binary files differnew file mode 100644 index 000000000000..f162db27650e --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonHelpSelected.png diff --git a/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png b/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png Binary files differnew file mode 100644 index 000000000000..ff61106eb7ec --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonMinusDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png b/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png Binary files differnew file mode 100644 index 000000000000..787249912b9c --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonMinusMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonMinusNormal.png b/sdext/source/presenter/bitmaps/ButtonMinusNormal.png Binary files differnew file mode 100644 index 000000000000..e2d993384fef --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonMinusNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonMinusSelected.png b/sdext/source/presenter/bitmaps/ButtonMinusSelected.png Binary files differnew file mode 100644 index 000000000000..5d15de3b916f --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonMinusSelected.png diff --git a/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png b/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png Binary files differnew file mode 100644 index 000000000000..09e31d26c649 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonNotesDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png b/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png Binary files differnew file mode 100644 index 000000000000..099d6bf0f2b1 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonNotesMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonNotesNormal.png b/sdext/source/presenter/bitmaps/ButtonNotesNormal.png Binary files differnew file mode 100644 index 000000000000..551392622506 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonNotesNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonNotesSelected.png b/sdext/source/presenter/bitmaps/ButtonNotesSelected.png Binary files differnew file mode 100644 index 000000000000..f5494fb1c678 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonNotesSelected.png diff --git a/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png b/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png Binary files differnew file mode 100644 index 000000000000..e6ba3f3e78a7 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonPlusDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png b/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png Binary files differnew file mode 100644 index 000000000000..9d21dc40a6eb --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonPlusMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonPlusNormal.png b/sdext/source/presenter/bitmaps/ButtonPlusNormal.png Binary files differnew file mode 100644 index 000000000000..2e075c2a3a87 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonPlusNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonPlusSelected.png b/sdext/source/presenter/bitmaps/ButtonPlusSelected.png Binary files differnew file mode 100644 index 000000000000..b9d6fe1ed929 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonPlusSelected.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png b/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png Binary files differnew file mode 100644 index 000000000000..7f3bce058f4c --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideNextDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png b/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png Binary files differnew file mode 100644 index 000000000000..4dc13655965b --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideNextMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png b/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png Binary files differnew file mode 100644 index 000000000000..711b8ca8caf6 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideNextNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png b/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png Binary files differnew file mode 100644 index 000000000000..383780eab2cf --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlidePreviousDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png b/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png Binary files differnew file mode 100644 index 000000000000..dc35c62deaf2 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlidePreviousMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png b/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png Binary files differnew file mode 100644 index 000000000000..26262b4568d7 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlidePreviousNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png b/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png Binary files differnew file mode 100644 index 000000000000..7274263a43f5 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlidePreviousSelected.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png b/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png Binary files differnew file mode 100644 index 000000000000..ce7d4ad51514 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideSorterDisabled.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png b/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png Binary files differnew file mode 100644 index 000000000000..2e7f518ac9e3 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideSorterMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png b/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png Binary files differnew file mode 100644 index 000000000000..7aa914f41c01 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideSorterNormal.png diff --git a/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png b/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png Binary files differnew file mode 100644 index 000000000000..143f995a004c --- /dev/null +++ b/sdext/source/presenter/bitmaps/ButtonSlideSorterSelected.png diff --git a/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png b/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png Binary files differnew file mode 100644 index 000000000000..6eb75d386f46 --- /dev/null +++ b/sdext/source/presenter/bitmaps/LabelMouseOverCenter.png diff --git a/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png b/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png Binary files differnew file mode 100644 index 000000000000..9455246332cf --- /dev/null +++ b/sdext/source/presenter/bitmaps/LabelMouseOverLeft.png diff --git a/sdext/source/presenter/bitmaps/LabelMouseOverRight.png b/sdext/source/presenter/bitmaps/LabelMouseOverRight.png Binary files differnew file mode 100644 index 000000000000..1f972d0cebea --- /dev/null +++ b/sdext/source/presenter/bitmaps/LabelMouseOverRight.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png b/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png Binary files differnew file mode 100644 index 000000000000..4dd16272fad7 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowDownDisabled.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png b/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png Binary files differnew file mode 100644 index 000000000000..d1980a2a1a05 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowDownMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png b/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png Binary files differnew file mode 100644 index 000000000000..166f10057c11 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowDownNormal.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png b/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png Binary files differnew file mode 100644 index 000000000000..21d42945ce98 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowDownSelected.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png b/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png Binary files differnew file mode 100644 index 000000000000..44f60683bc59 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowUpDisabled.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png b/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png Binary files differnew file mode 100644 index 000000000000..9795885632dc --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowUpMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png b/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png Binary files differnew file mode 100644 index 000000000000..804ced846065 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowUpNormal.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png b/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png Binary files differnew file mode 100644 index 000000000000..d7be4f324f86 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarArrowUpSelected.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png b/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png Binary files differnew file mode 100644 index 000000000000..84b781af9fb8 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png b/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png Binary files differnew file mode 100644 index 000000000000..a06ba667f118 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarPagerMiddleNormal.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png b/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png Binary files differnew file mode 100644 index 000000000000..482f13638755 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarThumbBottomMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png b/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png Binary files differnew file mode 100644 index 000000000000..ec46e172c134 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarThumbBottomNormal.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png b/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png Binary files differnew file mode 100644 index 000000000000..62066c24b687 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png b/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png Binary files differnew file mode 100644 index 000000000000..c25e4edcf595 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarThumbMiddleNormal.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png b/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png Binary files differnew file mode 100644 index 000000000000..714481df996d --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarThumbTopMouseOver.png diff --git a/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png b/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png Binary files differnew file mode 100644 index 000000000000..7e0922c74966 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ScrollbarThumbTopNormal.png diff --git a/sdext/source/presenter/bitmaps/ViewBackground.png b/sdext/source/presenter/bitmaps/ViewBackground.png Binary files differnew file mode 100644 index 000000000000..ca52d8262a88 --- /dev/null +++ b/sdext/source/presenter/bitmaps/ViewBackground.png diff --git a/sdext/source/presenter/components.cxx b/sdext/source/presenter/components.cxx deleted file mode 100644 index 656d0f2a004a..000000000000 --- a/sdext/source/presenter/components.cxx +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************** - * - * 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 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - *************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_sdext.hxx" - -#include <cppuhelper/factory.hxx> -#include <cppuhelper/implementationentry.hxx> - -#include "PresenterProtocolHandler.hxx" -#include "PresenterScreen.hxx" - - -namespace sdext { namespace presenter { - - -rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT; - -static struct cppu::ImplementationEntry gServiceEntries[] = -{ - { - PresenterProtocolHandler::Create, - PresenterProtocolHandler::getImplementationName_static, - PresenterProtocolHandler::getSupportedServiceNames_static, - cppu::createSingleComponentFactory, &g_moduleCount.modCnt, 0 - }, - { - PresenterScreenJob::Create, - PresenterScreenJob::getImplementationName_static, - PresenterScreenJob::getSupportedServiceNames_static, - cppu::createSingleComponentFactory, 0, 0 - }, - { 0, 0, 0, 0, 0, 0 } -}; - -extern "C" -{ - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) - { - return g_moduleCount.canUnload( &g_moduleCount , pTime ); - } - - SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) - { - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; - } - - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) - { - return cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries); - } -} - -} } // end of namespace sdext::presenter diff --git a/sdext/source/presenter/delzip b/sdext/source/presenter/delzip new file mode 100644 index 000000000000..636fda90bfcb --- /dev/null +++ b/sdext/source/presenter/delzip @@ -0,0 +1 @@ +ECHO is OFF diff --git a/sdext/source/presenter/description.xml b/sdext/source/presenter/description.xml new file mode 100644 index 000000000000..68b126dc66ff --- /dev/null +++ b/sdext/source/presenter/description.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + ***********************************************************--> +<description + + xmlns="http://openoffice.org/extensions/description/2006" + xmlns:dep="http://openoffice.org/extensions/description/2006" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <identifier value="com.sun.PresenterScreen-UPDATED_SUPPORTED_PLATFORM" /> + + <dependencies> + <OpenOffice.org-minimal-version value="4.0" dep:name="OpenOffice"/> + <OpenOffice.org-maximal-version value="4.9" dep:name="OpenOffice"/> + </dependencies> + + <registration> + <simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" > + <license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/> + </simple-license> + </registration> + + <version value="1.2.0"/> + + <platform value="UPDATED_SUPPORTED_PLATFORM" /> + + <publisher> + <name xlink:href="http://www.openoffice.org" lang="en">Apache Software Foundation</name> + </publisher> + + <display-name> + <name lang="en">Presenter Console</name> + </display-name> + + <icon> + <default xlink:href="bitmaps/extension_32.png" /> + <high-contrast xlink:href="bitmaps/extension_32_h.png" /> + </icon> + +</description> diff --git a/sdext/source/presenter/help/component.txt b/sdext/source/presenter/help/component.txt new file mode 100644 index 000000000000..26a10c622fe9 --- /dev/null +++ b/sdext/source/presenter/help/component.txt @@ -0,0 +1,2 @@ +The Presenter Console Extension provides more control over your slide show presentation, such as the ability to see the upcoming slide, the slide notes, and a presentation timer whereas the audience see only the current slide. +To avoid confusions by displaying a large number of presentation elements, the Presenter Console displays the elements on three different easily changeable views. diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk new file mode 100644 index 000000000000..f6531d70ca7d --- /dev/null +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/makefile.mk @@ -0,0 +1,47 @@ +#************************************************************** +# +# 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 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#************************************************************** + + + +PRJ=../../../../.. +PRJNAME=sdext +TARGET=PresenterScreenHelp +EXTNAME=PresenterScreen + +PACKAGE = com.sun.PresenterScreen + +# --- Settings ---------------------------------- + +.INCLUDE : settings.mk + +.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO" +do_nothing: + @echo "Presenter Screen build disabled." +.ELSE + +XHPFILES= \ + presenter.xhp + + +.INCLUDE : target.mk +.INCLUDE : tg_help.mk + +.ENDIF diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp new file mode 100644 index 000000000000..a315c1a06702 --- /dev/null +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp @@ -0,0 +1,180 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!--*********************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + ***********************************************************--> + + + + +<meta> + <topic id="textpresenterxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit" l10n="NEW">@PRESENTEREXTENSIONPRODUCTNAME@ Keyboard Shortcuts</title> + <filename>/com.sun.PresenterScreen-PLATFORMID/presenter.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="hid/com.sun.PresenterScreen" id="bm_id3138439" localize="false"/> +<bookmark xml-lang="en-US" branch="index" id="bm_id0921200912285678"><bookmark_value>@PRESENTEREXTENSIONPRODUCTNAME@ shortcuts</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id0921201912165661" role="heading" level="1" l10n="NEW">@PRESENTEREXTENSIONPRODUCTNAME@ Keyboard Shortcuts</paragraph> + <paragraph xml-lang="en-US" id="par_id0921201912165656" role="paragraph" l10n="NEW">When running a slide show using the @PRESENTEREXTENSIONPRODUCTNAME@, you can use the following keys:</paragraph> + <table id="tbl_id0921200901051232"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104028" role="tablehead" l10n="NEW">Action</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104093" role="tablehead" l10n="NEW">Key or Keys</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110418" role="tablecontent" l10n="NEW">Next slide, or next effect</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104120" role="tablecontent" l10n="NEW">Left click, right arrow, down arrow, spacebar, page down, enter, return, 'N'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104165" role="tablecontent" l10n="NEW">Previous slide, or previous effect</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104115" role="tablecontent" l10n="NEW">Right click, left arrow, up arrow, page up, backspace, 'P'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104164" role="tablecontent" l10n="NEW">First slide</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104148" role="tablecontent" l10n="NEW">Home</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104221" role="tablecontent" l10n="NEW">Last slide</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104277" role="tablecontent" l10n="NEW">End</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104279" role="tablecontent" l10n="NEW">Previous slide without effects</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110423" role="tablecontent" l10n="NEW">Alt+Page Up</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110427" role="tablecontent" l10n="NEW">Next slide without effects</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104261" role="tablecontent" l10n="NEW">Alt+Page Down</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104383" role="tablecontent" l10n="NEW">Black/Unblack the screen</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110431" role="tablecontent" l10n="NEW">'B', '.'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104311" role="tablecontent" l10n="NEW">White/Unwhite the screen</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104359" role="tablecontent" l10n="NEW">'W', ','</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104336" role="tablecontent" l10n="NEW">End slide show</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104419" role="tablecontent" l10n="NEW">Esc, '-'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104460" role="tablecontent" l10n="NEW">Go to slide number</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110440" role="tablecontent" l10n="NEW">Number followed by Enter</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104427" role="tablecontent" l10n="NEW">Grow/Shrink size of notes font</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104442" role="tablecontent" l10n="NEW">'G', 'S'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104473" role="tablecontent" l10n="NEW">Scroll notes up/down</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110459" role="tablecontent" l10n="NEW">'A', 'Z'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110456" role="tablecontent" l10n="NEW">Move caret in notes view backward/forward</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id092120090110457" role="tablecontent" l10n="NEW">'H', 'L'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104566" role="tablecontent" l10n="NEW">Show the @PRESENTEREXTENSIONPRODUCTNAME@</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104544" role="tablecontent" l10n="NEW">Ctrl-'1'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104535" role="tablecontent" l10n="NEW">Show the Presentation Notes</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104680" role="tablecontent" l10n="NEW">Ctrl-'2'</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104634" role="tablecontent" l10n="NEW">Show the Slides Overview</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id0921200901104632" role="tablecontent" l10n="NEW">Ctrl-'3'</paragraph> + </tablecell> + </tablerow> + </table> + + </body> +</helpdocument> diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk index b1541c857737..6fc59c68fb8e 100644 --- a/sdext/source/presenter/makefile.mk +++ b/sdext/source/presenter/makefile.mk @@ -1,5 +1,5 @@ #************************************************************** -# +# # 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 @@ -7,18 +7,20 @@ # 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 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -# +# #************************************************************** + + PRJ=..$/.. PRJNAME=sdext TARGET=PresenterScreen @@ -26,19 +28,21 @@ GEN_HID=FALSE EXTNAME=PresenterScreen ENABLE_EXCEPTIONS=TRUE - -PACKAGE=org.openoffice.Office -ABSXCSROOT=$(SOLARXMLDIR) -XCSROOT=.. -DTDDIR=$(ABSXCSROOT) -XSLDIR=$(ABSXCSROOT)$/processing -PROCESSOUT=$(MISC)$/$(TARGET) -PROCESSORDIR=$(SOLARBINDIR) +# survive zip dependencies +MAXLINELENGTH:=80000 # --- Settings ---------------------------------- +.INCLUDE : rtlbootstrap.mk .INCLUDE : settings.mk +PACKAGE=com.sun.PresenterScreen-$(PLATFORMID) + +.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO" +@all: + @echo "Presenter Screen build disabled." +.ELSE + .IF "$(L10N_framework)" != "" @all: @@ -48,116 +52,307 @@ PROCESSORDIR=$(SOLARBINDIR) .INCLUDE : $(PRJ)$/util$/makefile.pmk + DLLPRE= +common_build_zip= # --- Files ------------------------------------- -SLOFILES=\ - $(SLO)$/components.obj \ - $(SLO)$/PresenterAccessibility.obj \ - $(SLO)$/PresenterAnimation.obj \ - $(SLO)$/PresenterAnimator.obj \ - $(SLO)$/PresenterBitmapContainer.obj \ - $(SLO)$/PresenterButton.obj \ - $(SLO)$/PresenterCanvasHelper.obj \ - $(SLO)$/PresenterConfigurationAccess.obj \ - $(SLO)$/PresenterController.obj \ - $(SLO)$/PresenterCurrentSlideObserver.obj \ - $(SLO)$/PresenterFrameworkObserver.obj \ - $(SLO)$/PresenterGeometryHelper.obj \ - $(SLO)$/PresenterHelper.obj \ - $(SLO)$/PresenterHelpView.obj \ - $(SLO)$/PresenterNotesView.obj \ - $(SLO)$/PresenterPaintManager.obj \ - $(SLO)$/PresenterPane.obj \ - $(SLO)$/PresenterPaneAnimator.obj \ - $(SLO)$/PresenterPaneBase.obj \ - $(SLO)$/PresenterPaneBorderManager.obj \ - $(SLO)$/PresenterPaneBorderPainter.obj \ - $(SLO)$/PresenterPaneContainer.obj \ - $(SLO)$/PresenterPaneFactory.obj \ - $(SLO)$/PresenterProtocolHandler.obj \ - $(SLO)$/PresenterScreen.obj \ - $(SLO)$/PresenterScrollBar.obj \ - $(SLO)$/PresenterSlidePreview.obj \ - $(SLO)$/PresenterSlideShowView.obj \ - $(SLO)$/PresenterSlideSorter.obj \ - $(SLO)$/PresenterSprite.obj \ - $(SLO)$/PresenterSpritePane.obj \ - $(SLO)$/PresenterTextView.obj \ - $(SLO)$/PresenterTheme.obj \ - $(SLO)$/PresenterTimer.obj \ - $(SLO)$/PresenterToolBar.obj \ - $(SLO)$/PresenterUIPainter.obj \ - $(SLO)$/PresenterViewFactory.obj \ - $(SLO)$/PresenterWindowManager.obj \ +SLOFILES= \ + $(SLO)$/PresenterAccessibility.obj \ + $(SLO)$/PresenterAnimation.obj \ + $(SLO)$/PresenterAnimator.obj \ + $(SLO)$/PresenterBitmapContainer.obj \ + $(SLO)$/PresenterButton.obj \ + $(SLO)$/PresenterCanvasHelper.obj \ + $(SLO)$/PresenterConfigurationAccess.obj \ + $(SLO)$/PresenterController.obj \ + $(SLO)$/PresenterCurrentSlideObserver.obj \ + $(SLO)$/PresenterFrameworkObserver.obj \ + $(SLO)$/PresenterGeometryHelper.obj \ + $(SLO)$/PresenterHelper.obj \ + $(SLO)$/PresenterHelpView.obj \ + $(SLO)$/PresenterNotesView.obj \ + $(SLO)$/PresenterPaintManager.obj \ + $(SLO)$/PresenterPane.obj \ + $(SLO)$/PresenterPaneAnimator.obj \ + $(SLO)$/PresenterPaneBase.obj \ + $(SLO)$/PresenterPaneBorderManager.obj \ + $(SLO)$/PresenterPaneBorderPainter.obj \ + $(SLO)$/PresenterPaneContainer.obj \ + $(SLO)$/PresenterPaneFactory.obj \ + $(SLO)$/PresenterProtocolHandler.obj \ + $(SLO)$/PresenterScreen.obj \ + $(SLO)$/PresenterScrollBar.obj \ + $(SLO)$/PresenterSlidePreview.obj \ + $(SLO)$/PresenterSlideShowView.obj \ + $(SLO)$/PresenterSlideSorter.obj \ + $(SLO)$/PresenterSprite.obj \ + $(SLO)$/PresenterSpritePane.obj \ + $(SLO)$/PresenterTextView.obj \ + $(SLO)$/PresenterTheme.obj \ + $(SLO)$/PresenterTimer.obj \ + $(SLO)$/PresenterToolBar.obj \ + $(SLO)$/PresenterUIPainter.obj \ + $(SLO)$/PresenterViewFactory.obj \ + $(SLO)$/PresenterWindowManager.obj \ + $(SLO)$/PresenterComponent.obj # --- Library ----------------------------------- -SHL1TARGET=$(TARGET).uno +SHL1TARGET= $(TARGET).uno -SHL1STDLIBS= \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) +SHL1STDLIBS= $(CPPUHELPERLIB) \ + $(CPPULIB) \ + $(SALLIB) SHL1DEPN= -SHL1IMPLIB= i$(SHL1TARGET) -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -SHL1VERSIONMAP=$(SOLARENV)/src/component.map +SHL1IMPLIB= i$(SHL1TARGET) +SHL1LIBS= $(SLB)$/$(TARGET).lib +SHL1DEF= $(MISC)$/$(SHL1TARGET).def +SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map SHL1RPATH= OXT -DEF1NAME= $(SHL1TARGET) - -# ------------------------------------------------------------------------------ - -# Resource files - -SRS1NAME=$(TARGET) -SRC1FILES = \ - $(TARGET).src \ - -SRSFILELIST=\ - $(SRS)$/$(TARGET).srs \ - -RESLIB1NAME=$(TARGET) -RESLIB1SRSFILES= $(SRSFILELIST) - - -PACKAGEDIR=$(subst,.,$/ $(PACKAGE)) -SPOOLDIR=$(MISC)$/registry$/spool - -XCUFILES= \ - Jobs.xcu \ - ProtocolHandler.xcu - -MYXCUFILES= \ - $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu \ - $(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler/ProtocolHandler-presenterscreen.xcu - +DEF1NAME= $(SHL1TARGET) + +ZIP2TARGET= presenter-screen_develop +ZIP2DIR= $(COMMONMISC) +ZIP2EXT= .zip +ZIP2FLAGS=-r +ZIP2LIST= */com.sun.PresenterScreen/*.xhp + +ZIP1TARGET= presenter-screen +ZIP1DIR= $(MISC)$/$(TARGET) +ZIP1EXT= .oxt +ZIP1FLAGS=-r +ZIP1LIST= * + +EXTENSIONDIR=$(ZIP1DIR) + +.INCLUDE : extension_pre.mk + +.IF "$(WITH_LANG)"=="" +FIND_XCU=registry/data +.ELSE # "$(WITH_LANG)"=="" +FIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge +.ENDIF # "$(WITH_LANG)"=="" + +COMPONENT_FILES= \ + $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Jobs.xcu \ + $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \ + $(ZIP1DIR)$/registry$/schema/org$/openoffice$/Office$/extension$/PresenterScreen.xcs \ + $(ZIP1DIR)$/registry$/data/$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu + +COMPONENT_BITMAPS= \ + $(ZIP1DIR)$/bitmaps$/BorderTop.png \ + $(ZIP1DIR)$/bitmaps$/BorderTopLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderTopRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderBottomLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderBottomRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderBottom.png \ + \ + $(ZIP1DIR)$/bitmaps$/BorderActiveTop.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveTopLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveTopRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveBottomLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveBottomRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveBottom.png \ + $(ZIP1DIR)$/bitmaps$/BorderActiveBottomCallout.png \ + \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTop.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottom.png \ + \ + $(ZIP1DIR)$/bitmaps$/BorderToolbarTop.png \ + $(ZIP1DIR)$/bitmaps$/BorderToolbarTopLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderToolbarTopRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderToolbarLeft.png \ + $(ZIP1DIR)$/bitmaps$/BorderToolbarRight.png \ + $(ZIP1DIR)$/bitmaps$/BorderToolbarBottom.png \ + \ + $(ZIP1DIR)$/bitmaps$/Background.png \ + $(ZIP1DIR)$/bitmaps$/ViewBackground.png \ + \ + $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousDisabled.png \ + $(ZIP1DIR)$/bitmaps$/ButtonEffectNextNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonEffectNextMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonEffectNextSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonEffectNextDisabled.png \ + $(ZIP1DIR)$/bitmaps$/ButtonNotesNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonNotesMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonNotesSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonNotesDisabled.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterDisabled.png \ + $(ZIP1DIR)$/bitmaps$/ButtonHelpNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonHelpMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonHelpSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonHelpDisabled.png \ + \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpNormal.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpMouseOver.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpSelected.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpDisabled.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownNormal.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownMouseOver.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownSelected.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownDisabled.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleNormal.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleMouseOver.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopNormal.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopMouseOver.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomNormal.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomMouseOver.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleNormal.png \ + $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleMouseOver.png \ + \ + $(ZIP1DIR)$/bitmaps$/ButtonPlusNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonPlusMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonPlusSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonPlusDisabled.png \ + $(ZIP1DIR)$/bitmaps$/ButtonMinusNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonMinusMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonMinusSelected.png \ + $(ZIP1DIR)$/bitmaps$/ButtonMinusDisabled.png \ + \ + $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonFrameRightNormal.png \ + $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterMouseOver.png \ + $(ZIP1DIR)$/bitmaps$/ButtonFrameRightMouseOver.png \ + \ + $(ZIP1DIR)$/bitmaps$/LabelMouseOverLeft.png \ + $(ZIP1DIR)$/bitmaps$/LabelMouseOverCenter.png \ + $(ZIP1DIR)$/bitmaps$/LabelMouseOverRight.png + +COMPONENT_IMAGES=\ + $(ZIP1DIR)$/bitmaps$/extension_32.png \ + $(ZIP1DIR)$/bitmaps$/extension_32_h.png + +COMPONENT_LIBRARY= \ + $(ZIP1DIR)$/$(TARGET).uno$(DLLPOST) + +PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) + +COMPONENT_HELP= \ + $(ZIP1DIR)$/help/component.txt \ + $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) + +ZIP1DEPS= \ + $(PACKLICS) \ + $(DESCRIPTION) \ + $(COMPONENT_MANIFEST) \ + $(COMPONENT_FILES) \ + $(COMPONENT_BITMAPS) \ + $(COMPONENT_IMAGES) \ + $(COMPONENT_LIBRARY) \ + $(COMPONENT_HELP) + +# $(COMPONENT_MERGED_XCU) \ + + +LINKNAME:=help +XHPLINKSRC:=$(ZIP1DIR)/help + +my_XHPFILES= \ + presenter.xhp + +LINKLINKFILES= \ + $(PACKAGE)/{$(my_XHPFILES)} # --- Targets ---------------------------------- .INCLUDE : target.mk +.INCLUDE : extension_helplink.mk + +$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx -ALLTAR : $(MYXCUFILES) +$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx + $(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@ -XCU_SOURCEDIR:=. +$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(COPY) $< $@ -$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu +$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp + @echo creating $@ @-$(MKDIRHIER) $(@:d) - @$(COPY) $< $@ + $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@ + +.IF "$(ZIP1TARGETN)"!="" +$(ZIP1TARGETN) : $(HELPLINKALLTARGETS) -$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler$/ProtocolHandler-presenterscreen.xcu : $(XCU_SOURCEDIR)$/ProtocolHandler.xcu +.ENDIF # "$(ZIP1TARGETN)"!="" + +$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f) @-$(MKDIRHIER) $(@:d) - @$(COPY) $< $@ + +$(COPY) $< $@ -ALLTAR : $(MISC)/PresenterScreen.component +$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(COPY) $< $@ -$(MISC)/PresenterScreen.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresenterScreen.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt PresenterScreen.component +$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f) + @-$(MKDIRHIER) $(@:d) + +$(COPY) $< $@ +.IF "$(OS)$(CPU)"=="WNTI" + .IF "$(COM)"=="GCC" + $(GNUCOPY) $(SOLARBINDIR)$/mingwm10.dll $(ZIP1DIR) + .ELSE + .IF "$(PACKMS)"!="" + .IF "$(CCNUMVER)" <= "001399999999" + $(GNUCOPY) $(PACKMS)$/msvcr71.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/msvcp71.dll $(ZIP1DIR) + .ELSE + .IF "$(CCNUMVER)" <= "001499999999" + $(GNUCOPY) $(PACKMS)$/msvcr80.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/msvcp80.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/msvcm80.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR) + .ELSE + $(GNUCOPY) $(PACKMS)$/msvcr90.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/msvcp90.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/msvcm90.dll $(ZIP1DIR) + $(GNUCOPY) $(PACKMS)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR) + .ENDIF + .ENDIF + .ELSE # "$(PACKMS)"!="" + .IF "$(CCNUMVER)" <= "001399999999" + $(GNUCOPY) $(SOLARBINDIR)$/msvcr71.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/msvcp71.dll $(ZIP1DIR) + .ELSE + .IF "$(CCNUMVER)" <= "001499999999" + $(GNUCOPY) $(SOLARBINDIR)$/msvcr80.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/msvcp80.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/msvcm80.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR) + .ELSE + $(GNUCOPY) $(SOLARBINDIR)$/msvcr90.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/msvcp90.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/msvcm90.dll $(ZIP1DIR) + $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR) + .ENDIF + .ENDIF + .ENDIF # "$(PACKMS)"!="" + .ENDIF #"$(COM)"=="GCC" +.ENDIF + +.INCLUDE : extension_post.mk .ENDIF # L10N_framework +.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO" diff --git a/sdext/source/presenter/manifest.xml b/sdext/source/presenter/manifest.xml new file mode 100644 index 000000000000..50cbebbd514b --- /dev/null +++ b/sdext/source/presenter/manifest.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> +<!--*********************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + ***********************************************************--> +<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native" + manifest:full-path="PresenterScreen.unoSHARED_EXTENSION"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" + manifest:full-path="registry/data/org/openoffice/Office/Jobs.xcu"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" + manifest:full-path="registry/data/org/openoffice/Office/ProtocolHandler.xcu"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" + manifest:full-path="registry/data/org/openoffice/Office/extension/PresenterScreen.xcu"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-schema" + manifest:full-path="registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.help" + manifest:full-path="help"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description" + manifest:full-path="help/component.txt"/> +</manifest:manifest> diff --git a/sdext/source/presenter/Jobs.xcu b/sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu index 99c830bc53cc..99c830bc53cc 100644 --- a/sdext/source/presenter/Jobs.xcu +++ b/sdext/source/presenter/registry/data/org/openoffice/Office/Jobs.xcu diff --git a/sdext/source/presenter/ProtocolHandler.xcu b/sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu index 6b9ca6c25b90..6b9ca6c25b90 100644 --- a/sdext/source/presenter/ProtocolHandler.xcu +++ b/sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu b/sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu new file mode 100644 index 000000000000..cd815e1df90f --- /dev/null +++ b/sdext/source/presenter/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu @@ -0,0 +1,1220 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + ***********************************************************--> + + +<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> +<oor:component-data xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:package="org.openoffice.Office.extension" oor:name="PresenterScreen"> + <node oor:name="PresenterScreenSettings"> + <node oor:name="ToolBars"> + <node oor:name="ToolBar" oor:op="replace"> + <node oor:name="Entries"> + <node oor:name="a" oor:op="replace"> + <prop oor:name="Name"><value>PreviousSlide</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <prop oor:name="Text"><value xml:lang="en-US">Previous</value></prop> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlidePreviousNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:PrevSlide</value></prop> + <node oor:name="Font"> + <prop oor:name="Size"><value>12</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlidePreviousMouseOver.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlidePreviousDisabled.png</value></prop> + </node> + </node> + </node> + <node oor:name="b" oor:op="replace"> + <prop oor:name="Name"><value>NextEffect</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <prop oor:name="Text"><value xml:lang="en-US">Next</value></prop> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonEffectNextNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:NextEffect</value></prop> + <node oor:name="Font"> + <prop oor:name="Size"><value>12</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonEffectNextMouseOver.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonEffectNextDisabled.png</value></prop> + </node> + </node> + </node> + <node oor:name="c" oor:op="replace"> + <prop oor:name="Name"><value>Notes</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <prop oor:name="Text"><value xml:lang="en-US">Notes</value></prop> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonNotesNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShowNotes</value></prop> + <node oor:name="Font"> + <prop oor:name="Size"><value>12</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonNotesMouseOver.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + </node> + <node oor:name="Selected"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonNotesSelected.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseNotes</value></prop> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonNotesDisabled.png</value></prop> + </node> + </node> + </node> + <node oor:name="d" oor:op="replace"> + <prop oor:name="Name"><value>SlideSorter</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <prop oor:name="Text"><value xml:lang="en-US">Slides</value></prop> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlideSorterNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShowSlideSorter</value></prop> + <node oor:name="Font"> + <prop oor:name="Size"><value>12</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlideSorterMouseOver.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + </node> + <node oor:name="Selected"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlideSorterSelected.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseSlideSorter</value></prop> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlideSorterDisabled.png</value></prop> + </node> + </node> + </node> + <node oor:name="e" oor:op="replace"> + <prop oor:name="Type"><value>VerticalSeparator</value></prop> + <node oor:name="Normal"> + <node oor:name="Font"> + <prop oor:name="Color"><value>76797C</value></prop> + </node> + </node> + </node> + <node oor:name="f" oor:op="replace"> + <prop oor:name="Type"><value>ChangeOrientation</value></prop> + </node> + <node oor:name="g" oor:op="replace"> + <prop oor:name="Type"><value>CurrentTimeLabel</value></prop> + <node oor:name="Normal"> + <node oor:name="Font"> + <prop oor:name="Size"><value>18</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>ffffff</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + </node> + <node oor:name="h" oor:op="replace"> + <prop oor:name="Type"><value>HorizontalSeparator</value></prop> + <node oor:name="Normal"> + <node oor:name="Font"> + <prop oor:name="Color"><value>71767a</value></prop> + </node> + </node> + </node> + <node oor:name="i" oor:op="replace"> + <prop oor:name="Type"><value>PresentationTimeLabel</value></prop> + <node oor:name="Normal"> + <node oor:name="Font"> + <prop oor:name="Size"><value>26</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>ffe969</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + </node> + <node oor:name="j" oor:op="replace"> + <prop oor:name="Type"><value>ChangeOrientation</value></prop> + </node> + <node oor:name="k" oor:op="replace"> + <prop oor:name="Type"><value>VerticalSeparator</value></prop> + <node oor:name="Normal"> + <node oor:name="Font"> + <prop oor:name="Color"><value>76797C</value></prop> + </node> + </node> + </node> + <node oor:name="l" oor:op="replace"> + <prop oor:name="Name"><value>Help</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <prop oor:name="Text"><value xml:lang="en-US">Help</value></prop> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonHelpNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShowHelp</value></prop> + <node oor:name="Font"> + <prop oor:name="Size"><value>12</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + </node> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonHelpMouseOver.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + </node> + <node oor:name="Selected"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonHelpSelected.png</value></prop> + </node> + <node oor:name="Font"> + <prop oor:name="Color"><value>FFFFFF</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseHelp</value></prop> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonHelpDisabled.png</value></prop> + </node> + </node> + </node> + </node> + </node> + <node oor:name="NotesToolBar" oor:op="replace"> + <node oor:name="Entries"> + <node oor:name="a" oor:op="replace"> + <prop oor:name="Name"><value>Zoom</value></prop> + <prop oor:name="Type"><value>Label</value></prop> + <node oor:name="Normal"> + <prop oor:name="Text"><value xml:lang="en-US">Zoom</value></prop> + <node oor:name="Font"> + <prop oor:name="Size"><value>14</value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + </node> + </node> + </node> + <node oor:name="b" oor:op="replace"> + <prop oor:name="Name"><value>Grow</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonPlusNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:GrowNotesFont</value></prop> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonPlusMouseOver.png</value></prop> + </node> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonPlusDisabled.png</value></prop> + </node> + </node> + </node> + <node oor:name="c" oor:op="replace"> + <prop oor:name="Name"><value>Shrink</value></prop> + <prop oor:name="Type"><value>Button</value></prop> + <node oor:name="Normal"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonMinusNormal.png</value></prop> + </node> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:ShrinkNotesFont</value></prop> + </node> + <node oor:name="MouseOver"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonMinusMouseOver.png</value></prop> + </node> + </node> + <node oor:name="Disabled"> + <node oor:name="Icon"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonMinusDisabled.png</value></prop> + </node> + </node> + </node> + </node> + </node> + </node> + <node oor:name="Buttons"> + <node oor:name="SlideSorterCloser" oor:op="replace"> + <prop oor:name="Name"><value>SlideSorterCloser</value></prop> + <prop oor:name="Text"> + <value xml:lang="en-US">Close</value> + </prop> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseSlideSorter</value></prop> + </node> + <node oor:name="NotesViewCloser" oor:op="replace"> + <prop oor:name="Name"><value>NotesViewCloser</value></prop> + <prop oor:name="Text"> + <value xml:lang="en-US">Close</value> + </prop> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseNotes</value></prop> + </node> + <node oor:name="HelpViewCloser" oor:op="replace"> + <prop oor:name="Name"><value>HelpViewCloser</value></prop> + <prop oor:name="Text"> + <value xml:lang="en-US">Close</value> + </prop> + <prop oor:name="Action"><value>vnd.com.sun.star.comp.PresenterScreen:CloseHelp</value></prop> + </node> + </node> + <node oor:name="ScrollBar"> + <node oor:name="Bitmaps"> + <node oor:name="up" oor:op="replace"> + <prop oor:name="Name"><value>Up</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ScrollbarArrowUpNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ScrollbarArrowUpMouseOver.png</value></prop> + <prop oor:name="DisabledFileName"><value>bitmaps/ScrollbarArrowUpDisabled.png</value></prop> + </node> + <node oor:name="down" oor:op="replace"> + <prop oor:name="Name"><value>Down</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ScrollbarArrowDownNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ScrollbarArrowDownMouseOver.png</value></prop> + <prop oor:name="DisabledFileName"><value>bitmaps/ScrollbarArrowDownDisabled.png</value></prop> + </node> + <node oor:name="pagervertical" oor:op="replace"> + <prop oor:name="Name"><value>PagerVertical</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ScrollbarPagerMiddleNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ScrollbarPagerMiddleMouseOver.png</value></prop> + </node> + <node oor:name="thumbtop" oor:op="replace"> + <prop oor:name="Name"><value>ThumbTop</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ScrollbarThumbTopNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ScrollbarThumbTopMouseOver.png</value></prop> + </node> + <node oor:name="thumbbottom" oor:op="replace"> + <prop oor:name="Name"><value>ThumbBottom</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ScrollbarThumbBottomNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ScrollbarThumbBottomMouseOver.png</value></prop> + </node> + <node oor:name="thumbvertical" oor:op="replace"> + <prop oor:name="Name"><value>ThumbVertical</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ScrollbarThumbMiddleNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ScrollbarThumbMiddleMouseOver.png</value></prop> + </node> + </node> + </node> + <node oor:name="SlideSorter"> + <node oor:name="BorderSize"> + <prop oor:name="Left"><value>9</value></prop> + <prop oor:name="Top"><value>9</value></prop> + <prop oor:name="Right"><value>9</value></prop> + <prop oor:name="Bottom"><value>9</value></prop> + </node> + <node oor:name="CurrentSlideBorderBitmaps"> + <node oor:name="TopLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideTopLeft.png</value></prop> + </node> + <node oor:name="Top" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideTop.png</value></prop> + </node> + <node oor:name="TopRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideTopRight.png</value></prop> + </node> + <node oor:name="Left" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideLeft.png</value></prop> + </node> + <node oor:name="Right" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideRight.png</value></prop> + </node> + <node oor:name="BottomLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideBottomLeft.png</value></prop> + </node> + <node oor:name="Bottom" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideBottom.png</value></prop> + </node> + <node oor:name="BottomRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderCurrentSlideBottomRight.png</value></prop> + </node> + </node> + </node> + <node oor:name="HelpView"> + <node oor:name="HelpStrings"> + <node oor:name="a" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Left click, right or down arrow, spacebar, page down, enter, return, 'N'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Next slide, or next effect</value> + </prop> + </node> + <node oor:name="b" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Right click, left or up arrow, page up, backspace, 'P'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Previous slide, or previous effect</value> + </prop> + </node> + <node oor:name="c" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="d" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Home</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">First slide</value> + </prop> + </node> + <node oor:name="e" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">End</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Last slide</value> + </prop> + </node> + <node oor:name="f" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="g" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Alt-Page Up</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Previous slide without effects</value> + </prop> + </node> + <node oor:name="h" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Alt-Page Down</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Next slide without effects</value> + </prop> + </node> + <node oor:name="i" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="j" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">'B', '.'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Blacks/Unblacks the screen</value> + </prop> + </node> + <node oor:name="k" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">'W', ','</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Whites/Unwhites the screen</value> + </prop> + </node> + <node oor:name="l" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="m" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Esc, '-'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">End slide show</value> + </prop> + </node> + <node oor:name="n" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="o" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Number followed by Enter</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Go to that slide</value> + </prop> + </node> + <node oor:name="p" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="q" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">'G', 'S'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Grow/Shrink size of notes font</value> + </prop> + </node> + <node oor:name="r" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">'A', 'Z'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Scroll notes up/down</value> + </prop> + </node> + <node oor:name="s" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">'H', 'L'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Move caret in notes view backward/forward</value> + </prop> + </node> + <node oor:name="t" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US"> </value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US"> </value> + </prop> + </node> + <node oor:name="u" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Ctrl-'1'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Shows the Presenter Console</value> + </prop> + </node> + <node oor:name="v" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Ctrl-'2'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Shows the Presentation Notes</value> + </prop> + </node> + <node oor:name="w" oor:op="replace"> + <prop oor:name="Left"> + <value xml:lang="en-US">Ctrl-'3'</value> + </prop> + <prop oor:name="Right"> + <value xml:lang="en-US">Shows the Slides Overview</value> + </prop> + </node> + </node> + </node> + </node> + <node oor:name="Presenter"> + <node oor:name="Themes"> + <node oor:name="Theme_1" oor:op="replace"> + <prop oor:name="ThemeName"> + <value>DefaultTheme</value> + </prop> + <node oor:name="PaneStyles"> + <node oor:name="PaneStyle_1" oor:op="replace"> + <prop oor:name="StyleName"> + <value>DefaultPaneStyle</value> + </prop> + <node oor:name="TitleFont"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>14</value></prop> + <prop oor:name="Color"><value>B3B7BC</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + <prop oor:name="YOffset"><value>-7</value></prop> + </node> + <node oor:name="InnerBorderSize"> + <prop oor:name="Left"><value>6</value></prop> + <prop oor:name="Top"><value>6</value></prop> + <prop oor:name="Right"><value>6</value></prop> + <prop oor:name="Bottom"><value>6</value></prop> + </node> + <node oor:name="OuterBorderSize"> + <prop oor:name="Left"><value>20</value></prop> + <prop oor:name="Top"><value>28</value></prop> + <prop oor:name="Right"><value>20</value></prop> + <prop oor:name="Bottom"><value>29</value></prop> + </node> + <node oor:name="BorderBitmapList"> + <node oor:name="Top" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderTop.png</value></prop> + <prop oor:name="YOffset"><value>6</value></prop> + </node> + <node oor:name="TopLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderTopLeft.png</value></prop> + <prop oor:name="XOffset"><value>6</value></prop> + <prop oor:name="YOffset"><value>6</value></prop> + </node> + <node oor:name="TopRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderTopRight.png</value></prop> + <prop oor:name="XOffset"><value>-6</value></prop> + <prop oor:name="YOffset"><value>6</value></prop> + </node> + <node oor:name="Left" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderLeft.png</value></prop> + <prop oor:name="XOffset"><value>6</value></prop> + </node> + <node oor:name="Right" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderRight.png</value></prop> + <prop oor:name="XOffset"><value>-6</value></prop> + </node> + <node oor:name="BottomLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderBottomLeft.png</value></prop> + <prop oor:name="XOffset"><value>6</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + </node> + <node oor:name="BottomRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderBottomRight.png</value></prop> + <prop oor:name="XOffset"><value>-6</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + </node> + <node oor:name="Bottom" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderBottom.png</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + </node> + </node> + </node> + <node oor:name="PaneStyle_2" oor:op="replace"> + <prop oor:name="StyleName"> + <value>ActivePaneStyle</value> + </prop> + <prop oor:name="ParentStyle"> + <value>DefaultPaneStyle</value> + </prop> + <node oor:name="TitleFont"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>14</value></prop> + <prop oor:name="Color"><value>FFFFFF</value></prop> + <prop oor:name="Anchor"><value>Center</value></prop> + <prop oor:name="YOffset"><value>-10</value></prop> + </node> + <node oor:name="BorderBitmapList"> + <node oor:name="Top" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveTop.png</value></prop> + <prop oor:name="YOffset"><value>6</value></prop> + </node> + <node oor:name="TopLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveTopLeft.png</value></prop> + <prop oor:name="XOffset"><value>6</value></prop> + <prop oor:name="YOffset"><value>6</value></prop> + </node> + <node oor:name="TopRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveTopRight.png</value></prop> + <prop oor:name="XOffset"><value>-6</value></prop> + <prop oor:name="YOffset"><value>6</value></prop> + </node> + <node oor:name="Left" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveLeft.png</value></prop> + <prop oor:name="XOffset"><value>6</value></prop> + </node> + <node oor:name="Right" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveRight.png</value></prop> + <prop oor:name="XOffset"><value>-6</value></prop> + </node> + <node oor:name="BottomLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveBottomLeft.png</value></prop> + <prop oor:name="XOffset"><value>6</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + </node> + <node oor:name="BottomRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveBottomRight.png</value></prop> + <prop oor:name="XOffset"><value>-6</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + </node> + <node oor:name="Bottom" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveBottom.png</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + </node> + </node> + </node> + <node oor:name="PaneStyle_3" oor:op="replace"> + <prop oor:name="StyleName"> + <value>ToolbarPaneStyle</value> + </prop> + <node oor:name="InnerBorderSize"> + <prop oor:name="Left"><value>4</value></prop> + <prop oor:name="Top"><value>4</value></prop> + <prop oor:name="Right"><value>4</value></prop> + <prop oor:name="Bottom"><value>4</value></prop> + </node> + <node oor:name="OuterBorderSize"> + <prop oor:name="Left"><value>8</value></prop> + <prop oor:name="Top"><value>8</value></prop> + <prop oor:name="Right"><value>8</value></prop> + <prop oor:name="Bottom"><value>0</value></prop> + </node> + <node oor:name="BorderBitmapList"> + <node oor:name="Top" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarTop.png</value></prop> + <prop oor:name="YOffset"><value>4</value></prop> + </node> + <node oor:name="TopLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarTopLeft.png</value></prop> + <prop oor:name="XOffset"><value>4</value></prop> + <prop oor:name="YOffset"><value>4</value></prop> + </node> + <node oor:name="TopRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarTopRight.png</value></prop> + <prop oor:name="XOffset"><value>-4</value></prop> + <prop oor:name="YOffset"><value>4</value></prop> + </node> + <node oor:name="Left" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarLeft.png</value></prop> + <prop oor:name="XOffset"><value>4</value></prop> + </node> + <node oor:name="Right" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarRight.png</value></prop> + <prop oor:name="XOffset"><value>-4</value></prop> + </node> + <node oor:name="BottomLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarLeft.png</value></prop> + <prop oor:name="XOffset"><value>4</value></prop> + </node> + <node oor:name="BottomRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarRight.png</value></prop> + <prop oor:name="XOffset"><value>-4</value></prop> + </node> + <node oor:name="Bottom" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderToolbarBottom.png</value></prop> + <prop oor:name="YOffset"><value>-4</value></prop> + </node> + </node> + </node> + <node oor:name="PaneStyle_4" oor:op="replace"> + <prop oor:name="StyleName"> + <value>ActiveBottomCalloutPaneStyle</value> + </prop> + <prop oor:name="ParentStyle"> + <value>ActivePaneStyle</value> + </prop> + <node oor:name="OuterBorderSize"> + <prop oor:name="Bottom"><value>52</value></prop> + </node> + <node oor:name="BorderBitmapList"> + <node oor:name="BottomCallout" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/BorderActiveBottomCallout.png</value></prop> + <prop oor:name="YOffset"><value>-6</value></prop> + <prop oor:name="XHotSpot"><value>49</value></prop> + <prop oor:name="YHotSpot"><value>41</value></prop> + </node> + </node> + </node> + </node> + <node oor:name="ViewStyles"> + <node oor:name="ViewStyle_1" oor:op="replace"> + <prop oor:name="StyleName"><value>DefaultViewStyle</value></prop> + <node oor:name="Font"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Size"><value>20</value></prop> + <prop oor:name="Color"><value>FFFFFF</value> + </prop> + </node> + <node oor:name="Background"> + <prop oor:name="NormalFileName"><value>bitmaps/ViewBackground.png</value></prop> + <prop oor:name="HorizontalTexturingMode"><value>Repeat</value></prop> + <prop oor:name="VerticalTexturingMode"><value>Repeat</value></prop> + <prop oor:name="ReplacementColor"><value>33000000</value></prop> + </node> + </node> + <node oor:name="ViewStyle_2" oor:op="replace"> + <prop oor:name="StyleName"><value>NotesViewStyle</value></prop> + <prop oor:name="ParentStyle"><value>DefaultViewStyle</value></prop> + <node oor:name="Font"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>26</value></prop> + <prop oor:name="Color"><value>d1d6dc</value></prop> + </node> + </node> + <node oor:name="ViewStyle_3" oor:op="replace"> + <prop oor:name="StyleName"><value>SlideSorterViewStyle</value></prop> + <prop oor:name="ParentStyle"><value>DefaultViewStyle</value></prop> + </node> + <node oor:name="ViewStyle_4" oor:op="replace"> + <prop oor:name="StyleName"><value>HelpViewStyle</value></prop> + <prop oor:name="ParentStyle"><value>DefaultViewStyle</value></prop> + <node oor:name="Font"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>20</value></prop> + <prop oor:name="Color"><value>ffffff</value></prop> + </node> + </node> + </node> + <node oor:name="Background"> + <prop oor:name="NormalFileName"><value>bitmaps/Background.png</value></prop> + <prop oor:name="ReplacementColor"><value>E4EFF9</value></prop> + <prop oor:name="HorizontalTexturingMode"><value>Repeat</value></prop> + <prop oor:name="VerticalTexturingMode"><value>Stretch</value></prop> + </node> + <node oor:name="Bitmaps"> + <node oor:name="ButtonFrameLeft" oor:op="replace"> + <prop oor:name="Name"><value>ButtonFrameLeft</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonFrameLeftNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ButtonFrameLeftMouseOver.png</value></prop> + <prop oor:name="YOffset"><value>2</value></prop> + </node> + <node oor:name="ButtonFrameCenter" oor:op="replace"> + <prop oor:name="Name"><value>ButtonFrameCenter</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonFrameCenterNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ButtonFrameCenterMouseOver.png</value></prop> + <prop oor:name="YOffset"><value>2</value></prop> + </node> + <node oor:name="ButtonFrameRight" oor:op="replace"> + <prop oor:name="Name"><value>ButtonFrameRight</value></prop> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonFrameRightNormal.png</value></prop> + <prop oor:name="MouseOverFileName"><value>bitmaps/ButtonFrameRightMouseOver.png</value></prop> + <prop oor:name="YOffset"><value>2</value></prop> + </node> + <node oor:name="LabelLeft" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/LabelMouseOverLeft.png</value></prop> + </node> + <node oor:name="LabelCenter" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/LabelMouseOverCenter.png</value></prop> + </node> + <node oor:name="LabelRight" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/LabelMouseOverRight.png</value></prop> + </node> + <node oor:name="MousePointerNextEffect" oor:op="replace"> + <prop oor:name="NormalFileName"><value>bitmaps/ButtonSlideNextNormal.png</value></prop> + </node> + </node> + <node oor:name="Fonts"> + <node oor:name="ButtonFont" oor:op="replace"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>18</value></prop> + <prop oor:name="Color"><value>b3b7bc</value></prop> + </node> + <node oor:name="ButtonMouseOverFont" oor:op="replace"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>18</value></prop> + <prop oor:name="Color"><value>ffffff</value></prop> + </node> + <node oor:name="SlideSorterLabelFont" oor:op="replace"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>20</value></prop> + <prop oor:name="Color"><value>ffffff</value></prop> + </node> + <node oor:name="PendingSlideNumberFont" oor:op="replace"> + <prop oor:name="FamilyName"><value></value></prop> + <prop oor:name="Style"><value>Bold</value></prop> + <prop oor:name="Size"><value>24</value></prop> + <prop oor:name="Color"><value>e02050</value></prop> + </node> + </node> + <node oor:name="StyleAssociations"> + <node oor:name="PreviewPane" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/pane/Presenter/Pane1</value> + </prop> + <prop oor:name="StyleName"> + <value>ActivePaneStyle</value> + </prop> + </node> + <node oor:name="PreviewView" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/view/Presenter/CurrentSlidePreview</value> + </prop> + <prop oor:name="StyleName"> + <value>DefaultViewStyle</value> + </prop> + </node> + <node oor:name="NextSlidePreviewPane" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/pane/Presenter/Pane2</value> + </prop> + <prop oor:name="StyleName"> + <value>DefaultPaneStyle</value> + </prop> + </node> + <node oor:name="NextSlidePreviewView" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/view/Presenter/NextSlidePreview</value> + </prop> + <prop oor:name="StyleName"> + <value>DefaultViewStyle</value> + </prop> + </node> + <node oor:name="ToolBarPane" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/pane/Presenter/Pane4</value> + </prop> + <prop oor:name="StyleName"> + <value>ToolbarPaneStyle</value> + </prop> + </node> + <node oor:name="ToolBarView" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/view/Presenter/ToolBar</value> + </prop> + <prop oor:name="StyleName"> + <value>DefaultViewStyle</value> + </prop> + </node> + <node oor:name="NotesPane" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/pane/Presenter/Pane3</value> + </prop> + <prop oor:name="StyleName"> + <value>ActivePaneStyle</value> + </prop> + </node> + <node oor:name="NotesView" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/view/Presenter/Notes</value> + </prop> + <prop oor:name="StyleName"> + <value>NotesViewStyle</value> + </prop> + </node> + <node oor:name="SlideSorter" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/view/Presenter/SlideSorter</value> + </prop> + <prop oor:name="StyleName"> + <value>SlideSorterViewStyle</value> + </prop> + </node> + <node oor:name="OverlayPane" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/pane/Presenter/Overlay</value> + </prop> + <prop oor:name="StyleName"> + <value>ActivePaneStyle</value> + </prop> + </node> + <node oor:name="HelpView" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/view/Presenter/Help</value> + </prop> + <prop oor:name="StyleName"> + <value>HelpViewStyle</value> + </prop> + </node> + <node oor:name="HelpPane" oor:op="replace"> + <prop oor:name="ResourceURL"> + <value>private:resource/pane/Presenter/Pane6</value> + </prop> + <prop oor:name="StyleName"> + <value>ActivePaneStyle</value> + </prop> + </node> + </node> + </node> + </node> + <node oor:name="Views"> + <node oor:name="CurrentSlidePreview" oor:op="replace"> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/CurrentSlidePreview</value> + </prop> + <prop oor:name="Title"> + <value xml:lang="en-US">Current Slide (%CURRENT_SLIDE_NUMBER% of %SLIDE_COUNT%)</value> + </prop> + <prop oor:name="AccessibleTitle"> + <value xml:lang="en-US">Current Slide, %CURRENT_SLIDE_NAME%, %CURRENT_SLIDE_NUMBER% of %SLIDE_COUNT%</value> + </prop> + <prop oor:name="IsOpaque"><value>true</value></prop> + <node oor:name="Strings"> + <node oor:name="ClickToExitPresentationText" oor:op="replace"> + <prop oor:name="String"> + <value xml:lang="en-US">Click to exit presentation...</value> + </prop> + </node> + <node oor:name="ClickToExitPresentationTitle" oor:op="replace"> + <prop oor:name="String"> + <value xml:lang="en-US">Current Slide (end)</value> + </prop> + </node> + </node> + </node> + <node oor:name="NextSlidePreview" oor:op="replace"> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/NextSlidePreview</value> + </prop> + <prop oor:name="Title"> + <value xml:lang="en-US">Next Slide</value> + </prop> + <prop oor:name="IsOpaque"><value>false</value></prop> + </node> + <node oor:name="ToolBar" oor:op="replace"> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/ToolBar</value> + </prop> + <prop oor:name="IsOpaque"><value>false</value></prop> + </node> + <node oor:name="NotesView" oor:op="replace"> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/Notes</value> + </prop> + <prop oor:name="Title"> + <value xml:lang="en-US">Notes</value> + </prop> + <prop oor:name="IsOpaque"><value>false</value></prop> + </node> + <node oor:name="SlideSorter" oor:op="replace"> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/SlideSorter</value> + </prop> + <prop oor:name="IsOpaque"><value>false</value></prop> + <prop oor:name="Title"> + <value xml:lang="en-US"></value> + </prop> + <prop oor:name="AccessibleTitle"> + <value xml:lang="en-US">Slide Overview, %CURRENT_SLIDE_NAME%, %CURRENT_SLIDE_NUMBER% of %SLIDE_COUNT%</value> + </prop> + </node> + <node oor:name="HelpView" oor:op="replace"> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/Help</value> + </prop> + <prop oor:name="Title"> + <value xml:lang="en-US">Help</value> + </prop> + <prop oor:name="IsOpaque"><value>false</value></prop> + </node> + </node> + <node oor:name="Layouts"> + <node oor:name="DefaultLayout" oor:op="replace"> + <prop oor:name="LayoutName"> + <value>DefaultLayout</value> + </prop> + <node oor:name="Layout"> + <node oor:name="CurrentSlidePreview" oor:op="replace"> + <prop oor:name="PaneURL"> + <value>private:resource/pane/Presenter/Pane1</value> + </prop> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/CurrentSlidePreview</value> + </prop> + <prop oor:name="RelativeX"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeY"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeWidth"> + <value>0.50</value> + </prop> + <prop oor:name="RelativeHeight"> + <value>0.50</value> + </prop> + </node> + <node oor:name="NextSlidePreview" oor:op="replace"> + <prop oor:name="PaneURL"> + <value>private:resource/pane/Presenter/Pane2</value> + </prop> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/NextSlidePreview</value> + </prop> + <prop oor:name="RelativeX"> + <value>0.60</value> + </prop> + <prop oor:name="RelativeY"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeWidth"> + <value>0.35</value> + </prop> + <prop oor:name="RelativeHeight"> + <value>0.35</value> + </prop> + </node> + <node oor:name="ToolBar" oor:op="replace"> + <prop oor:name="PaneURL"> + <value>private:resource/pane/Presenter/Pane4</value> + </prop> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/ToolBar</value> + </prop> + <prop oor:name="RelativeX"> + <value>0.60</value> + </prop> + <prop oor:name="RelativeY"> + <value>0.45</value> + </prop> + <prop oor:name="RelativeWidth"> + <value>0.25</value> + </prop> + <prop oor:name="RelativeHeight"> + <value>0.1</value> + </prop> + </node> + <node oor:name="NotesView" oor:op="replace"> + <prop oor:name="PaneURL"> + <value>private:resource/pane/Presenter/Pane3</value> + </prop> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/Notes</value> + </prop> + <prop oor:name="RelativeX"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeY"> + <value>0.60</value> + </prop> + <prop oor:name="RelativeWidth"> + <value>0.9</value> + </prop> + <prop oor:name="RelativeHeight"> + <value>0.35</value> + </prop> + </node> + <node oor:name="SlideSorter" oor:op="replace"> + <prop oor:name="PaneURL"> + <value>private:resource/pane/Presenter/Overlay</value> + </prop> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/SlideSorter</value> + </prop> + <prop oor:name="RelativeX"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeY"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeWidth"> + <value>0.95</value> + </prop> + <prop oor:name="RelativeHeight"> + <value>0.8</value> + </prop> + </node> + <node oor:name="HelpView" oor:op="replace"> + <prop oor:name="PaneURL"> + <value>private:resource/pane/Presenter/Pane6</value> + </prop> + <prop oor:name="ViewURL"> + <value>private:resource/view/Presenter/Help</value> + </prop> + <prop oor:name="RelativeX"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeY"> + <value>0.05</value> + </prop> + <prop oor:name="RelativeWidth"> + <value>0.95</value> + </prop> + <prop oor:name="RelativeHeight"> + <value>0.8</value> + </prop> + </node> + </node> + </node> + </node> + <node oor:name="Accessibility"> + <node oor:name="Console" oor:op="replace"> + <prop oor:name="String"> + <value xml:lang="en-US">Presenter Console</value> + </prop> + </node> + <node oor:name="Preview" oor:op="replace"> + <prop oor:name="String"> + <value xml:lang="en-US">Current Slide Info</value> + </prop> + </node> + <node oor:name="Notes" oor:op="replace"> + <prop oor:name="String"> + <value xml:lang="en-US">Presenter Notes</value> + </prop> + </node> + </node> + </node> +</oor:component-data> diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk b/sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk new file mode 100644 index 000000000000..44661a376d4e --- /dev/null +++ b/sdext/source/presenter/registry/data/org/openoffice/Office/extension/makefile.mk @@ -0,0 +1,47 @@ +#************************************************************** +# +# 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 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#************************************************************** + + + +PRJ=..$/..$/..$/..$/..$/..$/..$/.. + +PRJNAME=sdext +TARGET=data_ooOfficeext +PACKAGE=org.openoffice.Office.extension +EXTENSIONNAME=PresenterScreen + +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +XCSROOT=$(PRJ)$/source$/presenter +ABSXCSROOT=$(PWD)/$(PRJ)$/source$/presenter + +# --- Targets ------------------------------------------------------ + +XCUFILES= \ + PresenterScreen.xcu + +MODULEFILES= + +LOCALIZEDFILES= \ + PresenterScreen.xcu + +.INCLUDE : target.mk diff --git a/sdext/source/presenter/registry/data/org/openoffice/Office/makefile.mk b/sdext/source/presenter/registry/data/org/openoffice/Office/makefile.mk new file mode 100644 index 000000000000..d1551ff50cc1 --- /dev/null +++ b/sdext/source/presenter/registry/data/org/openoffice/Office/makefile.mk @@ -0,0 +1,44 @@ +#************************************************************** +# +# 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 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#************************************************************** + + + +PRJ=..$/..$/..$/..$/..$/..$/.. + +PRJNAME=sdext +TARGET=data_ooOffice +PACKAGE=org.openoffice.Office +EXTNAME=presenter + +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# --- Targets ------------------------------------------------------ + +XCUFILES= \ + Jobs.xcu \ + ProtocolHandler.xcu + +MODULEFILES= + +LOCALIZEDFILES= + +.INCLUDE : target.mk diff --git a/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs b/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs new file mode 100644 index 000000000000..4764a643a2c9 --- /dev/null +++ b/sdext/source/presenter/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs @@ -0,0 +1,465 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************** + * + * 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 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + ***********************************************************--> + + +<oor:component-schema xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:package="org.openoffice.Office.extension" oor:name="PresenterScreen"> + <info> + <author>AF</author> + <desc>Configuration of the Presenter Screen extension.</desc> + </info> + <import oor:component="org.openoffice.Office.Impress"></import> + <templates> + <group oor:name="BitmapDescriptor"> + <info><desc>Describes one bitmap that can be used as button icon or to paint + a pane border.</desc></info> + <prop oor:name="Name" oor:type="xs:string"> + <info><desc>Name of the bitmap. Used to look-up the bitmap in a container.</desc></info> + </prop> + <prop oor:name="Text" oor:type="xs:string"> + <info><desc>Text that is displayed together with the icon.</desc></info> + </prop> + <prop oor:name="NormalFileName" oor:type="xs:string"> + <info><desc>Relative file name to the bitmap for the normal icon.</desc></info> + </prop> + <prop oor:name="MouseOverFileName" oor:type="xs:string"> + <info><desc>Relative file name to the bitmap for the mouse over icon.</desc></info> + </prop> + <prop oor:name="ButtonDownFileName" oor:type="xs:string"> + <info><desc>Relative file name to the bitmap for the button down icon.</desc></info> + </prop> + <prop oor:name="DisabledFileName" oor:type="xs:string"> + <info><desc>Relative file name to the bitmap for the icon in disabled state.</desc></info> + </prop> + <prop oor:name="SelectedFileName" oor:type="xs:string"> + <info><desc>Relative file name to the bitmap for the icon in disabled state.</desc></info> + </prop> + <prop oor:name="MaskFileName" oor:type="xs:string"> + <info><desc>The file name of the mask bitmap. Use red for pixel outside of + the border and blue for inside pixels.</desc></info> + <value></value> + </prop> + <prop oor:name="XOffset" oor:type="xs:int"> + <info><desc>Horizontal offset to move the bitmap just outside the + window border.</desc></info> + <value>0</value> + </prop> + <prop oor:name="YOffset" oor:type="xs:int"> + <info><desc>Vertical offset to move the bitmap just outside the + window border.</desc></info> + <value>0</value> + </prop> + <prop oor:name="XHotSpot" oor:type="xs:int"> + <info><desc>Horizontal position of a hot spot.</desc></info> + </prop> + <prop oor:name="YHotSpot" oor:type="xs:int"> + <info><desc>Vertical position of a hot spot.</desc></info> + </prop> + <prop oor:name="ReplacementColor" oor:type="xs:hexBinary"> + <info><desc>Color that is used as replacement for the bitmap when the later + can for some reason not be used.</desc></info> + </prop> + <prop oor:name="HorizontalTexturingMode" oor:type="xs:string"> + <info><desc>Horizontal texturing mode.</desc></info> + <constraints> + <enumeration oor:value="Once"> + <info><desc>Show texture only once</desc></info> + </enumeration> + <enumeration oor:value="Repeat"> + <info><desc>Repeat the texture</desc></info> + </enumeration> + <enumeration oor:value="Stretch"> + <info><desc>Stretch the texture to cover the paint area</desc></info> + </enumeration> + </constraints> + </prop> + <prop oor:name="VerticalTexturingMode" oor:type="xs:string"> + <info><desc>Vertical texturing mode.</desc></info> + <constraints> + <enumeration oor:value="Once"> + <info><desc>Show texture only once</desc></info> + </enumeration> + <enumeration oor:value="Repeat"> + <info><desc>Repeat the texture</desc></info> + </enumeration> + <enumeration oor:value="Stretch"> + <info><desc>Stretch the texture to cover the paint area</desc></info> + </enumeration> + </constraints> + <value>Once</value> + </prop> + </group> + <group oor:name="ThemeBorderSize"> + <info><desc>Four values describing the sizes of a border around a + rectangular area.</desc></info> + <prop oor:name="Left" oor:type="xs:int"> + <info><desc>Left border size.</desc></info> + </prop> + <prop oor:name="Top" oor:type="xs:int"> + <info><desc>Top border size.</desc></info> + </prop> + <prop oor:name="Right" oor:type="xs:int"> + <info><desc>Right border size.</desc></info> + </prop> + <prop oor:name="Bottom" oor:type="xs:int"> + <info><desc>Bottom border size.</desc></info> + </prop> + </group> + <group oor:name="Font"> + <info><desc>Font description.</desc></info> + <prop oor:name="FamilyName" oor:type="xs:string"> + <info><desc>The name of the font family.</desc></info> + </prop> + <prop oor:name="Size" oor:type="xs:int"> + <info><desc>Font size.</desc></info> + </prop> + <prop oor:name="Style" oor:type="xs:string"> + <info><desc>Something like "Bold" or "Italic" or "Bold Italic".</desc></info> + </prop> + <prop oor:name="Color" oor:type="xs:hexBinary"> + <info><desc>Font color.</desc></info> + </prop> + <prop oor:name="Anchor" oor:type="xs:string"> + <info><desc>Orientation of text. Can be left, right, or centered.</desc></info> + <constraints> + <enumeration oor:value="Left"> + <info><desc>Flush left</desc></info> + </enumeration> + <enumeration oor:value="Right"> + <info><desc>Flush right</desc></info> + </enumeration> + <enumeration oor:value="Center"> + <info><desc>Centered</desc></info> + </enumeration> + </constraints> + </prop> + <prop oor:name="XOffset" oor:type="xs:int"> + <info><desc>Horizontal offset in relation to the anchor point.</desc></info> + </prop> + <prop oor:name="YOffset" oor:type="xs:int"> + <info><desc>Vertical offset in relation to the anchor point.</desc></info> + </prop> + </group> + <group oor:name="ToolBarDescription"> + <node-ref oor:name="Font" oor:node-type="Font"> + <info><desc>Font used for displaying the text.</desc></info> + </node-ref> + <node-ref oor:name="Icon" oor:node-type="BitmapDescriptor"> + <info><desc>The icon to display.</desc></info> + </node-ref> + <prop oor:name="Text" oor:type="xs:string"> + <info><desc>The text to display.</desc></info> + </prop> + <prop oor:name="Action" oor:type="xs:string"> + <info><desc>Action to execute when a button is triggered.</desc></info> + </prop> + </group> + <group oor:name="ToolBarEntry"> + <prop oor:name="Name" oor:type="xs:string"> + <info><desc>Name of the entry. May be used to have mode dependant entries.</desc></info> + </prop> + <prop oor:name="Type" oor:type="xs:string"> + <info><desc>Type of the entry. Examples are "Label" and "Button".</desc></info> + </prop> + <node-ref oor:name="Normal" oor:node-type="ToolBarDescription"> + <info><desc>Description of a tool bar entry in normal mode (not selected, not mouse over)</desc></info> + </node-ref> + <node-ref oor:name="MouseOver" oor:node-type="ToolBarDescription"> + <info><desc>Description of a tool bar entry when the mouse is over it.</desc></info> + </node-ref> + <node-ref oor:name="Selected" oor:node-type="ToolBarDescription"> + <info><desc>Description of a tool bar entry when it is selected.</desc></info> + </node-ref> + <node-ref oor:name="Disabled" oor:node-type="ToolBarDescription"> + <info><desc>Description of a tool bar entry when it is disabled.</desc></info> + </node-ref> + </group> + <group oor:name="ToolBar"> + <info><desc>Definition of one tool bar.</desc></info> + <set oor:name="Entries" oor:node-type="ToolBarEntry"> + <info><desc>Entries of the tool bars.</desc></info> + </set> + </group> + <group oor:name="Button"> + <prop oor:name="Name" oor:type="xs:string"> + <info><desc>Name of the button that is used to look up the button.</desc></info> + </prop> + <node-ref oor:name="Font" oor:node-type="Font"> + <info><desc>Font used for displaying the text.</desc></info> + </node-ref> + <node-ref oor:name="Icon" oor:node-type="BitmapDescriptor"> + <info><desc>The icon to display.</desc></info> + </node-ref> + <prop oor:name="Text" oor:type="xs:string"> + <info><desc>The text to display.</desc></info> + </prop> + <prop oor:name="Action" oor:type="xs:string"> + <info><desc>Action to execute when a button is triggered.</desc></info> + </prop> + </group> + <group oor:name="HelpEntry"> + <prop oor:name="Left" oor:type="xs:string"> + <info><desc>Typically a list of keyboard key names.</desc></info> + </prop> + <prop oor:name="Right" oor:type="xs:string"> + <info><desc>Typically a description of the action triggered by pressing the keys on the left.</desc></info> + </prop> + </group> + <group oor:name="PaneStyle"> + <info><desc>Visual properties of a pane style: + the border of a pane and its title font.</desc></info> + <prop oor:name="StyleName" oor:type="xs:string"> + <info><desc>Name of the style. Used for referencing the style. + Has to be unique among pane styles and view styles + in one theme.</desc></info> + </prop> + <prop oor:name="ParentStyle" oor:type="xs:string"> + <info><desc>Name of the parent style. Values not supplied in this style + are taken from the parent style. Empty string or missing + mean no parent.</desc></info> + <value></value> + </prop> + <node-ref oor:name="TitleFont" oor:node-type="Font"> + <info><desc>Font used for displaying the pane title.</desc></info> + </node-ref> + <node-ref oor:name="InnerBorderSize" oor:node-type="ThemeBorderSize"> + <info><desc>Size of the inner part of the border.</desc></info> + </node-ref> + <node-ref oor:name="OuterBorderSize" oor:node-type="ThemeBorderSize"> + <info><desc>Size of the outer part of the border.</desc></info> + </node-ref> + <set oor:name="BorderBitmapList" oor:node-type="BitmapDescriptor"> + <info><desc>Bitmaps that are used to paint the borders of + a pane.</desc></info> + </set> + </group> + <group oor:name="ViewStyle"> + <info><desc>Visual properties of a view style: + font and backround color.</desc></info> + <prop oor:name="StyleName" oor:type="xs:string"> + <info><desc>Name of the style. Used for referencing the style. + Has to be unique among pane styles and view styles + in one theme.</desc></info> + </prop> + <prop oor:name="ParentStyle" oor:type="xs:string"> + <info><desc>Name of the parent style. Values not supplied in this style + are taken from the parent style. Empty string or missing + mean no parent.</desc></info> + <value></value> + </prop> + <node-ref oor:name="Font" oor:node-type="Font"> + <info><desc>Font used for text display inside a view.</desc></info> + </node-ref> + <node-ref oor:name="Background" oor:node-type="BitmapDescriptor"> + <info><desc>Color (or bitmap) that is used to paint the + background of a view.</desc></info> + </node-ref> + </group> + <group oor:name="Style_Association"> + <info><desc>Association of a drawing framework resource to a + style of the presenter theme.</desc></info> + <prop oor:name="ResourceURL" oor:type="xs:string"> + <info><desc>URL of a drawing framework resource.</desc></info> + </prop> + <prop oor:name="StyleName" oor:type="xs:string"> + <info><desc>Name of a pane style or a view style.</desc></info> + </prop> + </group> + <group oor:name="PresenterString"> + <info><desc></desc></info> + <prop oor:name="String" oor:type="xs:string"> + </prop> + </group> + <group oor:name="ViewDescription"> + <info><desc>Association of a drawing framework resource to a + style of the presenter theme.</desc></info> + <prop oor:name="ViewURL" oor:type="xs:string"> + <info><desc>URL of a drawing framework view.</desc></info> + </prop> + <prop oor:name="StyleName" oor:type="xs:string"> + <info><desc>Name of a view style.</desc></info> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <info><desc>Title displayed for the component. An empty or missing + title means that no title is displayed.</desc></info> + <value></value> + </prop> + <prop oor:name="AccessibleTitle" oor:type="xs:string"> + <info><desc>Title displayed for the component when accessibility support is active. + An empty or missing title means that no title is displayed.</desc></info> + <value></value> + </prop> + <prop oor:name="IsOpaque" oor:type="xs:boolean"> + <info><desc>When the value is false then the background is painted before the + view is painted.</desc></info> + <value>false</value> + </prop> + <set oor:name="Strings" oor:node-type="PresenterString"> + <info><desc>List of localizable strings used by the view.</desc></info> + </set> + </group> + <group oor:name="PresenterTheme"> + <info><desc>Visual properties of the presenter view. The values in a theme + are hints and can be ignored.</desc></info> + <prop oor:name="ThemeName" oor:type="xs:string"> + <info><desc>Name of the theme. Used for referencing the theme. + Has to be unique among all themes. The name of the + default theme is 'DefaultTheme'</desc></info> + </prop> + <prop oor:name="ParentTheme" oor:type="xs:string"> + <info><desc>Name of the parent theme. Values not supplied in this theme + are taken from the parent theme. Empty string or missing + mean default theme.</desc></info> + <value></value> + </prop> + <prop oor:name="BitmapSourceExtension" oor:type="xs:string"> + <info><desc>Name of the extension which contains the bitmaps + referenced by this theme.</desc></info> + <value></value> + </prop> + <node-ref oor:name="Background" oor:node-type="BitmapDescriptor"> + <info><desc>Color or bitmap that is used to paint the + background.</desc></info> + </node-ref> + <set oor:name="PaneStyles" oor:node-type="PaneStyle"> + <info><desc>List of pane styles.</desc></info> + </set> + <set oor:name="ViewStyles" oor:node-type="ViewStyle"> + <info><desc>List of view styles.</desc></info> + </set> + <set oor:name="StyleAssociations" oor:node-type="Style_Association"> + <info><desc>List of style associations.</desc></info> + </set> + <set oor:name="Bitmaps" oor:node-type="BitmapDescriptor"> + <info><desc>List of additional bitmaps for example for buttons.</desc></info> + </set> + <set oor:name="Fonts" oor:node-type="Font"> + <info><desc>List of additional fonts.</desc></info> + </set> + </group> + <group oor:name="PresenterComponentLayout"> + <info><desc>Layout of a component of the presenter screen.</desc></info> + <prop oor:name="PaneURL" oor:type="xs:string"> + <info><desc>URL of a pane resource.</desc></info> + </prop> + <prop oor:name="ViewURL" oor:type="xs:string"> + <info><desc>URL of a view resource that is to be displayed in + the pane.</desc></info> + </prop> + <prop oor:name="RelativeX" oor:type="xs:double"> + <info><desc>Relative x position in the range of [0,1].</desc></info> + </prop> + <prop oor:name="RelativeY" oor:type="xs:double"> + <info><desc>Relative y position in the range of [0,1].</desc></info> + </prop> + <prop oor:name="RelativeWidth" oor:type="xs:double"> + <info><desc>Relative width in the range of [0,1].</desc></info> + </prop> + <prop oor:name="RelativeHeight" oor:type="xs:double"> + <info><desc>Relative height in the range of [0,1].</desc></info> + </prop> + </group> + <group oor:name="PresenterLayout"> + <info><desc>Layout of all components of the presenter screen.</desc></info> + <prop oor:name="LayoutName" oor:type="xs:string"> + <info><desc>Name of the layout. Used for referencing the layout. + Has to be unique among all presenter layouts.</desc></info> + </prop> + <prop oor:name="ParentLayout" oor:type="xs:string"> + <info><desc>Name of the parent layout. Values not supplied in this layout + are taken from the parent layout. Missing or empty string + mean no parent layout.</desc></info> + <value></value> + </prop> + <set oor:name="Layout" oor:node-type="PresenterComponentLayout"> + <info><desc>List of component layouts.</desc></info> + </set> + </group> + </templates> + <component> + <group oor:name="PresenterScreenSettings"> + <info><desc>Settings regarding controls that are only used by the Presenter + Screen.</desc></info> + <set oor:name="ToolBars" oor:node-type="ToolBar"> + <info><desc>Set of tool bars.</desc></info> + </set> + <set oor:name="Buttons" oor:node-type="Button"> + <info><desc>Set of buttons.</desc></info> + </set> + <group oor:name="ScrollBar"> + <info><desc>Settings of scroll bars.</desc></info> + <set oor:name="Bitmaps" oor:node-type="BitmapDescriptor"> + <info><desc>Bitmaps of icons used for displaying the scroll bar.</desc></info> + </set> + </group> + <group oor:name="SlideSorter"> + <info><desc>Settings of the slide sorter of the presenter screen.</desc></info> + <node-ref oor:name="BorderSize" oor:node-type="ThemeBorderSize"> + <info><desc>Size of the border around the current slide.</desc></info> + </node-ref> + <set oor:name="CurrentSlideBorderBitmaps" oor:node-type="BitmapDescriptor"> + <info><desc>Bitmaps that are used to paint the border around the current + slide.</desc></info> + </set> + </group> + <group oor:name="HelpView"> + <info><desc>Settings of help view.</desc></info> + <set oor:name="HelpStrings" oor:node-type="HelpEntry"> + <info><desc>List of entries displayed in the help view.</desc></info> + </set> + </group> + </group> + <group oor:name="Presenter"> + <info><desc>General properties of the presenter view.</desc></info> + <prop oor:name="StartAlways" oor:type="xs:boolean"> + <info><desc>When true then presenter screen is displayed on single screen systems + or when fullscreen presentation spans all screens.</desc></info> + <value>false</value> + </prop> + <set oor:name="Themes" oor:node-type="PresenterTheme"> + <info><desc>List of available themes.</desc></info> + </set> + <prop oor:name="CurrentTheme" oor:type="xs:string"> + <info><desc>Name of the current theme. An empty name or the string "DefaultTheme" + specify the default theme.</desc></info> + <value>DefaultTheme</value> + </prop> + <set oor:name="Views" oor:node-type="ViewDescription"> + <info><desc>Description of the views.</desc></info> + </set> + <set oor:name="Layouts" oor:node-type="PresenterLayout"> + <info><desc>List of visible presenter components.</desc></info> + </set> + <prop oor:name="CurrentLayout" oor:type="xs:string"> + <info><desc>Name of the current layout. An empty name or the + string "DefaultLayout" specify the default layout.</desc></info> + <value>DefaultLayout</value> + </prop> + <set oor:name="Accessibility" oor:node-type="PresenterString"> + <info><desc>Strings that are used make the presenter console accessible.</desc></info> + </set> + <prop oor:name="InitialViewMode" oor:type="xs:int"> + <info><desc>The view mode on start up of the extension. Valid values are 0 for the Preview-only mode, 1 for the notes view, 2 for the slide overview.</desc></info> + <value>0</value> + </prop> + </group> + </component> +</oor:component-schema> |