/* -*- 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_STREAMSECTION_HXX #define INCLUDED_COMPHELPER_STREAMSECTION_HXX #include #include #include namespace com::sun::star::io { class XDataInputStream; } namespace com::sun::star::io { class XDataOutputStream; } namespace com::sun::star::io { class XMarkableStream; } namespace comphelper { /** implements handling for compatibly reading/writing data from/into an input/output stream. data written in a block secured by this class should be readable by older versions which use the same mechanism. */ class UNLESS_MERGELIBS(COMPHELPER_DLLPUBLIC) OStreamSection { css::uno::Reference m_xMarkStream; css::uno::Reference m_xInStream; css::uno::Reference m_xOutStream; sal_Int32 m_nBlockStart; sal_Int32 m_nBlockLen; public: /** starts reading of a "skippable" section of data within the given input stream
@param _rxInput the stream to read from. Must support the css::io::XMarkableStream interface */ OStreamSection(const css::uno::Reference& _rxInput); /** starts writing of a "skippable" section of data into the given output stream @param _rxOutput the stream the stream to write to. Must support the css::io::XMarkableStream interface */ OStreamSection(const css::uno::Reference& _rxOutput); /** dtor.
If constructed for writing, the section "opened" by this object will be "closed".
If constructed for reading, any remaining bytes 'til the end of the section will be skipped. */ ~OStreamSection(); }; } // namespace comphelper #endif // INCLUDED_COMPHELPER_STREAMSECTION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 4.11 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/uitest
AgeCommit message (Expand)Author
2019-08-31Let's revert this so no confusion.Julien Nabet
2019-08-31Fix typos (Please do not commit)Andrea Gelmini
2019-08-20uitest: Fix typosAhmed ElShreif
2019-08-19uitest: Reformat the python script of the CompilerAhmed ElShreif
2019-08-19uitest: print useful message when textX is not installedMarkus Mohrhard
2019-08-19uitest: add the SideBar implementationAhmed ElShreif
2019-08-19uitest: ignore the logging part of the QuerySaveDialog while closing the appAhmed ElShreif
2019-08-19uitest: use prefix for names that has conflict with python's keywordsAhmed ElShreif
2019-08-19uitest: replace tabs with spacesAhmed ElShreif
2019-08-19uitest: add footer line supportAhmed ElShreif
2019-08-19uitest: solve problem with un-named parentsAhmed ElShreif
2019-08-19uitest: log more events in Calc:Ahmed ElShreif
2019-08-19uitest: log more eventsAhmed ElShreif
2019-08-19uitest: add more events to ui loggerAhmed ElShreif
2019-08-19uitest: start logging draw eventsAhmed ElShreif
2019-08-19uitest: update UI logger grammarAhmed ElShreif
2019-08-19uitest: log more eventsAhmed ElShreif
2019-08-19uitest: solve some bugs in the ui loggerAhmed ElShreif
2019-08-19uitest: add general functions to remove redundunt linesAhmed ElShreif
2019-08-19uitest: add more DSL commandsAhmed ElShreif
2019-08-19uitest: add special commands of writer app implementationAhmed ElShreif
2019-08-19uitest: implement the missing part of the dialog compilerAhmed ElShreif
2019-08-19uitest: add DSL compiler support for more UI itemsAhmed ElShreif
2019-08-19uitest: start the implementation of the new DSL compilerAhmed ElShreif
2019-08-19uitest: change small parts of the grammar and dialog loggerAhmed ElShreif
2019-08-19uitest: Some new features in ui_logger projectAhmed ElShreif
2019-08-19uitest: just update zoom statementAhmed ElShreif
2019-08-19uitest: update the DSL grammarAhmed ElShreif
2019-08-19uitest: new logger DSL grammarAhmed ElShreif
2019-08-09Fix typosAndrea Gelmini
2019-07-26UI tests opening all dialogs in writer and see if it crashesArtur Neumann
2019-07-15uitest: don't complain about the silly VIM swap filesMichael Stahl
2019-07-12Add test_edit_target to AutoRedactDialog UITestMuhammet Kara
2019-07-12Add UITest for AutoRedactDialogMuhammet Kara
2019-06-12UI test for tdf#117987Artur Neumann