1 #ifndef __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_PROCESSOR_DBG_H__
2 #define __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_PROCESSOR_DBG_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali-toolkit/public-api/markup-processor/markup-processor.h>
23 #include <dali/integration-api/debug.h>
28 //Forward declarations.
37 namespace TextViewProcessor
40 //Forward declarations.
41 struct WordLayoutInfo;
42 struct ParagraphLayoutInfo;
43 struct TextLayoutInfo;
44 struct TextInfoIndices;
46 #if defined(DEBUG_ENABLED)
47 extern Debug::Filter* gTextViewProcessorLogFilter;
50 void dbgPrint( const WordLayoutInfo& word );
51 void dbgPrint( const ParagraphLayoutInfo& paragraph );
52 void dbgPrint( const TextLayoutInfo& textInfo );
53 void dbgPrint( const TextStyle& style );
54 void dbgPrint( const TextInfoIndices& indices );
55 void dbgPrint( const MarkupProcessor::StyledTextArray& text );
57 } // namespace TextViewProcessor
59 } // namespace Internal
61 } // namespace Toolkit
65 #endif // __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_PROCESSOR_DBG_H__