📄 range.h
字号:
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) Yeico S. A. de C. V. * xlsLib -- A multiplatform, C++ library for dynamic generation of Excel (TM) * files. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Source: /cvsroot/xlslib/xlslib/src/xlslib/range.h,v $ * $Revision: 1.1.1.1 $ * $Author: darioglz $ * $Date: 2004/08/27 16:31:49 $ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * File description: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */#ifndef RANGE_H#define RANGE_H#include <config.h>#include "common.h"#include "sheetrec.h"#include "font.h"#include "cell.h"#include "extformat.h"namespace xlslib_core{ class worksheet; class range : public xf_i, public font_i, private range_t { public: range(unsigned16_t row1, unsigned16_t col1, unsigned16_t row2, unsigned16_t col2, worksheet* pws, bool atomic = false); virtual ~range(); void cellcolor(color_name_t color); private: bool m_Atomic; worksheet* m_pWorkSheet; public: // xf_i interface declaration void font(font_t* fontidx); void format(format_number_t formatidx); void halign(halign_option_t ha_option); void valign(valign_option_t va_option); void orientation(txtori_option_t ori_option); void fillfgcolor(color_name_t color); void fillbgcolor(color_name_t color); void fillstyle(fill_option_t fill); void locked(bool locked_opt); void hidden(bool hidden_opt); void wrap(bool wrap_opt); void borderstyle(border_side_t side, border_style_t style, color_name_t color); public: // font_i interface declaration void fontname(std::string fntname); void fontheight(unsigned16_t fntheight); void fontbold(boldness_option_t fntboldness); void fontunderline(underline_option_t fntunderline); void fontscript(script_option_t fntscript); void fontcolor(color_name_t fntcolor); void fontattr(unsigned16_t attr); void fontitalic(bool italic); void fontstrikeout(bool so); void fontoutline(bool ol); void fontshadow(bool sh); };}#endif //RANGE_H /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * $Log: range.h,v $ * Revision 1.1.1.1 2004/08/27 16:31:49 darioglz * Initial Import. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -