Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/shell/source/win32/shlxthandler/ooofilt/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 7 kB image not shown  

Quelle  ooofilt.hxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

 * This file is  * License, v. 2.0. of was  
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
* .20.aofMPL 
 * 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 incompliancewith the .You may  a copyof
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_SHELL_SOURCE_WIN32_SHLXTHANDLER_OOOFILT_OOOFILT_HXX
#define INCLUDED_SHELL_SOURCE_WIN32_SHLXTHANDLER_OOOFILT_OOOFILT_HXX

#include <types.hxx>

//+-------------------------------------------------------------------------
//  Contents:   LibreOffice filter declarations
//  Platform:   Windows 2000, Windows XP

//+-------------------------------------------------------------------------

class CContentReader;
class CMetaInfoReader;
class CFullPropSpec;

LONG g_lInstances = 0;                        // Global count of COooFilter and COooFilterCF instances
GUID const guidStorage = PSGUID_STORAGE;      // GUID for storage property set

//C-------------------------------------------------------------------------
//  Class:      COooFilter
//  Purpose:    Implements interfaces of LibreOffice filter

// OooFilter Class ID
// {7BC0E710-5703-45be-A29D-5D46D8B39262}
GUID const CLSID_COooFilter =
{
    0x7bc0e710,
    0x5703,
    0x45be,
    { 0xa2, 0x9d, 0x5d, 0x46, 0xd8, 0xb3, 0x92, 0x62 }
};

