PresenterAccessibility.cxx (5d03e972) PresenterAccessibility.cxx (45b93914)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 448 unchanged lines hidden (view full) ---

457public:
458 static rtl::Reference<PresenterAccessible::AccessibleObject> Create (
459 const css::uno::Reference<css::uno::XComponentContext>& rxContext,
460 const lang::Locale aLocale)
461 {
462 OUString sName (A2S("Presenter Console"));
463 PresenterConfigurationAccess aConfiguration (
464 rxContext,
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 448 unchanged lines hidden (view full) ---

457public:
458 static rtl::Reference<PresenterAccessible::AccessibleObject> Create (
459 const css::uno::Reference<css::uno::XComponentContext>& rxContext,
460 const lang::Locale aLocale)
461 {
462 OUString sName (A2S("Presenter Console"));
463 PresenterConfigurationAccess aConfiguration (
464 rxContext,
465 OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"),
465 OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"),
466 PresenterConfigurationAccess::READ_ONLY);
467 aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Console/String"))
468 >>= sName;
469
470 rtl::Reference<PresenterAccessible::AccessibleObject> pObject (
471 new PresenterAccessible::AccessibleObject(
472 aLocale, AccessibleRole::PANEL, sName));
473 pObject->LateInitialization();

--- 16 unchanged lines hidden (view full) ---

490 const lang::Locale aLocale,
491 const Reference<awt::XWindow>& rxContentWindow,
492 const Reference<awt::XWindow>& rxBorderWindow)
493 {
494 OUString sName (A2S("Presenter Notes Window"));
495 {
496 PresenterConfigurationAccess aConfiguration (
497 rxContext,
466 PresenterConfigurationAccess::READ_ONLY);
467 aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Console/String"))
468 >>= sName;
469
470 rtl::Reference<PresenterAccessible::AccessibleObject> pObject (
471 new PresenterAccessible::AccessibleObject(
472 aLocale, AccessibleRole::PANEL, sName));
473 pObject->LateInitialization();

--- 16 unchanged lines hidden (view full) ---

490 const lang::Locale aLocale,
491 const Reference<awt::XWindow>& rxContentWindow,
492 const Reference<awt::XWindow>& rxBorderWindow)
493 {
494 OUString sName (A2S("Presenter Notes Window"));
495 {
496 PresenterConfigurationAccess aConfiguration (
497 rxContext,
498 OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"),
498 OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"),
499 PresenterConfigurationAccess::READ_ONLY);
500 aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Preview/String"))
501 >>= sName;
502 }
503
504 rtl::Reference<PresenterAccessible::AccessibleObject> pObject (
505 new PresenterAccessible::AccessibleObject(
506 aLocale,

--- 1737 unchanged lines hidden (view full) ---

2244 const Reference<awt::XWindow>& rxContentWindow,
2245 const Reference<awt::XWindow>& rxBorderWindow,
2246 const ::boost::shared_ptr<PresenterTextView>& rpTextView)
2247{
2248 OUString sName (A2S("Presenter Notes Text"));
2249 {
2250 PresenterConfigurationAccess aConfiguration (
2251 rxContext,
499 PresenterConfigurationAccess::READ_ONLY);
500 aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Preview/String"))
501 >>= sName;
502 }
503
504 rtl::Reference<PresenterAccessible::AccessibleObject> pObject (
505 new PresenterAccessible::AccessibleObject(
506 aLocale,

--- 1737 unchanged lines hidden (view full) ---

2244 const Reference<awt::XWindow>& rxContentWindow,
2245 const Reference<awt::XWindow>& rxBorderWindow,
2246 const ::boost::shared_ptr<PresenterTextView>& rpTextView)
2247{
2248 OUString sName (A2S("Presenter Notes Text"));
2249 {
2250 PresenterConfigurationAccess aConfiguration (
2251 rxContext,
2252 OUString::createFromAscii("/org.openoffice.Office.PresenterScreen/"),
2252 OUString::createFromAscii("/org.openoffice.Office.extension.PresenterScreen/"),
2253 PresenterConfigurationAccess::READ_ONLY);
2254 aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Notes/String"))
2255 >>= sName;
2256 }
2257
2258 rtl::Reference<AccessibleNotes> pObject (
2259 new AccessibleNotes(
2260 aLocale,

--- 223 unchanged lines hidden ---
2253 PresenterConfigurationAccess::READ_ONLY);
2254 aConfiguration.GetConfigurationNode(A2S("Presenter/Accessibility/Notes/String"))
2255 >>= sName;
2256 }
2257
2258 rtl::Reference<AccessibleNotes> pObject (
2259 new AccessibleNotes(
2260 aLocale,

--- 223 unchanged lines hidden ---