LibreOffice LibreOffice 25.8 SDK API Reference

XLinkageSupport.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21 module com { module sun { module star { module embed {
22
25published interface XLinkageSupport: XCommonEmbedPersist
26{
70 void breakLink( [in] ::com::sun::star::embed::XStorage xStorage,
71 [in] string sEntryName )
72 raises( ::com::sun::star::lang::IllegalArgumentException,
73 ::com::sun::star::embed::WrongStateException,
74 ::com::sun::star::io::IOException,
75 ::com::sun::star::uno::Exception );
76
77
93 boolean isLink()
94 raises( ::com::sun::star::embed::WrongStateException );
95
101 string getLinkURL()
102 raises( ::com::sun::star::embed::WrongStateException,
103 ::com::sun::star::uno::Exception );
104};
105
106
107}; }; }; };
108
109/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::embed::WrongStateException
This exception can be thrown in case the object's state does not allow to call requested functionalit...
Definition: WrongStateException.idl:29
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition: IOException.idl:27
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::uno::Exception
the base of all UNO exceptions
Definition: Exception.idl:29
com::sun::star::embed::XCommonEmbedPersist
specifies common implementation for embedded objects and links persistence.
Definition: XCommonEmbedPersist.idl:27
com::sun::star::embed::XLinkageSupport
specifies an additional implementation for linked embedded object support.
Definition: XLinkageSupport.idl:26
com::sun::star::embed::XLinkageSupport::breakLink
void breakLink([in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntryName)
breaks the link and provides the object with a parent storage and a name for object's entry
com::sun::star::embed::XLinkageSupport::isLink
boolean isLink()
allows to detect whether the object is a linked one.
com::sun::star::embed::XStorage
This interface represents main storage functionality.
Definition: XStorage.idl:27
com
Definition: Ambiguous.idl:20