Change-Id: I265f889bcfdcf1b214cde02e9e5799081ec6aa42 Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2396 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins CPCI <releng@collaboraoffice.com> (cherry picked from commit 01a314d398a497e01d0b9e4b575f3b7c842b8622) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/206343 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
63 lines
2.3 KiB
C++
63 lines
2.3 KiB
C++
/* -*- 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_COMPHELPER_DOCUMENTINFO_HXX
|
|
#define INCLUDED_COMPHELPER_DOCUMENTINFO_HXX
|
|
|
|
#include <comphelper/comphelperdllapi.h>
|
|
#include <rtl/ustring.hxx>
|
|
|
|
namespace com::sun::star::beans { class XPropertySet; }
|
|
namespace com::sun::star::frame { class XModel; }
|
|
namespace com::sun::star::uno { template <class interface_type> class Reference; }
|
|
|
|
|
|
namespace comphelper {
|
|
|
|
|
|
//= DocumentInfo
|
|
|
|
namespace DocumentInfo
|
|
{
|
|
/** retrieves the UI title of the given document
|
|
*/
|
|
COMPHELPER_DLLPUBLIC OUString getDocumentTitle( const css::uno::Reference< css::frame::XModel >& _rxDocument );
|
|
|
|
/** notify that this document contains a macro event handler
|
|
*/
|
|
COMPHELPER_DLLPUBLIC void notifyMacroEventRead( const css::uno::Reference< css::frame::XModel >& _rxDocument );
|
|
|
|
/** notify that this document contains a form control with a remote
|
|
image URL that was deferred during import. The control reference
|
|
and URL are accumulated so they can be registered as links
|
|
post-load when the user allows updates.
|
|
*/
|
|
COMPHELPER_DLLPUBLIC void notifyRemoteContentFound(
|
|
const css::uno::Reference< css::frame::XModel >& _rxDocument,
|
|
const css::uno::Reference< css::beans::XPropertySet >& _rxControl,
|
|
const OUString& _rURL );
|
|
}
|
|
|
|
} // namespace comphelper
|
|
|
|
|
|
#endif // INCLUDED_COMPHELPER_DOCUMENTINFO_HXX
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|