1*4c5491eaSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*4c5491eaSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*4c5491eaSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*4c5491eaSAndrew Rist * distributed with this work for additional information 6*4c5491eaSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*4c5491eaSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*4c5491eaSAndrew Rist * "License"); you may not use this file except in compliance 9*4c5491eaSAndrew Rist * with the License. You may obtain a copy of the License at 10*4c5491eaSAndrew Rist * 11*4c5491eaSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*4c5491eaSAndrew Rist * 13*4c5491eaSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*4c5491eaSAndrew Rist * software distributed under the License is distributed on an 15*4c5491eaSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*4c5491eaSAndrew Rist * KIND, either express or implied. See the License for the 17*4c5491eaSAndrew Rist * specific language governing permissions and limitations 18*4c5491eaSAndrew Rist * under the License. 19*4c5491eaSAndrew Rist * 20*4c5491eaSAndrew Rist *************************************************************/ 21*4c5491eaSAndrew Rist 22*4c5491eaSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _EDITDBG_HXX 25cdf0e10cSrcweir #define _EDITDBG_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <svl/solar.hrc> 28cdf0e10cSrcweir #include <tools/string.hxx> 29cdf0e10cSrcweir #include <stdio.h> 30cdf0e10cSrcweir 31cdf0e10cSrcweir class EditEngine; 32cdf0e10cSrcweir class ParaPortion; 33cdf0e10cSrcweir class EditUndoList; 34cdf0e10cSrcweir class TextPortionList; 35cdf0e10cSrcweir class SfxItemSet; 36cdf0e10cSrcweir class SfxItemPool; 37cdf0e10cSrcweir class SfxPoolItem; 38cdf0e10cSrcweir 39cdf0e10cSrcweir ByteString DbgOutItem( const SfxItemPool& rPool, const SfxPoolItem& rItem ); 40cdf0e10cSrcweir void DbgOutItemSet( FILE* fp, const SfxItemSet& rSet, sal_Bool bSearchInParent, sal_Bool bShowALL ); 41cdf0e10cSrcweir 42cdf0e10cSrcweir class EditDbg 43cdf0e10cSrcweir { 44cdf0e10cSrcweir public: 45cdf0e10cSrcweir static void ShowEditEngineData( EditEngine* pEditEngine, sal_Bool bInfoBox = sal_True ); 46cdf0e10cSrcweir static void ShowPortionData( ParaPortion* pPortion ); 47cdf0e10cSrcweir static ByteString GetPortionInfo( ParaPortion* pPPortion ); 48cdf0e10cSrcweir static ByteString GetTextPortionInfo( TextPortionList& rPortions ); 49cdf0e10cSrcweir static ByteString GetUndoDebStr( EditUndoList* pUndoList ); 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir 52cdf0e10cSrcweir 53cdf0e10cSrcweir #endif // _EDITDBG_HXX 54