#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <math.h>#include "fl_BlockLayout.h"#include "pf_Frag_Strux.h"#include "fl_Layout.h"#include "fl_DocLayout.h"#include "fl_SectionLayout.h"#include "fl_FootnoteLayout.h"#include "fl_TableLayout.h"#include "fl_AutoNum.h"#include "fl_TOCLayout.h"#include "fb_LineBreaker.h"#include "fb_Alignment.h"#include "fp_Column.h"#include "fp_FootnoteContainer.h"#include "fp_TableContainer.h"#include "fp_Line.h"#include "fp_Run.h"#include "fp_TextRun.h"#include "fp_FieldListLabelRun.h"#include "fp_DirectionMarkerRun.h"#include "fp_FrameContainer.h"#include "pd_Document.h"#include "fd_Field.h"#include "pd_Style.h"#include "pp_Property.h"#include "pp_AttrProp.h"#include "pt_Types.h"#include "gr_Graphics.h"#include "px_CR_FmtMark.h"#include "px_CR_FmtMarkChange.h"#include "px_CR_Object.h"#include "px_CR_ObjectChange.h"#include "px_CR_Span.h"#include "px_CR_SpanChange.h"#include "px_CR_Strux.h"#include "px_CR_StruxChange.h"#include "pd_Iterator.h"#include "fv_View.h"#include "xap_App.h"#include "xap_Clipboard.h"#include "ut_png.h"#include "ut_sleep.h"#include "fg_Graphic.h"#include "ap_Prefs.h"#include "ap_Prefs_SchemeIds.h"#include "ut_rand.h"#include "fp_FieldTOCNum.h"#include "ut_debugmsg.h"#include "ut_assert.h"#include "ut_std_string.h"#include "ut_string.h"#include "fp_MathRun.h"#include "fp_EmbedRun.h"#include "xap_EncodingManager.h"Defines | |
| #define | BIG_NUM_BLOCKBL 1000000 |
Functions | |
| static void | s_border_properties (const char *border_color, const char *border_style, const char *border_width, const char *color, const char *spacing, PP_PropertyMap::Line &line) |
| static int | compare_tabs (const void *p1, const void *p2) |
| void | buildTabStops (const char *pszTabStops, UT_GenericVector< fl_TabStop * > &m_vecTabs) |
| #define BIG_NUM_BLOCKBL 1000000 |
Referenced by fl_BlockLayout::getLeftRightForWrapping().
| void buildTabStops | ( | const char * | pszTabStops, | |
| UT_GenericVector< fl_TabStop * > & | m_vecTabs | |||
| ) |
References __FL_LEADER_MAX, UT_GenericVector< T >::addItem(), UT_GenericVector< T >::clear(), compare_tabs(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), UT_GenericVector< T >::qsort(), fl_TabStop::setLeader(), fl_TabStop::setOffset(), fl_TabStop::setPosition(), fl_TabStop::setType(), UCS_SPACE, UT_ASSERT, UT_convertToLogicalUnits(), and UT_DEBUGMSG.
Referenced by AP_Dialog_Tab::_event_Clear(), AP_Dialog_Tab::_event_ClearAll(), AP_Dialog_Tab::_event_Set(), AP_Dialog_Tab::_event_Update(), fl_BlockLayout::_lookupProperties(), and ODe_Style_Style::ParagraphProps::fetchAttributesFromAbiProps().
| static int compare_tabs | ( | const void * | p1, | |
| const void * | p2 | |||
| ) | [static] |
Referenced by buildTabStops().
| static void s_border_properties | ( | const char * | border_color, | |
| const char * | border_style, | |||
| const char * | border_width, | |||
| const char * | color, | |||
| const char * | spacing, | |||
| PP_PropertyMap::Line & | line | |||
| ) | [static] |
References PP_PropertyMap::color_color, PP_PropertyMap::color_type(), DIM_PX, PP_PropertyMap::linestyle_type(), PP_PropertyMap::Line::m_color, PP_PropertyMap::Line::m_spacing, 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_convertToLogicalUnits(), UT_determineDimension(), UT_LAYOUT_RESOLUTION, and UT_parseColor().
Referenced by fl_BlockLayout::_lookupProperties().
1.7.1