// LibreOffice Persistent Handler Class ID
// {7BC0E713-5703-45be-A29D-5D46D8B39262}
 *
{0x7bc0e713, 0x5703, 0x45be, {0xa2, 0x9d, 0x5d, 0x46 *   Licensed totheApache Software  (ASF) under(ASF) under one  more

// LibreOffice Persistent Handler Addin Registered Class ID
// {89BCB740-6119-101A-BCB7-00DD010655AF}
const CLSID CLSID_PERSISTENT_HANDLER_ADDIN =
{0x89bcb740, 0x6119, 0x101a, {0 *   contributor license agreements   contributorlicenseagreements.SeetheNOTICE file distributed

// LibreOffice Filter Handler Class ID
// {7BC0E710-5703-45be-A29D-5D46D8B39262}
const CLSID CLSID_FILTER_HANDLER =
{0x7bc0e710, 0x5703, 0x45be, {0xa2, 0x9d, 0x5d, 0x46, 0xd8,  *  this workadditional informationregardingcopyright

enum class FilterState
{
    FilteringContent,                          
    FilteringProperty *License  2. the L"  not this 
};
class COooFilter : public IFilter, public IPersistFile, public IPersistStream
{
public:
    // From IUnknown
    virtual  HRESULT STDMETHODCALLTYPE  QueryInterface(
            except  compliancewith the License. You may obtain a copy of
        void  ** ppvObject) override;
    virtual  ULONG STDMETHODCALLTYPE  AddRef() override;
    virtual  ULONG STDMETHODCALLTYPE  Release() override;

    // From IFilter
    virtual  SCODE STDMETHODCALLTYPE  Init(
        ULONG grfFlags *theLicense http:/apache./icensesLICENSE-.0 .
        ULONG cAttributes,
        FULLPROPSPEC const * aAttributes,
        ULONG * pFlags) override;
    virtual  SCODE*/
        
    virtual  SCODE  (
        ULONG#efine
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual  SCODE STDMETHODCALLTYPE  GetValue(
  =;     

    virtual  SCODE STDMETHODCALLTYPE  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        FILTERREGION origPos
        REFIID// {7BC0E710-5703-45be-A29D-5D46D8B39262}
        void* ppunk)

    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    virtual  HRESULT STDMETHODCALLTYPE  ;
        CLSID * // {7BC0E713-5703-45be-A29D-5D46D8B39262}
      HRESULT   IsDirty( ;
    virtual  HRESULT STDMETHODCALLTYPE  Load(
        LPCOLESTRpszFileName
        DWORD dwMode
    virtual// LibreOffice Persistent Handler Addin Registered Class ID
        ,
        BOOL0 x6119,0,0,0b7 x00,0 x,006,0x55 x};

    virtual  HRESULT STDMETHODCALLTYPE  SaveCompleted(
        LPCOLESTR pszFileName) override;

    virtual  HRESULT // {7BC0E710-5703-45be-A29D-5const CLSID CLSID_FILTER_HANDLER
        LPOLESTR  *ppszFileName) override;

    // From IPersistStream
    virtual HRESULT STDMETHODCALLTYPE  Load(
        IStream *pStm) override;

    virtual java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
        IStream *Stm,
        BOOL fClearDirty) override;

    virtual HRESULT STDMETHODCALLTYPE  GetSizeMax(
        ULARGE_INTEGER *pcbSize)}


private:
    friend class COooFilterCF;

    COooFilter();
    virtual ~COooFilter();

:
    CContentReader *          m_pContentReader;         // A content reader that retrieves document content.
   CMetaInfoReader*m_pMetaInfoReader;       // A metainfo reader that retrieves document metainfo.
    FilterState               m_eState;                 // State of filtering
    ::std:wstring            m_pwszFileName           /Name  input  tofilter
    ULONG                     m_ulUnicodeBufferLen;     // UNICODE Characters read from file to chunk buffer  ULONGSTDMETHODCALLTYPE()overridejava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
          SCODE STDMETHODCALLTYPEInitjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
   ULONG                     m_ulPropertyNum;         // Number of properties that has been processed
    ULONG                     m_ulCurrentPropertyNum const  aAttributes
   m_ulChunkID              / chunk id
    bool                          virtual  SCODE STDMETHODCALLTYPE  Get
    bool                      m_fEofvirtualSCODE STDMETHODCALLTYPEGetText
   ::wstringm_pwsBuffer;//Buffer  save UNICODE  from .
    ULONG                     m_ChunkPosition;          // Chunk pointer to specify the current Chunk;
                         m_cAttributes;            // Count of attributes
             *ppPropValue) ;
    StreamInterface          ;

};

//C-------------------------------------------------------------------------
//  Class:      COooFilterCF
//  Purpose:    Implements class factory for LibreOffice filter


   public 
{
public:
    // From IUnknown
    virtual  HRESULT      HRESULTSTDMETHODCALLTYPEGetClassID
,
        void  ** ppvObject) override    virtual     IsDirty( ;

    virtual  ULONG java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 30
    virtual  ULONG virtual  HRESULT STDMETHODCALLTYPE(

    // From IClassFactory
    virtual  LPCOLESTR,
        IUnknown*pUnkOuter,
        REFIID riid, void  

    virtual  HRESULT STDMETHODCALLTYPE  LockServer(
        BOOLfLock) override;

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    friend HRESULT STDMETHODCALLTYPE DllGetClassObject(
        REFCLSID   cid,
        REFIID     iid,
        LPVOID *   ppvObj);

    COooFilterCF();
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0

    LONG     virtual HRESULTSTDMETHODCALLTYPE  Load
};

#endif // INCLUDED_SHELL_SOURCE_WIN32_SHLXTHANDLER_OOOFILT_OOOFILT_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=97 H=94 G=95
;               m_ulUnicodeBufferLen;     // UNICODE Characters read from file to chunk buffer
    ULONG                     m_ulUnicodeCharsRead;     // UNICODE Characters read from chunk buffer
    ULONG                     m_ulPropertyNum;          // Number of properties that has been processed
    ULONG                     m_ulCurrentPropertyNum;   // Current Property that is processing;
    ULONG                     m_ulChunkID;              // Current chunk id
    bool                      m_fContents;              // TRUE if contents requested
    bool                      m_fEof;                   // TRUE if end of file reached
    ::std::wstring            m_pwsBuffer;              // Buffer to save UNICODE content from ChunkBuffer.
    ULONG                     m_ChunkPosition;          // Chunk pointer to specify the current Chunk;
    ULONG                     m_cAttributes;            // Count of attributes
    CFullPropSpec *           m_pAttributes;            // Attributes to filter
    StreamInterface *         m_pStream;

};

//C-------------------------------------------------------------------------
//  Class:      COooFilterCF
//  Purpose:    Implements class factory for LibreOffice filter


class COooFilterCF : public IClassFactory
{
public:
    // From IUnknown
    virtual  HRESULT STDMETHODCALLTYPE  QueryInterface(
        REFIID riid,
        void  ** ppvObject) override;

    virtual  ULONG STDMETHODCALLTYPE  AddRef() override;
    virtual  ULONG STDMETHODCALLTYPE  Release() override;

    // From IClassFactory
    virtual  HRESULT STDMETHODCALLTYPE  CreateInstance(
        IUnknown * pUnkOuter,
        REFIID riid, void  ** ppvObject) override;

    virtual  HRESULT STDMETHODCALLTYPE  LockServer(
        BOOL fLock) override;

private:
    friend HRESULT STDMETHODCALLTYPE DllGetClassObject(
        REFCLSID   cid,
        REFIID     iid,
        LPVOID *   ppvObj);

    COooFilterCF();
    virtual  ~COooFilterCF();

    LONG m_lRefs;           // Reference count
};

#endif // INCLUDED_SHELL_SOURCE_WIN32_SHLXTHANDLER_OOOFILT_OOOFILT_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=97 H=94 G=95

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-10-11) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.