#include <stdlib.h>#include <math.h>#include <string.h>#include <vector>#include <algorithm>#include "fp_TableContainer.h"#include "fp_Column.h"#include "fp_Page.h"#include "fp_Line.h"#include "fv_View.h"#include "fl_SectionLayout.h"#include "fl_TableLayout.h"#include "gr_DrawArgs.h"#include "ut_vector.h"#include "ut_std_vector.h"#include "ut_types.h"#include "ut_debugmsg.h"#include "ut_assert.h"#include "fl_FootnoteLayout.h"#include "fp_FootnoteContainer.h"#include "fp_FrameContainer.h"#include "gr_Painter.h"#include "pd_Document.h"Functions | |
| void | s_cell_border_style (PP_PropertyMap::Line &line, const PP_PropertyMap::Line &table_line, const fl_TableLayout *table) |
| static UT_sint32 | compareCellPosBinary (const void *vX1, const void *vX2) |
| static UT_sint32 compareCellPosBinary | ( | const void * | vX1, | |
| const void * | vX2 | |||
| ) | [static] |
This static function is used to compare cells' position for the UT_Vector::binarysearch
| vX1 | pointer to a Point value. | |
| vX2 | pointer to a fp_CellContainer object |
References fp_CellContainer::getBottomAttach(), fp_CellContainer::getLeftAttach(), fp_CellContainer::getRightAttach(), fp_CellContainer::getTopAttach(), UT_Point::x, and UT_Point::y.
Referenced by fp_TableContainer::getCellAtRowColumn().
| void s_cell_border_style | ( | PP_PropertyMap::Line & | line, | |
| const PP_PropertyMap::Line & | table_line, | |||
| const fl_TableLayout * | table | |||
| ) |
References PP_PropertyMap::color__unset, PP_PropertyMap::color_color, PP_PropertyMap::color_inherit, fl_TableLayout::getDefaultColor(), fl_TableLayout::getLineThickness(), PP_PropertyMap::linestyle__unset, PP_PropertyMap::linestyle_inherit, 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::thickness__unset, PP_PropertyMap::thickness_inherit, and PP_PropertyMap::thickness_length.
Referenced by fp_CellContainer::getBottomStyle(), fp_CellContainer::getLeftStyle(), fp_CellContainer::getRightStyle(), and fp_CellContainer::getTopStyle().
1.7.1