Clean up function declarations and some unused functions
Change-Id: I7a2b5970fd0ab2059b5f5b0100a049e04ba54ee3
This commit is contained in:
parent
efadf1f90b
commit
1531b523bf
42
sd/inc/Annotation.hxx
Normal file
42
sd/inc/Annotation.hxx
Normal file
@ -0,0 +1,42 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_ANNOTATION_HXX
|
||||
#define INCLUDED_SD_INC_ANNOTATION_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
class SdPage;
|
||||
class SdrUndoAction;
|
||||
|
||||
namespace com { namespace sun { namespace star { namespace office {
|
||||
class XAnnotation;
|
||||
} } } }
|
||||
|
||||
namespace sd {
|
||||
|
||||
void createAnnotation( css::uno::Reference< css::office::XAnnotation >& xAnnotation, SdPage* pPage );
|
||||
|
||||
SdrUndoAction* CreateUndoInsertOrRemoveAnnotation( const css::uno::Reference< css::office::XAnnotation >& xAnnotation, bool bInsert );
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
39
sd/inc/AnnotationEnumeration.hxx
Normal file
39
sd/inc/AnnotationEnumeration.hxx
Normal file
@ -0,0 +1,39 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_ANNOTATIONENUMERATION_HXX
|
||||
#define INCLUDED_SD_INC_ANNOTATIONENUMERATION_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <sdpage.hxx>
|
||||
|
||||
namespace com { namespace sun { namespace star { namespace office {
|
||||
class XAnnotationEnumeration;
|
||||
} } } }
|
||||
|
||||
namespace sd {
|
||||
|
||||
css::uno::Reference< css::office::XAnnotationEnumeration > createAnnotationEnumeration( const AnnotationVector& );
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
37
sd/inc/createpresentation.hxx
Normal file
37
sd/inc/createpresentation.hxx
Normal file
@ -0,0 +1,37 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_CREATEPRESENTATION_HXX
|
||||
#define INCLUDED_SD_INC_CREATEPRESENTATION_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
|
||||
namespace com { namespace sun { namespace star { namespace presentation {
|
||||
class XPresentation2;
|
||||
} } } }
|
||||
class SdDrawDocument;
|
||||
|
||||
css::uno::Reference<css::presentation::XPresentation2> CreatePresentation(
|
||||
SdDrawDocument const & rDocument);
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
32
sd/inc/createunocustomshow.hxx
Normal file
32
sd/inc/createunocustomshow.hxx
Normal file
@ -0,0 +1,32 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_CREATEUNOCUSTOMSHOW_HXX
|
||||
#define INCLUDED_SD_INC_CREATEUNOCUSTOMSHOW_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
class SdCustomShow;
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> createUnoCustomShow(
|
||||
SdCustomShow * pShow);
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
29
sd/inc/createunopageimpl.hxx
Normal file
29
sd/inc/createunopageimpl.hxx
Normal file
@ -0,0 +1,29 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_CREATEUNOPAGEIMPL_HXX
|
||||
#define INCLUDED_SD_INC_CREATEUNOPAGEIMPL_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > createUnoPageImpl( SdPage* pPage );
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
33
sd/inc/notifydocumentevent.hxx
Normal file
33
sd/inc/notifydocumentevent.hxx
Normal file
@ -0,0 +1,33 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_NOTIFYDOCUMENTEVENT_HXX
|
||||
#define INCLUDED_SD_INC_NOTIFYDOCUMENTEVENT_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
class SdDrawDocument;
|
||||
|
||||
void NotifyDocumentEvent( SdDrawDocument* pDocument, const OUString& rEventName );
|
||||
|
||||
void NotifyDocumentEvent( SdDrawDocument* pDocument, const OUString& rEventName, const css::uno::Reference< css::uno::XInterface >& xSource );
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
34
sd/inc/randomnode.hxx
Normal file
34
sd/inc/randomnode.hxx
Normal file
@ -0,0 +1,34 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_INC_RANDOMNODE_HXX
|
||||
#define INCLUDED_SD_INC_RANDOMNODE_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd {
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> RandomAnimationNode_createInstance(
|
||||
sal_Int16 nPresetClass);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
@ -45,6 +45,7 @@
|
||||
// header for class SdrObjListIter
|
||||
#include <svx/svditer.hxx>
|
||||
|
||||
#include "CustomAnimationCloner.hxx"
|
||||
#include "sdpage.hxx"
|
||||
|
||||
using namespace ::com::sun::star::uno;
|
||||
|
@ -2355,12 +2355,6 @@ void CustomAnimationTextGroup::addEffect( CustomAnimationEffectPtr& pEffect )
|
||||
}
|
||||
}
|
||||
|
||||
class TextGroupMapImpl : public std::map< sal_Int32, CustomAnimationTextGroup* >
|
||||
{
|
||||
public:
|
||||
CustomAnimationTextGroup* findGroup( sal_Int32 nGroupId );
|
||||
};
|
||||
|
||||
CustomAnimationTextGroupPtr EffectSequenceHelper::findGroup( sal_Int32 nGroupId )
|
||||
{
|
||||
CustomAnimationTextGroupPtr aPtr;
|
||||
|
@ -17,10 +17,11 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
|
||||
#include "osl/time.h"
|
||||
#include "sal/config.h"
|
||||
|
||||
#include "boost/noncopyable.hpp"
|
||||
#include "osl/time.h"
|
||||
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/office/XAnnotation.hpp>
|
||||
#include <com/sun/star/drawing/XDrawPage.hpp>
|
||||
@ -30,7 +31,9 @@
|
||||
#include <cppuhelper/compbase1.hxx>
|
||||
#include <cppuhelper/basemutex.hxx>
|
||||
|
||||
#include "Annotation.hxx"
|
||||
#include "drawdoc.hxx"
|
||||
#include "notifydocumentevent.hxx"
|
||||
#include "sdpage.hxx"
|
||||
#include "textapi.hxx"
|
||||
|
||||
@ -44,13 +47,12 @@ using namespace ::com::sun::star::text;
|
||||
using namespace ::com::sun::star::util;
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
extern void NotifyDocumentEvent( SdDrawDocument* pDocument, const OUString& rEventName, const Reference< XInterface >& xSource );
|
||||
|
||||
namespace sd {
|
||||
|
||||
class Annotation : private ::cppu::BaseMutex,
|
||||
public ::cppu::WeakComponentImplHelper1< XAnnotation>,
|
||||
public ::cppu::PropertySetMixin< XAnnotation >
|
||||
public ::cppu::PropertySetMixin< XAnnotation >,
|
||||
private boost::noncopyable
|
||||
{
|
||||
public:
|
||||
explicit Annotation( const Reference< XComponentContext >& context, SdPage* pPage );
|
||||
@ -85,9 +87,6 @@ public:
|
||||
virtual Reference< XText > SAL_CALL getTextRange() throw (RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
private:
|
||||
Annotation(const Annotation &); // not defined
|
||||
Annotation& operator=(const Annotation &); // not defined
|
||||
|
||||
// destructor is private and will be called indirectly by the release call virtual ~Annotation() {}
|
||||
|
||||
void createChangeUndo();
|
||||
|
@ -20,11 +20,13 @@
|
||||
|
||||
#include "sal/config.h"
|
||||
|
||||
#include "boost/noncopyable.hpp"
|
||||
#include "cppuhelper/implbase1.hxx"
|
||||
|
||||
#include "com/sun/star/uno/XComponentContext.hpp"
|
||||
#include "com/sun/star/office/XAnnotationEnumeration.hpp"
|
||||
|
||||
#include "AnnotationEnumeration.hxx"
|
||||
#include "sdpage.hxx"
|
||||
|
||||
using namespace ::com::sun::star::uno;
|
||||
@ -34,7 +36,7 @@ using namespace ::com::sun::star::lang;
|
||||
|
||||
namespace sd {
|
||||
|
||||
class AnnotationEnumeration: public ::cppu::WeakImplHelper1< css::office::XAnnotationEnumeration >
|
||||
class AnnotationEnumeration: public ::cppu::WeakImplHelper1< css::office::XAnnotationEnumeration >, private boost::noncopyable
|
||||
{
|
||||
public:
|
||||
AnnotationEnumeration( const AnnotationVector& rAnnotations );
|
||||
@ -44,9 +46,6 @@ public:
|
||||
virtual css::uno::Reference< css::office::XAnnotation > SAL_CALL nextElement() throw (css::uno::RuntimeException, css::container::NoSuchElementException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
private:
|
||||
AnnotationEnumeration(const AnnotationEnumeration &); // not defined
|
||||
AnnotationEnumeration& operator=(const AnnotationEnumeration &); // not defined
|
||||
|
||||
// destructor is private and will be called indirectly by the release call virtual ~AnnotationEnumeration() {}
|
||||
|
||||
AnnotationVector maAnnotations;
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
|
||||
#include "createunocustomshow.hxx"
|
||||
#include "sdiocmpt.hxx"
|
||||
#include "cusshow.hxx"
|
||||
#include "sdpage.hxx"
|
||||
@ -71,8 +72,6 @@ SdCustomShow::~SdCustomShow()
|
||||
xComponent->dispose();
|
||||
}
|
||||
|
||||
extern uno::Reference< uno::XInterface > createUnoCustomShow( SdCustomShow* pShow );
|
||||
|
||||
uno::Reference< uno::XInterface > SdCustomShow::getUnoCustomShow()
|
||||
{
|
||||
// try weak reference first
|
||||
|
@ -17,7 +17,9 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include "createpresentation.hxx"
|
||||
#include "drawdoc.hxx"
|
||||
#include "cusshow.hxx"
|
||||
#include "customshowlist.hxx"
|
||||
@ -40,8 +42,6 @@ void SdDrawDocument::ReplacePageInCustomShows( const SdPage* pOldPage, const SdP
|
||||
}
|
||||
}
|
||||
|
||||
extern Reference< XPresentation2 > CreatePresentation( const SdDrawDocument& rDocument );
|
||||
|
||||
const Reference< XPresentation2 >& SdDrawDocument::getPresentation() const
|
||||
{
|
||||
if( !mxPresentation.is() )
|
||||
|
@ -57,6 +57,7 @@
|
||||
#include "../ui/inc/DrawDocShell.hxx"
|
||||
#include "Outliner.hxx"
|
||||
#include "app.hrc"
|
||||
#include "createunopageimpl.hxx"
|
||||
#include "drawdoc.hxx"
|
||||
#include "sdpage.hxx"
|
||||
#include "pglink.hxx"
|
||||
@ -2661,8 +2662,6 @@ OUString SdPage::GetPresObjText(PresObjKind eObjKind) const
|
||||
return aString;
|
||||
}
|
||||
|
||||
extern uno::Reference< uno::XInterface > createUnoPageImpl( SdPage* pPage );
|
||||
|
||||
uno::Reference< uno::XInterface > SdPage::createUnoPage()
|
||||
{
|
||||
return createUnoPageImpl( this );
|
||||
|
@ -31,6 +31,8 @@
|
||||
#include <editeng/xmlcnitm.hxx>
|
||||
#include <svx/svditer.hxx>
|
||||
|
||||
#include "Annotation.hxx"
|
||||
#include "notifydocumentevent.hxx"
|
||||
#include "sdresid.hxx"
|
||||
#include "sdpage.hxx"
|
||||
#include "glob.hxx"
|
||||
@ -52,8 +54,6 @@ using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::office;
|
||||
|
||||
extern void NotifyDocumentEvent( SdDrawDocument* pDocument, const OUString& rEventName, const Reference< XInterface >& xSource );
|
||||
|
||||
/*************************************************************************
|
||||
|*
|
||||
|* Sets: names of layout, master page links and templates for presentation
|
||||
@ -608,12 +608,6 @@ sal_Int32 SdPage::getHash() const
|
||||
return stringify().hashCode();
|
||||
}
|
||||
|
||||
|
||||
namespace sd {
|
||||
extern void createAnnotation( Reference< XAnnotation >& xAnnotation, SdPage* pPage );
|
||||
extern SdrUndoAction* CreateUndoInsertOrRemoveAnnotation( const Reference< XAnnotation >& xAnnotation, bool bInsert );
|
||||
}
|
||||
|
||||
void SdPage::createAnnotation( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation )
|
||||
{
|
||||
sd::createAnnotation( xAnnotation, this );
|
||||
|
@ -17,6 +17,9 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <com/sun/star/util/XCloneable.hpp>
|
||||
#include <com/sun/star/animations/XAnimationNode.hpp>
|
||||
#include "CustomAnimationCloner.hxx"
|
||||
@ -110,7 +113,7 @@ OUString UndoAnimation::GetComment() const
|
||||
return SdResId(STR_UNDO_ANIMATION).toString();
|
||||
}
|
||||
|
||||
struct UndoAnimationPathImpl
|
||||
struct UndoAnimationPathImpl: private boost::noncopyable
|
||||
{
|
||||
SdPage* mpPage;
|
||||
sal_Int32 mnEffectOffset;
|
||||
@ -147,11 +150,6 @@ struct UndoAnimationPathImpl
|
||||
}
|
||||
return pEffect;
|
||||
}
|
||||
|
||||
private:
|
||||
UndoAnimationPathImpl( const UndoAnimationPathImpl& ); //not implemented
|
||||
const UndoAnimationPathImpl& operator=( const UndoAnimationPathImpl& ); // not implemented
|
||||
|
||||
};
|
||||
|
||||
UndoAnimationPath::UndoAnimationPath( SdDrawDocument* pDoc, SdPage* pThePage, const com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode )
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
#include <facreg.hxx>
|
||||
|
||||
using namespace com::sun::star::uno;
|
||||
using namespace com::sun::star::lang;
|
||||
using namespace com::sun::star::document;
|
||||
|
@ -64,6 +64,7 @@
|
||||
#include <pptinanimations.hxx>
|
||||
#include <pptatom.hxx>
|
||||
#include "pptin.hxx"
|
||||
#include "randomnode.hxx"
|
||||
#include <algorithm>
|
||||
|
||||
using ::std::map;
|
||||
@ -77,11 +78,6 @@ using namespace ::com::sun::star::drawing;
|
||||
using namespace ::com::sun::star::animations;
|
||||
using namespace ::com::sun::star::presentation;
|
||||
|
||||
namespace sd
|
||||
{
|
||||
extern Reference< XInterface > RandomAnimationNode_createInstance( sal_Int16 nPresetClass );
|
||||
}
|
||||
|
||||
namespace ppt
|
||||
{
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
|
||||
#include "drawdoc.hxx"
|
||||
#include "glob.hxx"
|
||||
#include "sdtransform.hxx"
|
||||
|
||||
using namespace ::com::sun::star::style;
|
||||
|
||||
|
29
sd/source/filter/xml/sdtransform.hxx
Normal file
29
sd/source/filter/xml/sdtransform.hxx
Normal file
@ -0,0 +1,29 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_FILTER_XML_SDTRANSFORM_HXX
|
||||
#define INCLUDED_SD_SOURCE_FILTER_XML_SDTRANSFORM_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
void TransformOOo2xDocument( SdDrawDocument* pDocument );
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
@ -63,6 +63,7 @@
|
||||
|
||||
#include "sderror.hxx"
|
||||
#include "sdresid.hxx"
|
||||
#include "sdtransform.hxx"
|
||||
#include "glob.hrc"
|
||||
|
||||
#include <sfx2/frame.hxx>
|
||||
@ -75,8 +76,6 @@ using namespace comphelper;
|
||||
|
||||
#define SD_XML_READERROR 1234
|
||||
|
||||
extern void TransformOOo2xDocument( SdDrawDocument* pDocument );
|
||||
|
||||
char const sXML_metaStreamName[] = "meta.xml";
|
||||
char const sXML_styleStreamName[] = "styles.xml";
|
||||
char const sXML_contentStreamName[] = "content.xml";
|
||||
|
@ -68,6 +68,7 @@
|
||||
|
||||
#include "glob.hrc"
|
||||
#include "CustomAnimationDialog.hxx"
|
||||
#include "CustomAnimationPane.hxx"
|
||||
#include "CustomAnimation.hrc"
|
||||
#include "STLPropertySet.hxx"
|
||||
|
||||
@ -94,7 +95,6 @@ using ::com::sun::star::beans::XPropertySet;
|
||||
|
||||
namespace sd {
|
||||
|
||||
extern void fillRepeatComboBox( ListBox* pBox );
|
||||
extern void fillDurationComboBox( ListBox* pBox );
|
||||
extern OUString getShapeDescription( const Reference< XShape >& xShape, bool bWithText = true );
|
||||
extern OUString getPropertyName( sal_Int32 nPropertyType );
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "CustomAnimationCreateDialog.hxx"
|
||||
#include "CustomAnimation.hrc"
|
||||
#include "CustomAnimationList.hxx"
|
||||
#include "createcustomanimationpanel.hxx"
|
||||
#include <vcl/lstbox.hxx>
|
||||
#include <vcl/fixed.hxx>
|
||||
|
||||
|
@ -177,6 +177,8 @@ private:
|
||||
ScopeLock maSelectionLock;
|
||||
};
|
||||
|
||||
void fillRepeatComboBox( ListBox* pBox );
|
||||
|
||||
}
|
||||
|
||||
#endif // INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONPANE_HXX
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include "SlideTransitionPane.hxx"
|
||||
#include "CustomAnimation.hrc"
|
||||
#include "createslidetransitionpanel.hxx"
|
||||
|
||||
#include "TransitionPreset.hxx"
|
||||
#include "sdresid.hxx"
|
||||
@ -85,15 +86,6 @@ struct TransitionEffect
|
||||
{
|
||||
init();
|
||||
}
|
||||
explicit TransitionEffect( sal_Int16 nType, sal_Int16 nSubType,
|
||||
sal_Bool bDirection, sal_Int32 nFadeColor ) :
|
||||
mnType( nType),
|
||||
mnSubType( nSubType ),
|
||||
mbDirection( bDirection ),
|
||||
mnFadeColor( nFadeColor )
|
||||
{
|
||||
init();
|
||||
}
|
||||
explicit TransitionEffect( const SdPage & rPage ) :
|
||||
mnType( rPage.getTransitionType() ),
|
||||
mnSubType( rPage.getTransitionSubtype() ),
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <svx/objfac3d.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
#include "registerinterfaces.hxx"
|
||||
#include "sddll.hxx"
|
||||
#include "app.hrc"
|
||||
#include "AnimationChildWindow.hxx"
|
||||
@ -101,10 +102,6 @@
|
||||
using namespace ::rtl;
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace sd { namespace ui { namespace table {
|
||||
extern void RegisterInterfaces( SfxModule* pMod );
|
||||
} } }
|
||||
|
||||
// Register all Factorys
|
||||
void SdDLL::RegisterFactorys()
|
||||
{
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include <sfx2/imagemgr.hxx>
|
||||
|
||||
#include "app.hrc"
|
||||
#include "facreg.hxx"
|
||||
#include "glob.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "res_bmp.hrc"
|
||||
@ -311,7 +312,7 @@ IMPL_LINK( LayoutToolbarMenu, SelectHdl, void *, pControl )
|
||||
|
||||
|
||||
|
||||
OUString SlideLayoutController_getImplementationName()
|
||||
OUString SlideLayoutController_getImplementationName() throw (css::uno::RuntimeException)
|
||||
{
|
||||
return OUString( "com.sun.star.comp.sd.SlideLayoutController" );
|
||||
}
|
||||
@ -327,7 +328,7 @@ Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( Ru
|
||||
|
||||
|
||||
|
||||
Reference< XInterface > SAL_CALL SlideLayoutController_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException )
|
||||
Reference< XInterface > SAL_CALL SlideLayoutController_createInstance( const Reference< XMultiServiceFactory >& rSMgr )
|
||||
{
|
||||
return static_cast< cppu::OWeakObject * >(
|
||||
new SlideLayoutController( comphelper::getComponentContext(rSMgr), ".uno:AssignLayout", false ));
|
||||
@ -335,7 +336,7 @@ Reference< XInterface > SAL_CALL SlideLayoutController_createInstance( const Ref
|
||||
|
||||
|
||||
|
||||
OUString InsertSlideController_getImplementationName()
|
||||
OUString InsertSlideController_getImplementationName() throw (css::uno::RuntimeException)
|
||||
{
|
||||
return OUString( "com.sun.star.comp.sd.InsertSlideController" );
|
||||
}
|
||||
@ -351,7 +352,7 @@ Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( Ru
|
||||
|
||||
|
||||
|
||||
Reference< XInterface > SAL_CALL InsertSlideController_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException )
|
||||
Reference< XInterface > SAL_CALL InsertSlideController_createInstance( const Reference< XMultiServiceFactory >& rSMgr )
|
||||
{
|
||||
return static_cast< cppu::OWeakObject * >(
|
||||
new SlideLayoutController( comphelper::getComponentContext(rSMgr), ".uno:InsertPage" , true ) );
|
||||
|
@ -254,7 +254,6 @@ public:
|
||||
OUString GetUiTextForCommand (const OUString& aCommandURL);
|
||||
Image GetUiIconForCommand (const OUString& aCommandURL);
|
||||
|
||||
DECL_LINK( StartScanHdl, void * );
|
||||
DECL_LINK( SelectFileHdl, void * );
|
||||
DECL_LINK( SelectRegionHdl, ListBox * );
|
||||
DECL_LINK( UpdatePreviewHdl, void * );
|
||||
|
@ -137,15 +137,12 @@ private:
|
||||
Edit* mpTBFooter;
|
||||
|
||||
CheckBox* mpCBSlideNumber;
|
||||
FixedText* mpFTPageNumber;
|
||||
|
||||
CheckBox* mpCBNotOnTitle;
|
||||
|
||||
PresLayoutPreview* mpCTPreview;
|
||||
|
||||
SdPage* mpCurrentPage;
|
||||
SdDrawDocument* mpDoc;
|
||||
HeaderFooterDialog* mpDialog;
|
||||
LanguageType meOldLanguage;
|
||||
|
||||
bool mbHandoutMode;
|
||||
@ -159,12 +156,9 @@ private:
|
||||
void GetOrSetDateTimeLanguage( LanguageType &rLanguage, bool bSet, SdPage* pPage );
|
||||
|
||||
public:
|
||||
HeaderFooterTabPage( HeaderFooterDialog* pDialog, ::Window* pParent, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode );
|
||||
HeaderFooterTabPage( ::Window* pParent, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode );
|
||||
virtual ~HeaderFooterTabPage();
|
||||
|
||||
static SfxTabPage* Create( ::Window*, const SfxItemSet& );
|
||||
static sal_uInt16* GetRanges();
|
||||
|
||||
void init( const HeaderFooterSettings& rSettings, bool bNotOnTitle );
|
||||
void getData( HeaderFooterSettings& rSettings, bool& rNotOnTitle );
|
||||
void update();
|
||||
@ -210,7 +204,7 @@ HeaderFooterDialog::HeaderFooterDialog( ViewShell* pViewShell, ::Window* pParent
|
||||
mpTabCtrl->Show();
|
||||
|
||||
mnSlidesId = mpTabCtrl->GetPageId("slides");
|
||||
mpSlideTabPage = new HeaderFooterTabPage( this, mpTabCtrl, pDoc, pSlide, false );
|
||||
mpSlideTabPage = new HeaderFooterTabPage( mpTabCtrl, pDoc, pSlide, false );
|
||||
mpTabCtrl->SetTabPage( mnSlidesId, mpSlideTabPage );
|
||||
|
||||
Size aSiz = mpSlideTabPage->GetSizePixel();
|
||||
@ -223,7 +217,7 @@ HeaderFooterDialog::HeaderFooterDialog( ViewShell* pViewShell, ::Window* pParent
|
||||
}
|
||||
|
||||
mnNotesId = mpTabCtrl->GetPageId("notes");
|
||||
mpNotesHandoutsTabPage = new HeaderFooterTabPage( this, mpTabCtrl, pDoc, pNotes, true );
|
||||
mpNotesHandoutsTabPage = new HeaderFooterTabPage( mpTabCtrl, pDoc, pNotes, true );
|
||||
mpTabCtrl->SetTabPage( mnNotesId, mpNotesHandoutsTabPage );
|
||||
|
||||
get(maPBApplyToAll, "apply_all" );
|
||||
@ -427,11 +421,9 @@ void HeaderFooterDialog::change( SdUndoGroup* pUndoGroup, SdPage* pPage, const H
|
||||
|
||||
|
||||
|
||||
HeaderFooterTabPage::HeaderFooterTabPage( HeaderFooterDialog* pDialog, ::Window* pWindow, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode ) :
|
||||
HeaderFooterTabPage::HeaderFooterTabPage( ::Window* pWindow, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode ) :
|
||||
TabPage( pWindow, "HeaderFooterTab", "modules/simpress/ui/headerfootertab.ui" ),
|
||||
mpCurrentPage(pActualPage),
|
||||
mpDoc(pDoc),
|
||||
mpDialog(pDialog),
|
||||
mbHandoutMode( bHandoutMode )
|
||||
{
|
||||
get(mpFTIncludeOn, "include_label");
|
||||
|
@ -81,8 +81,6 @@ SFX_IMPL_INTERFACE(DrawDocShell, SfxObjectShell, SdResId(0))
|
||||
|
||||
namespace sd {
|
||||
|
||||
GraphicFilter* GetGrfFilter();
|
||||
|
||||
/**
|
||||
* slotmaps and definitions of SFX
|
||||
*/
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
#include "framework/FrameworkHelper.hxx"
|
||||
|
||||
#include <facreg.hxx>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::drawing::framework;
|
||||
@ -62,7 +64,7 @@ public:
|
||||
//----- Service ---------------------------------------------------------------
|
||||
|
||||
Reference<XInterface> SAL_CALL Configuration_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
(void)rxContext;
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new Configuration(NULL,false)));
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "ConfigurationClassifier.hxx"
|
||||
#include "ViewShellBase.hxx"
|
||||
#include "DrawController.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include <com/sun/star/drawing/framework/XControllerManager.hpp>
|
||||
#include <com/sun/star/util/XURLTransformer.hpp>
|
||||
|
||||
@ -44,7 +45,7 @@ using ::sd::framework::FrameworkHelper;
|
||||
namespace sd { namespace framework {
|
||||
|
||||
Reference<XInterface> SAL_CALL ConfigurationController_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
(void)rxContext;
|
||||
return static_cast<XWeak*>(new ConfigurationController());
|
||||
|
@ -27,6 +27,8 @@
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
#include <facreg.hxx>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::lang;
|
||||
@ -43,7 +45,7 @@ using namespace ::com::sun::star::drawing::framework;
|
||||
namespace sd { namespace framework {
|
||||
|
||||
Reference<XInterface> SAL_CALL ResourceId_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
(void)rxContext;
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new ::sd::framework::ResourceId()));
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "BasicPaneFactory.hxx"
|
||||
#include "facreg.hxx"
|
||||
|
||||
#include "ChildWindowPane.hxx"
|
||||
#include "FrameWindowPane.hxx"
|
||||
@ -86,7 +87,7 @@ public:
|
||||
|
||||
|
||||
Reference<XInterface> SAL_CALL BasicPaneFactory_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new BasicPaneFactory(rxContext)));
|
||||
}
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "BasicToolBarFactory.hxx"
|
||||
|
||||
#include "ViewTabBar.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include "framework/FrameworkHelper.hxx"
|
||||
#include <unotools/mediadescriptor.hxx>
|
||||
|
||||
@ -36,7 +37,7 @@ namespace sd { namespace framework {
|
||||
|
||||
|
||||
Reference<XInterface> SAL_CALL BasicToolBarFactory_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return static_cast<XWeak*>(new BasicToolBarFactory(rxContext));
|
||||
}
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "PresentationViewShell.hxx"
|
||||
#include "SlideSorterViewShell.hxx"
|
||||
#include "FrameView.hxx"
|
||||
#include "facreg.hxx"
|
||||
|
||||
#include <sfx2/viewfrm.hxx>
|
||||
#include <vcl/wrkwin.hxx>
|
||||
@ -55,7 +56,7 @@ namespace sd { namespace framework {
|
||||
|
||||
|
||||
Reference<XInterface> SAL_CALL BasicViewFactory_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new BasicViewFactory(rxContext)));
|
||||
}
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "framework/FrameworkHelper.hxx"
|
||||
#include "DrawController.hxx"
|
||||
#include "ViewShellBase.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include <com/sun/star/drawing/framework/XControllerManager.hpp>
|
||||
#include <cppuhelper/compbase1.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
@ -98,7 +99,7 @@ private:
|
||||
//===== PresentationFactoryProvider service ===================================
|
||||
|
||||
Reference<XInterface> SAL_CALL PresentationFactoryProvider_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new PresentationFactoryProvider(rxContext)));
|
||||
}
|
||||
|
@ -27,6 +27,8 @@
|
||||
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <facreg.hxx>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::drawing::framework;
|
||||
@ -66,7 +68,7 @@ public:
|
||||
|
||||
|
||||
Reference<XInterface> SAL_CALL ModuleController_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(ModuleController::CreateInstance(rxContext), UNO_QUERY);
|
||||
}
|
||||
|
33
sd/source/ui/inc/createcustomanimationpanel.hxx
Normal file
33
sd/source/ui/inc/createcustomanimationpanel.hxx
Normal file
@ -0,0 +1,33 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_CREATESLIDETRANSITIONPANEL_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_CREATESLIDETRANSITIONPANEL_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd {
|
||||
|
||||
::Window * createCustomAnimationPanel (::Window* pParent, ViewShellBase& rBase, const cssu::Reference<css::frame::XFrame>& rxFrame);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
33
sd/source/ui/inc/createslidetransitionpanel.hxx
Normal file
33
sd/source/ui/inc/createslidetransitionpanel.hxx
Normal file
@ -0,0 +1,33 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_CREATESLIDETRANSITIONPANEL_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_CREATESLIDETRANSITIONPANEL_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd {
|
||||
|
||||
::Window* createSlideTransitionPanel (::Window* pParent, ViewShellBase& rBase, const cssu::Reference<css::frame::XFrame>& rxFrame);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
33
sd/source/ui/inc/createtabledesignpanel.hxx
Normal file
33
sd/source/ui/inc/createtabledesignpanel.hxx
Normal file
@ -0,0 +1,33 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_CREATETABLEDESIGNPANEL_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_CREATETABLEDESIGNPANEL_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd {
|
||||
|
||||
::Window * createTableDesignPanel (::Window* pParent, ViewShellBase& rBase);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
38
sd/source/ui/inc/createtableobjectbar.hxx
Normal file
38
sd/source/ui/inc/createtableobjectbar.hxx
Normal file
@ -0,0 +1,38 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_CREATETABLEOBJECTBAR_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_CREATETABLEOBJECTBAR_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd {
|
||||
class View;
|
||||
class ViewShell;
|
||||
}
|
||||
|
||||
namespace sd { namespace ui { namespace table {
|
||||
|
||||
SfxShell* CreateTableObjectBar( ViewShell& rShell, ::sd::View* pView );
|
||||
|
||||
} } }
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
187
sd/source/ui/inc/facreg.hxx
Normal file
187
sd/source/ui/inc/facreg.hxx
Normal file
@ -0,0 +1,187 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_FACREG_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_FACREG_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace com { namespace sun { namespace star {
|
||||
namespace lang { class XMultiServiceFactory; }
|
||||
namespace uno { class XComponentContext; }
|
||||
} } }
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SdDrawingDocument_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory, const sal_uInt64 _nCreationFlags );
|
||||
OUString SdDrawingDocument_getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > SAL_CALL SdDrawingDocument_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SdPresentationDocument_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory, const sal_uInt64 _nCreationFlags );
|
||||
OUString SdPresentationDocument_getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > SAL_CALL SdPresentationDocument_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SdHtmlOptionsDialog_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory );
|
||||
OUString SdHtmlOptionsDialog_getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > SAL_CALL SdHtmlOptionsDialog_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SdUnoModule_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory );
|
||||
OUString SdUnoModule_getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > SAL_CALL SdUnoModule_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
|
||||
namespace sd
|
||||
{
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL RandomNode_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory );
|
||||
OUString RandomNode__getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > SAL_CALL RandomNode_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SlideLayoutController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory );
|
||||
OUString SlideLayoutController_getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL InsertSlideController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory );
|
||||
OUString InsertSlideController_getImplementationName() throw( css::uno::RuntimeException );
|
||||
css::uno::Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( css::uno::RuntimeException );
|
||||
}
|
||||
|
||||
namespace sd { namespace framework {
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL Configuration_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString Configuration_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL Configuration_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL ConfigurationController_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString ConfigurationController_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL ConfigurationController_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL ModuleController_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString ModuleController_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL ModuleController_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL BasicPaneFactory_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString BasicPaneFactory_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL BasicPaneFactory_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL BasicToolBarFactory_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString BasicToolBarFactory_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL BasicToolBarFactory_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL BasicViewFactory_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString BasicViewFactory_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL BasicViewFactory_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL ResourceId_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString ResourceId_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL ResourceId_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL PresentationFactoryProvider_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString PresentationFactoryProvider_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL PresentationFactoryProvider_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
} }
|
||||
|
||||
namespace sd { namespace sidebar {
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL PanelFactory_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString PanelFactory_getImplementationName(void) throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL PanelFactory_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
} }
|
||||
|
||||
namespace sd { namespace presenter {
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL SlideRenderer_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString SlideRenderer_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL SlideRenderer_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL PresenterCanvas_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString PresenterCanvas_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL PresenterCanvas_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL PresenterTextViewService_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString PresenterTextViewService_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL PresenterTextViewService_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL PresenterHelperService_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString PresenterHelperService_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL PresenterHelperService_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL PresenterPreviewCache_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString PresenterPreviewCache_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL PresenterPreviewCache_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
} }
|
||||
|
||||
|
||||
namespace sd { namespace slidesorter {
|
||||
css::uno::Reference<css::uno::XInterface> SAL_CALL SlideSorterService_createInstance(
|
||||
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
|
||||
throw(css::uno::Exception);
|
||||
OUString SlideSorterService_getImplementationName(void)
|
||||
throw (css::uno::RuntimeException);
|
||||
css::uno::Sequence<OUString> SAL_CALL SlideSorterService_getSupportedServiceNames (void)
|
||||
throw (css::uno::RuntimeException);
|
||||
} }
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
33
sd/source/ui/inc/registerinterfaces.hxx
Normal file
33
sd/source/ui/inc/registerinterfaces.hxx
Normal file
@ -0,0 +1,33 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_REGISTERINTERFACES_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_REGISTERINTERFACES_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd { namespace ui { namespace table {
|
||||
|
||||
void RegisterInterfaces( SfxModule* pMod );
|
||||
|
||||
} } }
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
33
sd/source/ui/inc/tablefunction.hxx
Normal file
33
sd/source/ui/inc/tablefunction.hxx
Normal file
@ -0,0 +1,33 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_INC_TABLEFUNCTION_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_INC_TABLEFUNCTION_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
namespace sd {
|
||||
|
||||
void CreateTableFromRTF( SvStream& rStream, SdDrawDocument* pModel );
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "PresenterCanvas.hxx"
|
||||
#include "facreg.hxx"
|
||||
|
||||
#include <basegfx/matrix/b2dhommatrix.hxx>
|
||||
#include <basegfx/polygon/b2dpolygontools.hxx>
|
||||
@ -42,7 +43,7 @@ namespace sd { namespace presenter {
|
||||
//===== Service ===============================================================
|
||||
|
||||
Reference<XInterface> SAL_CALL PresenterCanvas_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
(void)rxContext;
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new PresenterCanvas()));
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "PresenterHelper.hxx"
|
||||
#include "CanvasUpdateRequester.hxx"
|
||||
#include "PresenterCanvas.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include <cppcanvas/vclfactory.hxx>
|
||||
#include <com/sun/star/awt/WindowAttribute.hpp>
|
||||
#include <com/sun/star/awt/WindowClass.hpp>
|
||||
@ -44,7 +45,7 @@ namespace sd { namespace presenter {
|
||||
//===== Service ===============================================================
|
||||
|
||||
Reference<XInterface> SAL_CALL PresenterHelperService_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new PresenterHelper(rxContext)));
|
||||
}
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "PresenterPreviewCache.hxx"
|
||||
#include "facreg.hxx"
|
||||
|
||||
#include "cache/SlsCacheContext.hxx"
|
||||
#include "tools/IdleDetection.hxx"
|
||||
@ -77,7 +78,7 @@ private:
|
||||
//===== Service ===============================================================
|
||||
|
||||
Reference<XInterface> SAL_CALL PresenterPreviewCache_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new PresenterPreviewCache(rxContext)));
|
||||
}
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "PresenterTextView.hxx"
|
||||
#include "facreg.hxx"
|
||||
|
||||
#include <i18nlangtag/mslangid.hxx>
|
||||
#include <cppcanvas/vclfactory.hxx>
|
||||
@ -52,7 +53,7 @@ namespace sd { namespace presenter {
|
||||
|
||||
// Service
|
||||
Reference<XInterface> SAL_CALL PresenterTextViewService_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new PresenterTextView(rxContext)));
|
||||
}
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "SlideRenderer.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include "sdpage.hxx"
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <com/sun/star/rendering/XBitmapCanvas.hpp>
|
||||
@ -34,7 +35,7 @@ namespace sd { namespace presenter {
|
||||
//===== Service ===============================================================
|
||||
|
||||
Reference<XInterface> SAL_CALL SlideRenderer_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new SlideRenderer(rxContext)));
|
||||
}
|
||||
|
@ -201,8 +201,6 @@ void ImagePreparer::sendNotes( sal_uInt32 aSlideNumber )
|
||||
Transmitter::PRIORITY_LOW );
|
||||
}
|
||||
|
||||
sal_Bool ExportTo( uno::Reference< drawing::XDrawPage>& aNotesPage, const OUString& aUrl );
|
||||
|
||||
// Code copied from sdremote/source/presenter/PresenterNotesView.cxx
|
||||
OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber )
|
||||
{
|
||||
@ -283,119 +281,4 @@ OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber )
|
||||
aRet.makeStringAndClear(), RTL_TEXTENCODING_UTF8 );
|
||||
}
|
||||
|
||||
sal_Bool ExportTo( uno::Reference< drawing::XDrawPage>& aNotesPage, const OUString& aUrl )
|
||||
{
|
||||
OUString aFilterName( "XHTML Draw File" );
|
||||
uno::Reference< document::XExporter > xExporter;
|
||||
|
||||
{
|
||||
uno::Reference< lang::XMultiServiceFactory > xMan = ::comphelper::getProcessServiceFactory();
|
||||
uno::Reference < lang::XMultiServiceFactory > xFilterFact (
|
||||
xMan->createInstance( "com.sun.star.document.FilterFactory" ), uno::UNO_QUERY );
|
||||
|
||||
uno::Sequence < beans::PropertyValue > aProps;
|
||||
uno::Reference < container::XNameAccess > xFilters ( xFilterFact, uno::UNO_QUERY );
|
||||
if ( xFilters->hasByName( aFilterName ) )
|
||||
xFilters->getByName( aFilterName ) >>= aProps;
|
||||
else
|
||||
fprintf( stderr, "Couldn't find by name.\n" );
|
||||
|
||||
OUString aFilterImplName;
|
||||
sal_Int32 nFilterProps = aProps.getLength();
|
||||
for ( sal_Int32 nFilterProp = 0; nFilterProp<nFilterProps; nFilterProp++ )
|
||||
{
|
||||
const beans::PropertyValue& rFilterProp = aProps[nFilterProp];
|
||||
if ( rFilterProp.Name.equalsAscii("FilterService") )
|
||||
{
|
||||
rFilterProp.Value >>= aFilterImplName;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
fprintf( stderr, "aName%s\n", OUStringToOString(aFilterImplName, RTL_TEXTENCODING_UTF8).getStr() );
|
||||
if ( !aFilterImplName.isEmpty() )
|
||||
{
|
||||
try{
|
||||
xExporter = uno::Reference< document::XExporter >
|
||||
( xFilterFact->createInstanceWithArguments( aFilterName, uno::Sequence < uno::Any >() ), uno::UNO_QUERY );
|
||||
}catch(const uno::Exception&)
|
||||
{
|
||||
xExporter.clear();
|
||||
fprintf( stderr, "Couldn't create instance of filter.\n" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( xExporter.is() )
|
||||
{
|
||||
try{
|
||||
uno::Reference< lang::XComponent > xComp( aNotesPage, uno::UNO_QUERY_THROW );
|
||||
uno::Reference< document::XFilter > xFilter( xExporter, uno::UNO_QUERY_THROW );
|
||||
xExporter->setSourceDocument( xComp );
|
||||
|
||||
com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aOldArgs ( 2 );
|
||||
aOldArgs[0].Name = "FileName";
|
||||
aOldArgs[0].Value <<= OUString( aUrl );
|
||||
aOldArgs[1].Name = "FilterName";
|
||||
aOldArgs[1].Value <<= OUString("com.sun.star.documentconversion.XSLTFilter");
|
||||
|
||||
SfxMedium rMedium( aUrl , STREAM_STD_WRITE );
|
||||
|
||||
const com::sun::star::beans::PropertyValue * pOldValue = aOldArgs.getConstArray();
|
||||
com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aArgs ( aOldArgs.getLength() );
|
||||
com::sun::star::beans::PropertyValue * pNewValue = aArgs.getArray();
|
||||
|
||||
|
||||
// put in the REAL file name, and copy all PropertyValues
|
||||
const OUString sOutputStream ( "OutputStream" );
|
||||
const OUString sStream ( "StreamForOutput" );
|
||||
sal_Bool bHasOutputStream = sal_False;
|
||||
sal_Bool bHasStream = sal_False;
|
||||
sal_Bool bHasBaseURL = sal_False;
|
||||
sal_Int32 i;
|
||||
sal_Int32 nEnd = aOldArgs.getLength();
|
||||
|
||||
for ( i = 0; i < nEnd; i++ )
|
||||
{
|
||||
pNewValue[i] = pOldValue[i];
|
||||
if ( pOldValue[i].Name == "FileName" )
|
||||
pNewValue[i].Value <<= OUString ( rMedium.GetName() );
|
||||
else if ( pOldValue[i].Name == sOutputStream )
|
||||
bHasOutputStream = sal_True;
|
||||
else if ( pOldValue[i].Name == sStream )
|
||||
bHasStream = sal_True;
|
||||
else if ( pOldValue[i].Name == "DocumentBaseURL" )
|
||||
bHasBaseURL = sal_True;
|
||||
}
|
||||
|
||||
if ( !bHasOutputStream )
|
||||
{
|
||||
aArgs.realloc ( ++nEnd );
|
||||
aArgs[nEnd-1].Name = sOutputStream;
|
||||
aArgs[nEnd-1].Value <<= uno::Reference < io::XOutputStream > ( new utl::OOutputStreamWrapper ( *rMedium.GetOutStream() ) );
|
||||
}
|
||||
|
||||
// add stream as well, for OOX export and maybe others
|
||||
if ( !bHasStream )
|
||||
{
|
||||
aArgs.realloc ( ++nEnd );
|
||||
aArgs[nEnd-1].Name = sStream;
|
||||
aArgs[nEnd-1].Value <<= com::sun::star::uno::Reference < com::sun::star::io::XStream > ( new utl::OStreamWrapper ( *rMedium.GetOutStream() ) );
|
||||
}
|
||||
|
||||
if ( !bHasBaseURL )
|
||||
{
|
||||
aArgs.realloc ( ++nEnd );
|
||||
aArgs[nEnd-1].Name = "DocumentBaseURL";
|
||||
aArgs[nEnd-1].Value <<= rMedium.GetBaseURL( true );
|
||||
}
|
||||
|
||||
return xFilter->filter( aArgs );
|
||||
}catch(const uno::Exception&)
|
||||
{}
|
||||
}
|
||||
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -18,14 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "CustomAnimationPanel.hxx"
|
||||
#include "createcustomanimationpanel.hxx"
|
||||
|
||||
#include "ViewShellBase.hxx"
|
||||
|
||||
|
||||
namespace sd {
|
||||
extern ::Window * createCustomAnimationPanel (::Window* pParent, ViewShellBase& rBase, const cssu::Reference<css::frame::XFrame>& rxFrame);
|
||||
}
|
||||
|
||||
namespace sd { namespace sidebar {
|
||||
|
||||
|
||||
|
@ -67,13 +67,6 @@ public:
|
||||
*/
|
||||
void RemoveEventListener (const Link& rEventListener);
|
||||
|
||||
/** Return a set of the names of master pages for the given document.
|
||||
This convenience method exists because this set is part of the
|
||||
internal data structure and thus takes no time to create.
|
||||
*/
|
||||
inline MasterPageObserver::MasterPageNameSet GetMasterPageNames (
|
||||
SdDrawDocument& rDocument);
|
||||
|
||||
private:
|
||||
::std::vector<Link> maListeners;
|
||||
|
||||
@ -257,25 +250,6 @@ void MasterPageObserver::Implementation::RemoveEventListener (
|
||||
rEventListener));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
MasterPageObserver::MasterPageNameSet
|
||||
MasterPageObserver::Implementation::GetMasterPageNames (
|
||||
SdDrawDocument& rDocument)
|
||||
{
|
||||
MasterPageContainer::iterator aMasterPageDescriptor (
|
||||
maUsedMasterPages.find(&rDocument));
|
||||
if (aMasterPageDescriptor != maUsedMasterPages.end())
|
||||
return aMasterPageDescriptor->second;
|
||||
else
|
||||
// Not found so return an empty set.
|
||||
return MasterPageObserver::MasterPageNameSet();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void MasterPageObserver::Implementation::Notify(
|
||||
SfxBroadcaster& rBroadcaster,
|
||||
const SfxHint& rHint)
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "PanelFactory.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include "framework/Pane.hxx"
|
||||
#include "ViewShellBase.hxx"
|
||||
#include "DrawController.hxx"
|
||||
@ -65,7 +66,7 @@ Reference<lang::XEventListener> mxControllerDisposeListener;
|
||||
// ----- Service functions ----------------------------------------------------
|
||||
|
||||
Reference<XInterface> SAL_CALL PanelFactory_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<XWeak*>(new PanelFactory(rxContext)));
|
||||
}
|
||||
|
@ -18,17 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "SlideTransitionPanel.hxx"
|
||||
#include "createslidetransitionpanel.hxx"
|
||||
|
||||
#include "ViewShellBase.hxx"
|
||||
|
||||
|
||||
namespace sd {
|
||||
extern ::Window* createSlideTransitionPanel (::Window* pParent, ViewShellBase& rBase, const cssu::Reference<css::frame::XFrame>& rxFrame);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
namespace sd { namespace sidebar {
|
||||
|
||||
|
||||
|
@ -18,15 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "TableDesignPanel.hxx"
|
||||
#include "createtabledesignpanel.hxx"
|
||||
|
||||
#include "ViewShellBase.hxx"
|
||||
|
||||
|
||||
namespace sd {
|
||||
extern ::Window * createTableDesignPanel (::Window* pParent, ViewShellBase& rBase);
|
||||
}
|
||||
|
||||
|
||||
namespace sd { namespace sidebar {
|
||||
|
||||
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "framework/FrameworkHelper.hxx"
|
||||
|
||||
#include "FrameView.hxx"
|
||||
#include "createpresentation.hxx"
|
||||
#include "unomodel.hxx"
|
||||
#include "slideshow.hxx"
|
||||
#include "slideshowimpl.hxx"
|
||||
|
@ -57,6 +57,7 @@
|
||||
#include <svx/galbrws.hxx>
|
||||
#include "NavigatorChildWindow.hxx"
|
||||
#include "AnimationChildWindow.hxx"
|
||||
#include "notifydocumentevent.hxx"
|
||||
#include <slideshowimpl.hxx>
|
||||
#include <slideshowviewimpl.hxx>
|
||||
#include <pgjump.hxx>
|
||||
@ -94,7 +95,6 @@ using namespace ::com::sun::star::document;
|
||||
using namespace ::com::sun::star::presentation;
|
||||
using namespace ::com::sun::star::beans;
|
||||
|
||||
extern void NotifyDocumentEvent( SdDrawDocument* pDocument, const OUString& rEventName );
|
||||
extern OUString getUiNameFromPageApiNameImpl( const OUString& rApiName );
|
||||
|
||||
namespace sd
|
||||
|
@ -61,8 +61,6 @@ public:
|
||||
|
||||
bool HasReplacement (void) const { return (mpReplacement.get() != NULL); }
|
||||
inline bool HasLosslessReplacement (void) const;
|
||||
void Clear (void) { maPreview.SetEmpty(); maMarkedPreview.SetEmpty();
|
||||
mpReplacement.reset(); mpCompressor.reset(); }
|
||||
void Invalidate (void) { mpReplacement.reset(); mpCompressor.reset(); mbIsUpToDate = false; }
|
||||
bool IsPrecious (void) const { return mbIsPrecious; }
|
||||
void SetPrecious (bool bIsPrecious) { mbIsPrecious = bIsPrecious; }
|
||||
|
@ -17,6 +17,9 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
||||
#include "model/SlideSorterModel.hxx"
|
||||
#include "model/SlsPageDescriptor.hxx"
|
||||
@ -27,7 +30,7 @@ using namespace ::sd::slidesorter::model;
|
||||
namespace {
|
||||
|
||||
class PageEnumerationImpl
|
||||
: public Enumeration<SharedPageDescriptor>
|
||||
: public Enumeration<SharedPageDescriptor>, private boost::noncopyable
|
||||
{
|
||||
public:
|
||||
inline PageEnumerationImpl (
|
||||
@ -62,9 +65,6 @@ private:
|
||||
one pointed to by mnIndex.
|
||||
*/
|
||||
inline void AdvanceToNextValidElement (void);
|
||||
|
||||
// Assignment operator not implemented.
|
||||
PageEnumerationImpl& operator= (const PageEnumerationImpl&);
|
||||
};
|
||||
|
||||
} // end of anonymouse namespace
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "SlideSorterService.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include "controller/SlideSorterController.hxx"
|
||||
#include "controller/SlsProperties.hxx"
|
||||
#include "controller/SlsCurrentSlideManager.hxx"
|
||||
@ -59,7 +60,7 @@ namespace {
|
||||
//===== Service ===============================================================
|
||||
|
||||
Reference<XInterface> SAL_CALL SlideSorterService_createInstance (
|
||||
const Reference<XComponentContext>& rxContext)
|
||||
const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
|
||||
{
|
||||
return Reference<XInterface>(static_cast<drawing::XDrawView*>(new SlideSorterService(rxContext)));
|
||||
}
|
||||
|
@ -144,7 +144,6 @@ private:
|
||||
RunContainer maRuns;
|
||||
InsertPosition maInsertPosition;
|
||||
|
||||
void StopAnimation (void);
|
||||
SharedPageObjectRun GetRun (
|
||||
view::Layouter& rLayouter,
|
||||
const InsertPosition& rInsertPosition,
|
||||
|
@ -227,9 +227,6 @@ protected:
|
||||
class VerticalImplementation : public Layouter::Implementation
|
||||
{
|
||||
public:
|
||||
VerticalImplementation (
|
||||
const SharedSdWindow& rpWindow,
|
||||
const ::boost::shared_ptr<view::Theme>& rpTheme);
|
||||
VerticalImplementation (const Implementation& rImplementation);
|
||||
|
||||
virtual Layouter::Orientation GetOrientation (void) const SAL_OVERRIDE;
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include <svx/sdr/table/tabledesign.hxx>
|
||||
|
||||
#include "TableDesignPane.hxx"
|
||||
#include "createtabledesignpanel.hxx"
|
||||
|
||||
#include "DrawDocShell.hxx"
|
||||
#include "ViewShellBase.hxx"
|
||||
|
@ -137,6 +137,8 @@ public:
|
||||
virtual short Execute() SAL_OVERRIDE;
|
||||
};
|
||||
|
||||
void showTableDesignDialog( ::Window*, ViewShellBase& );
|
||||
|
||||
}
|
||||
|
||||
#endif // _SD_TABLEFORMATPANE_HXX
|
||||
|
@ -53,8 +53,10 @@
|
||||
#include <svl/style.hxx>
|
||||
|
||||
#include "framework/FrameworkHelper.hxx"
|
||||
#include "TableDesignPane.hxx"
|
||||
#include "app.hrc"
|
||||
#include "glob.hrc"
|
||||
#include "tablefunction.hxx"
|
||||
#include "DrawViewShell.hxx"
|
||||
#include "drawdoc.hxx"
|
||||
#include "DrawDocShell.hxx"
|
||||
@ -79,7 +81,6 @@ using namespace ::com::sun::star::linguistic2;
|
||||
|
||||
namespace sd
|
||||
{
|
||||
extern void showTableDesignDialog( ::Window*, ViewShellBase& );
|
||||
|
||||
static void apply_table_style( SdrTableObj* pObj, SdrModel* pModel, const OUString& sTableStyle )
|
||||
{
|
||||
|
@ -36,6 +36,8 @@
|
||||
#include <svx/svxids.hrc>
|
||||
|
||||
#include "app.hrc"
|
||||
#include "createtableobjectbar.hxx"
|
||||
#include "registerinterfaces.hxx"
|
||||
#include "res_bmp.hrc"
|
||||
#include "glob.hrc"
|
||||
#include "strings.hrc"
|
||||
|
@ -38,6 +38,7 @@
|
||||
|
||||
#include "drawdoc.hxx"
|
||||
#include "DrawDocShell.hxx"
|
||||
#include "UnoDocumentSettings.hxx"
|
||||
#include "unomodel.hxx"
|
||||
|
||||
#include "optsitem.hxx"
|
||||
@ -123,7 +124,7 @@ namespace sd
|
||||
};
|
||||
|
||||
Reference< XInterface > SAL_CALL DocumentSettings_createInstance( SdXImpressDocument* pModel )
|
||||
throw( Exception )
|
||||
throw ()
|
||||
{
|
||||
DBG_ASSERT( pModel, "I need a model for the DocumentSettings!" );
|
||||
return (XWeak*)new DocumentSettings( pModel );
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include <com/sun/star/registry/XRegistryKey.hpp>
|
||||
|
||||
#include "facreg.hxx"
|
||||
#include "sddll.hxx"
|
||||
|
||||
#include <cppuhelper/factory.hxx>
|
||||
@ -33,164 +34,6 @@
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
||||
// Forward declarations of the factories.
|
||||
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL SdDrawingDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory, const sal_uInt64 _nCreationFlags );
|
||||
extern OUString SdDrawingDocument_getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > SAL_CALL SdDrawingDocument_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL SdPresentationDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory, const sal_uInt64 _nCreationFlags );
|
||||
extern OUString SdPresentationDocument_getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > SAL_CALL SdPresentationDocument_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL SdHtmlOptionsDialog_CreateInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory );
|
||||
extern OUString SdHtmlOptionsDialog_getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > SAL_CALL SdHtmlOptionsDialog_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL SdUnoModule_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory );
|
||||
extern OUString SdUnoModule_getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > SAL_CALL SdUnoModule_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
|
||||
namespace sd
|
||||
{
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL RandomNode_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory );
|
||||
extern OUString RandomNode__getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > SAL_CALL RandomNode_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL SlideLayoutController_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory );
|
||||
extern OUString SlideLayoutController_getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
|
||||
extern uno::Reference< uno::XInterface > SAL_CALL InsertSlideController_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory );
|
||||
extern OUString InsertSlideController_getImplementationName() throw( uno::RuntimeException );
|
||||
extern uno::Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( uno::RuntimeException );
|
||||
}
|
||||
|
||||
namespace sd { namespace framework {
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL Configuration_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString Configuration_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL Configuration_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL ConfigurationController_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString ConfigurationController_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL ConfigurationController_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL ModuleController_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString ModuleController_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL ModuleController_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL BasicPaneFactory_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString BasicPaneFactory_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL BasicPaneFactory_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL BasicToolBarFactory_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString BasicToolBarFactory_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL BasicToolBarFactory_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL BasicViewFactory_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString BasicViewFactory_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL BasicViewFactory_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL ResourceId_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString ResourceId_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL ResourceId_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL PresentationFactoryProvider_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString PresentationFactoryProvider_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL PresentationFactoryProvider_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
} }
|
||||
|
||||
namespace sd { namespace sidebar {
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL PanelFactory_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString PanelFactory_getImplementationName(void) throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL PanelFactory_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
} }
|
||||
|
||||
namespace sd { namespace presenter {
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL SlideRenderer_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString SlideRenderer_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL SlideRenderer_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL PresenterCanvas_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString PresenterCanvas_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL PresenterCanvas_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL PresenterTextViewService_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString PresenterTextViewService_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL PresenterTextViewService_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL PresenterHelperService_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString PresenterHelperService_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL PresenterHelperService_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL PresenterPreviewCache_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString PresenterPreviewCache_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL PresenterPreviewCache_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
} }
|
||||
|
||||
|
||||
namespace sd { namespace slidesorter {
|
||||
extern uno::Reference<uno::XInterface> SAL_CALL SlideSorterService_createInstance(
|
||||
const uno::Reference<uno::XComponentContext>& rxContext)
|
||||
throw(uno::Exception);
|
||||
extern OUString SlideSorterService_getImplementationName(void)
|
||||
throw (uno::RuntimeException);
|
||||
extern uno::Sequence<OUString> SAL_CALL SlideSorterService_getSupportedServiceNames (void)
|
||||
throw (uno::RuntimeException);
|
||||
} }
|
||||
|
||||
using namespace ::sd;
|
||||
using namespace ::sd::framework;
|
||||
using namespace ::sd::presenter;
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
#include "CustomAnimationPreset.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include "randomnode.hxx"
|
||||
|
||||
using ::osl::Mutex;
|
||||
using ::osl::Guard;
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <comphelper/extract.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
|
||||
#include "createunocustomshow.hxx"
|
||||
#include "unohelp.hxx"
|
||||
#include "unomodel.hxx"
|
||||
#include "drawdoc.hxx"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
|
||||
#include "sddll.hxx"
|
||||
#include "facreg.hxx"
|
||||
#include "DrawDocShell.hxx"
|
||||
#include "GraphicDocShell.hxx"
|
||||
#include <osl/mutex.hxx>
|
||||
|
@ -35,7 +35,9 @@
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
|
||||
#include <editeng/unofield.hxx>
|
||||
#include <notifydocumentevent.hxx>
|
||||
#include <unomodel.hxx>
|
||||
#include <unopool.hxx>
|
||||
#include <sfx2/dispatch.hxx>
|
||||
#include <sfx2/bindings.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
@ -109,8 +111,6 @@ using namespace ::osl;
|
||||
using namespace ::cppu;
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
extern uno::Reference< uno::XInterface > SdUnoCreatePool( SdDrawDocument* pDrawModel );
|
||||
|
||||
class SdUnoForbiddenCharsTable : public SvxUnoForbiddenCharsTable,
|
||||
public SfxListener
|
||||
{
|
||||
@ -768,8 +768,6 @@ uno::Reference< container::XNameContainer > SAL_CALL SdXImpressDocument::getCust
|
||||
return xCustomPres;
|
||||
}
|
||||
|
||||
extern uno::Reference< presentation::XPresentation > createPresentation( SdXImpressDocument& rModel );
|
||||
|
||||
// XPresentationSupplier
|
||||
uno::Reference< presentation::XPresentation > SAL_CALL SdXImpressDocument::getPresentation()
|
||||
throw(uno::RuntimeException, std::exception)
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <com/sun/star/frame/DispatchResultState.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
|
||||
#include "facreg.hxx"
|
||||
#include "sddll.hxx"
|
||||
#include "sdmod.hxx"
|
||||
#include "unomodule.hxx"
|
||||
|
@ -290,8 +290,6 @@ struct SortStruct
|
||||
typedef SortStruct SORT;
|
||||
typedef SORT* PSORT;
|
||||
|
||||
extern "C" int SAL_CALL SortFunc( const void* p1, const void* p2 );
|
||||
|
||||
SdXShape::SdXShape( SvxShape* pShape, SdXImpressDocument* pModel) throw()
|
||||
: mpShape( pShape ),
|
||||
mpPropSet( pModel?
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <AnnotationEnumeration.hxx>
|
||||
#include <createunopageimpl.hxx>
|
||||
#include <unomodel.hxx>
|
||||
#include <unopage.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
@ -81,11 +83,6 @@ using namespace ::com::sun::star::container;
|
||||
using namespace ::com::sun::star::drawing;
|
||||
using namespace ::com::sun::star::office;
|
||||
|
||||
namespace sd {
|
||||
extern Reference< XAnnotation > createAnnotation( const Reference< XComponentContext >& xContext, SdPage* );
|
||||
extern Reference< XAnnotationEnumeration > createAnnotationEnumeration( const sd::AnnotationVector& );
|
||||
}
|
||||
|
||||
// this are the ids for page properties
|
||||
enum WID_PAGE
|
||||
{
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <svx/unopool.hxx>
|
||||
|
||||
#include "drawdoc.hxx"
|
||||
#include "unopool.hxx"
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::rtl;
|
||||
|
30
sd/source/ui/unoidl/unopool.hxx
Normal file
30
sd/source/ui/unoidl/unopool.hxx
Normal file
@ -0,0 +1,30 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPOOL_HXX
|
||||
#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPOOL_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
css::uno::Reference<css::uno::XInterface> SdUnoCreatePool(
|
||||
SdDrawDocument * pDrawModel);
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
@ -204,8 +204,6 @@ private:
|
||||
|
||||
SfxShell* mpTopShell;
|
||||
|
||||
void GatherActiveShells (ShellStack& rShellList);
|
||||
|
||||
void UpdateShellStack (void);
|
||||
|
||||
void CreateShells (void);
|
||||
|
@ -79,23 +79,6 @@ private:
|
||||
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class ViewTabPage : public TabPage
|
||||
{
|
||||
public:
|
||||
ViewTabPage (Window* pParent) : TabPage(pParent) {}
|
||||
virtual void Resize (void) SAL_OVERRIDE
|
||||
{ SetPosSizePixel(Point(0,0),GetParent()->GetOutputSizePixel()); }
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
//===== ViewTabBar ============================================================
|
||||
|
||||
ViewTabBar::ViewTabBar (
|
||||
const Reference<XResourceId>& rxViewTabBarId,
|
||||
const Reference<frame::XController>& rxController)
|
||||
|
@ -55,6 +55,7 @@
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include "DrawDocShell.hxx"
|
||||
#include "fupoor.hxx"
|
||||
#include "tablefunction.hxx"
|
||||
#include "Window.hxx"
|
||||
#include "sdxfer.hxx"
|
||||
#include "sdpage.hxx"
|
||||
@ -1490,8 +1491,6 @@ sal_Bool View::InsertData( const TransferableDataHelper& rDataHelper,
|
||||
return bReturn;
|
||||
}
|
||||
|
||||
extern void CreateTableFromRTF( SvStream& rStream, SdDrawDocument* pModel );
|
||||
|
||||
bool View::PasteRTFTable( SotStorageStreamRef xStm, SdrPage* pPage, sal_uLong nPasteOptions )
|
||||
{
|
||||
SdDrawDocument* pModel = new SdDrawDocument( DOCUMENT_TYPE_IMPRESS, mpDocSh );
|
||||
|
@ -187,10 +187,6 @@ void ImageButtonHdl::HideTip()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
extern OUString ImplRetrieveLabelFromCommand( const Reference< XFrame >& xFrame, const OUString& aCmdURL );
|
||||
|
||||
void ImageButtonHdl::onMouseEnter(const MouseEvent& rMEvt)
|
||||
{
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include "ViewShell.hxx"
|
||||
#include "ViewShellImplementation.hxx"
|
||||
#include "createtableobjectbar.hxx"
|
||||
|
||||
#include <com/sun/star/embed/EmbedStates.hpp>
|
||||
#include "ViewShellBase.hxx"
|
||||
@ -81,10 +82,6 @@
|
||||
#include <glob.hrc>
|
||||
#include "AccessibleDocumentViewBase.hxx"
|
||||
|
||||
namespace sd { namespace ui { namespace table {
|
||||
extern SfxShell* CreateTableObjectBar( ViewShell& rShell, ::sd::View* pView );
|
||||
} } }
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::presentation;
|
||||
|
Loading…
x
Reference in New Issue
Block a user