summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2002-11-20 10:42:42 +0000
committerMalte Timmermann <mt@openoffice.org>2002-11-20 10:42:42 +0000
commit42bbd92697186073d46fe3805596a9efd3694a2f (patch)
treed982728a5f65d9c5b5df7b0fc21679cf4d75f4a3
parenteafa5f6ea144745f233d4bc8a8d0ded14276d587 (diff)
#105356# dbg output for tabs
-rw-r--r--svx/source/editeng/editdbg.cxx22
1 files changed, 19 insertions, 3 deletions
diff --git a/svx/source/editeng/editdbg.cxx b/svx/source/editeng/editdbg.cxx
index 2262edd01be7..d335ea214660 100644
--- a/svx/source/editeng/editdbg.cxx
+++ b/svx/source/editeng/editdbg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: editdbg.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: mt $ $Date: 2002-08-12 11:39:47 $
+ * last change: $Author: mt $ $Date: 2002-11-20 11:42:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,6 +87,7 @@
#include <langitem.hxx>
#include <emphitem.hxx>
#include <numitem.hxx>
+#include <tstpitem.hxx>
#include <charscaleitem.hxx>
#include <charreliefitem.hxx>
#include <frmdiritem.hxx>
@@ -190,7 +191,22 @@ ByteString DbgOutItem( const SfxItemPool& rPool, const SfxPoolItem& rItem )
aDebStr += ByteString::CreateFromInt32( (USHORT)((SvxAdjustItem&)rItem).GetAdjust() );
break;
case EE_PARA_TABS:
- aDebStr += "Tabs = ?";
+ {
+ aDebStr += "Tabs: ";
+ const SvxTabStopItem& rTabs = (const SvxTabStopItem&) rItem;
+ aDebStr += ByteString::CreateFromInt32( rTabs.Count() );
+ if ( rTabs.Count() )
+ {
+ aDebStr += "( ";
+ for ( USHORT i = 0; i < rTabs.Count(); i++ )
+ {
+ const SvxTabStop& rTab = rTabs[i];
+ aDebStr += ByteString::CreateFromInt32( rTab.GetTabPos() );
+ aDebStr += " ";
+ }
+ aDebStr += ")";
+ }
+ }
break;
case EE_CHAR_LANGUAGE:
case EE_CHAR_LANGUAGE_CJK: