* 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 .
*/
//+------------------------------------------------------------------------- // 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
// 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 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
enumclass 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;
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};
:
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
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
; 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;
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.