1 #ifndef __DALI_TEXT_ABSTRACTION_TEXT_IO_H__
2 #define __DALI_TEXT_ABSTRACTION_TEXT_IO_H__
5 * Copyright (c) 2015 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.
23 #include <dali/public-api/common/dali-vector.h>
26 #include <dali-toolkit/internal/text/font-run.h>
27 #include <dali-toolkit/internal/text/line-run.h>
28 #include <dali-toolkit/internal/text/script-run.h>
29 #include <dali-toolkit/internal/text/text-definitions.h>
41 * @brief Print a vector of characters.
43 * @param [in] o The output stream operator.
44 * @param [in] text The text to print.
45 * @return The output stream operator.
47 std::ostream& operator<< (std::ostream& o, const Vector<Character>& text);
50 * @brief Print a vector of script runs.
52 * @param [in] o The output stream operator.
53 * @param [in] scriptRuns The script runs to print.
54 * @return The output stream operator.
56 std::ostream& operator<< (std::ostream& o, const Vector<ScriptRun>& scriptRuns);
59 * @brief Print a vector of font runs.
61 * @param [in] o The output stream operator.
62 * @param [in] fontRuns The font runs to print.
63 * @return The output stream operator.
65 std::ostream& operator<< (std::ostream& o, const Vector<FontRun>& fontRuns);
68 * @brief Print a vector of line runs.
70 * @param [in] o The output stream operator.
71 * @param [in] lineRuns The line runs to print.
72 * @return The output stream operator.
74 std::ostream& operator<< (std::ostream& o, const Vector<LineRun>& lineRuns);
78 } // namespace Toolkit
82 #endif // __DALI_TEXT_ABSTRACTION_TEXT_IO_H__