/* -*- 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 . */ /* * This file is part of LibreOffice published API. */ #ifndef INCLUDED_CPPUHELPER_ACCESS_CONTROL_HXX #define INCLUDED_CPPUHELPER_ACCESS_CONTROL_HXX #include "cppuhelper/cppuhelperdllapi.h" #include "com/sun/star/uno/Reference.hxx" namespace com { namespace sun { namespace star { namespace security { class XAccessController; } } } } namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } namespace cppu { /** Helper class for retrieving access controller singleton from component context. */ class SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC AccessControl { css::uno::Reference< css::security::XAccessController > m_xController; public: /** Ctor. @param xContext component context to retrieve access controller singleton */ AccessControl( css::uno::Reference< css::uno::XComponentContext > const & xContext ); /** Ctor. @param xController access controller */ AccessControl( css::uno::Reference< css::security::XAccessController > const & xController ); /** Copy ctor. @param ac another object */ AccessControl( ::cppu::AccessControl const & ac ); #if defined LIBO_INTERNAL_ONLY AccessControl & operator =(AccessControl const &) = default; // avoid deprecation warnings #endif /** Clears the access controller reference being used. */ void SAL_CALL clear() { m_xController.clear(); } /** Returns access to the access controller reference being used. @return access controller */ css::uno::Reference< css::security::XAccessController > const & SAL_CALL get() const { return m_xController; } /** Returns access to the access controller reference being used. @return access controller */ css::security::XAccessController * SAL_CALL operator -> () const { return m_xController.get(); } /** A com.sun.star.security.RuntimePermission is for runtime permissions. A RuntimePermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't. @param name name of permission */ void SAL_CALL checkRuntimePermission( ::rtl::OUString const & name ); /** A com.sun.star.io.FilePermission represents access to a file or directory. A FilePermission consists of a file url and a set of actions valid for that pathname. @param url file url @param actions actions list */ void SAL_CALL checkFilePermission( ::rtl::OUString const & url, ::rtl::OUString const & actions ); /** A com.sun.star.connection.SocketPermission represents access to a network via sockets. A SocketPermission consists of a host specification and a set of "actions" specifying ways to connect to that host. @param host host and optional portrange @param actions actions list */ void SAL_CALL checkSocketPermission( ::rtl::OUString const & host, ::rtl::OUString const & actions ); }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ption value='distro/collabora/cp-6.0'>distro/collabora/cp-6.0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/schema
AgeCommit message (Expand)Author
2024-09-25tdf#162690, tdf#162687: Adapt to ODF 1.4Xisco Fauli
2024-09-24ODF 1.4: Add ODFVER_014 and ODFSVER_014Xisco Fauli
2024-09-24ODF 1.4: schema: rename to OpenDocument-v1.3*Xisco Fauli
2024-09-24schema: update to ODF 1.4 OSXisco Fauli
2024-09-24ODF 1.4: Add schemaXisco Fauli
2024-09-19tdf#162963 export property TotalsRow to ODFRegina Henschel
2024-09-03Related: tdf#161826 - Add uniform Glow effect for texts in shapesBalazs Varga
2024-08-29tdf#161826 - Add uniform Glow effect for texts in shapesBalazs Varga
2024-05-07tdf#132599 sw schema xmloff: add hyphenation-keep-type='always'László Németh
2024-04-11tdf#132599 cui offapi sw xmloff: add hyphenation-keep-typeLászló Németh
2024-04-01tdf#160356 Add support for hidden named expressions in CalcRafael Lima
2024-03-20tdf#158885 cui offapi sw xmloff: fix hyphenation at stem boundaryLászló Németh
2024-03-18tdf#50934: Add a pie-with-remainder-as-another-pie chart typeKurt Nordback
2024-01-11tdf#105844 add test for ODF wholesome encryption with macro signatureMichael Stahl
2023-11-28sw floattable, per-frame wrap-on-all-pages mode: add ODT filterMiklos Vajna
2023-11-14sw floattable: link ODF proposalMiklos Vajna
2023-11-01tdf#156449 Preserve '0' or '?' in exponentLaurent Balland
2023-11-01tdf#153993 Extend ODF: lowercase for exponent charLaurent Balland
2023-10-30Enable STYLEREF flag export/import with ODFSkyler Grey
2023-10-29tdf#157663 SW: Tracked change improve moveAttila Szűcs
2023-10-20tdf#86790: Add support for a word-style stylerefSkyler Grey
2023-10-01tdf#154449 Add support for hidden named rangesRafael Lima
2023-09-12Added parent / child relationship to comments.Gökay Şatır
2023-08-25tdf#152724 Extend ODF for blank width "_x"Laurent Balland
2023-08-25xmloff: support stroke/line complex color import/export + testTomaž Vajngerl
2023-08-02sc: theme color support for sparklines + ODF & OOXML import/exportTomaž Vajngerl
2023-08-01sc: Add import/export ODF support for border complex colorsTomaž Vajngerl
2023-07-18sc: ODF import/export of background cell complex colorTomaž Vajngerl
2023-07-11tdf#150408: Implement "Legal" numbering (all levels using Arabic numbers)Mike Kaganski
2023-07-06xmloff: ODF export: stop producing decorative on draw:frame etc.Michael Stahl
2023-06-27related tdf#153993 Embedded text in scientific numbersLaurent Balland
2023-05-27xmloff: add color-type attribute to complex colorTomaž Vajngerl
2023-05-25xmloff: rename theme color names and color-table to theme-colorsTomaž Vajngerl
2023-05-25xmloff: rename *-color-theme-reference to *-complex-colorTomaž Vajngerl
2023-05-22tdf#155271 add drawooo:display to libreoffice-schemaRegina Henschel
2023-05-11tdf#155238: Reimplement how ListAutoFormat is stored to ODFMike Kaganski
2023-05-11tdf#150673 sw xmloff: import/export tracked table columnLászló Németh
2023-05-05Reworked bibliography mark link target to have user-selectable typeVojtěch Doležal
2023-05-04WIP ODF import and export for MCGRRegina Henschel
2023-04-27sc: pivot table compact layoutDennis Francis
2023-03-24related tdf#102261: xmloff: ODF import/export for ParaTabStopDefaultDistanceSarper Akdemir
2023-03-10Moved target-url and use-target-url into loext namespaceVojtěch Doležal
2023-03-08Bibliography Marks: Added tests for target-url and use-target-urlVojtěch Doležal
2023-03-03tdf#153925 xmloff,sw: decorative flag on frame stylesMichael Stahl
2023-02-23sw floattable: teach the ODT filter about SwFormatFlySplitMiklos Vajna