2529bb8cf03dd3a23a8056cff3f2ebf752d304fe
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / internal / controls / text-view / text-view-processor-dbg.h
1 #ifndef __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_PROCESSOR_DBG_H__
2 #define __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_PROCESSOR_DBG_H__
3
4 /*
5  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #include <dali-toolkit/public-api/markup-processor/markup-processor.h>
23 #include <dali/integration-api/debug.h>
24
25 namespace Dali
26 {
27
28 //Forward declarations.
29 class TextStyle;
30
31 namespace Toolkit
32 {
33
34 namespace Internal
35 {
36
37 namespace TextViewProcessor
38 {
39
40 //Forward declarations.
41 struct WordLayoutInfo;
42 struct ParagraphLayoutInfo;
43 struct TextLayoutInfo;
44 struct TextInfoIndices;
45
46 #if defined(DEBUG_ENABLED)
47 extern Debug::Filter* gTextViewProcessorLogFilter;
48 #endif
49
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 );
56
57 } // namespace TextViewProcessor
58
59 } // namespace Internal
60
61 } // namespace Toolkit
62
63 } // namespace Dali
64
65 #endif // __DALI_TOOLKIT_INTERNAL_TEXT_VIEW_PROCESSOR_DBG_H__