#include <string.h>#include <stdlib.h>#include <time.h>#include "ut_rand.h"#include "ut_locale.h"#include "ut_debugmsg.h"#include "ut_string.h"#include "ut_std_string.h"#include "ut_units.h"#include "ut_png.h"#include "ut_jpeg.h"#include "ut_bytebuf.h"#include "ut_math.h"#include "ie_exp_RTF_listenerWriteDoc.h"#include "ie_exp_RTF_AttrProp.h"#include "pd_Document.h"#include "pd_Style.h"#include "pf_Frag_Strux.h"#include "xap_App.h"#include "pp_AttrProp.h"#include "pp_Property.h"#include "px_ChangeRecord.h"#include "px_CR_Object.h"#include "px_CR_Span.h"#include "px_CR_Strux.h"#include "pt_Types.h"#include "fl_AutoNum.h"#include "fl_AutoLists.h"#include "fl_BlockLayout.h"#include "fp_Run.h"#include "fl_Layout.h"#include "fl_TableLayout.h"#include "fl_FrameLayout.h"#include "ut_svg.h"#include "xap_EncodingManager.h"#include "ut_string_class.h"#include <pd_DocumentRDF.h>Defines | |
| #define | FlushBuffer() do {m_pie->_rtf_chardata(sBuf.c_str(), sBuf.size()); sBuf.clear();} while (0) |
Functions | |
| static UT_sint32 | convertInchToTwips (double inch) |
| static UT_sint32 | convertTwipsToEMU (UT_sint32 twip) |
| static void | s_background_properties (const gchar *pszBgStyle, const gchar *pszBgColor, const gchar *pszBackgroundColor, PP_PropertyMap::Background &background) |
| static void | s_border_properties (const gchar *border_color, const gchar *border_style, const gchar *border_width, const gchar *color, PP_PropertyMap::Line &line) |
| #define FlushBuffer | ( | ) | do {m_pie->_rtf_chardata(sBuf.c_str(), sBuf.size()); sBuf.clear();} while (0) |
Referenced by s_RTF_ListenerWriteDoc::_outputData().
| static UT_sint32 convertInchToTwips | ( | double | inch | ) | [static] |
Referenced by s_RTF_ListenerWriteDoc::_openFrame(), and s_border_properties().
Referenced by s_RTF_ListenerWriteDoc::_openFrame().
| static void s_background_properties | ( | const gchar * | pszBgStyle, | |
| const gchar * | pszBgColor, | |||
| const gchar * | pszBackgroundColor, | |||
| PP_PropertyMap::Background & | background | |||
| ) | [static] |
| static void s_border_properties | ( | const gchar * | border_color, | |
| const gchar * | border_style, | |||
| const gchar * | border_width, | |||
| const gchar * | color, | |||
| PP_PropertyMap::Line & | line | |||
| ) | [static] |
References PP_PropertyMap::color_color, PP_PropertyMap::color_type(), convertInchToTwips(), DIM_PX, PP_PropertyMap::linestyle_type(), PP_PropertyMap::Line::m_color, PP_PropertyMap::Line::m_t_color, PP_PropertyMap::Line::m_t_linestyle, PP_PropertyMap::Line::m_t_thickness, PP_PropertyMap::Line::m_thickness, PP_PropertyMap::Line::reset(), PP_PropertyMap::thickness_length, PP_PropertyMap::thickness_type(), UT_convertDimensionless(), UT_convertToInches(), UT_determineDimension(), UT_LAYOUT_RESOLUTION, and UT_parseColor().
Referenced by s_RTF_ListenerWriteDoc::_openFrame().
1.7.1