pagecollector.cxx (e4a7f284) pagecollector.cxx (880c69c6)
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

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

28#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
29#include <com/sun/star/presentation/XPresentationPage.hpp>
30#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
31#include <com/sun/star/drawing/XMasterPageTarget.hpp>
32#include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
33#include <com/sun/star/container/XNameContainer.hpp>
34#include <com/sun/star/container/XIndexContainer.hpp>
35
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

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

28#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
29#include <com/sun/star/presentation/XPresentationPage.hpp>
30#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
31#include <com/sun/star/drawing/XMasterPageTarget.hpp>
32#include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
33#include <com/sun/star/container/XNameContainer.hpp>
34#include <com/sun/star/container/XIndexContainer.hpp>
35
36using namespace ::rtl;
36using namespace ::com::sun::star;
37using namespace ::com::sun::star::uno;
38using namespace ::com::sun::star::awt;
39using namespace ::com::sun::star::drawing;
40using namespace ::com::sun::star::frame;
41using namespace ::com::sun::star::beans;
42using namespace ::com::sun::star::container;
43using namespace ::com::sun::star::presentation;
44
37using namespace ::com::sun::star;
38using namespace ::com::sun::star::uno;
39using namespace ::com::sun::star::awt;
40using namespace ::com::sun::star::drawing;
41using namespace ::com::sun::star::frame;
42using namespace ::com::sun::star::beans;
43using namespace ::com::sun::star::container;
44using namespace ::com::sun::star::presentation;
45
45using ::rtl::OUString;
46
47void PageCollector::CollectCustomShowPages( const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, const rtl::OUString& rCustomShowName, std::vector< Reference< XDrawPage > >& rUsedPageList )
48{
49 try
50 {
51 Reference< XCustomPresentationSupplier > aXCPSup( rxModel, UNO_QUERY_THROW );
52 Reference< XNameContainer > aXCont( aXCPSup->getCustomPresentations() );
53 if ( aXCont.is() )
54 {

--- 123 unchanged lines hidden ---
46void PageCollector::CollectCustomShowPages( const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, const rtl::OUString& rCustomShowName, std::vector< Reference< XDrawPage > >& rUsedPageList )
47{
48 try
49 {
50 Reference< XCustomPresentationSupplier > aXCPSup( rxModel, UNO_QUERY_THROW );
51 Reference< XNameContainer > aXCont( aXCPSup->getCustomPresentations() );
52 if ( aXCont.is() )
53 {

--- 123 unchanged lines hidden ---