libwps: WPS.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# WPS.h

Go to the documentation of this file.

    00001 /* libwpd
    00002  * Copyright (C) 2006, 2007 Andrew Ziem
    00003  *
    00004  * This library is free software; you can redistribute it and/or
    00005  * modify it under the terms of the GNU Library General Public
    00006  * License as published by the Free Software Foundation; either
    00007  * version 2 of the License, or (at your option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful,
    00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012  * Library General Public License for more details.
    00013  *
    00014  * You should have received a copy of the GNU Library General Public
    00015  * License along with this library; if not, write to the Free Software
    00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
    00017  *
    00018  */
    00019
    00020 #ifndef WPS_H
    00021 #define WPS_H
    00022
    00023
    00029 class FPROP
    00030 {
    00031 public:
    00032         FPROP() : cch(0), rgchProp() {};
    00033         uint8_t cch; /* number of bytes in this FPROP */
    00034         std::string rgchProp; /* Prefix for a CHP or PAP sufficient to handle differing bits from default */
    00035 };
    00036
    00040 class FOD
    00041 {
    00042 public:
    00043         FOD() : fcLim(0), bfprop(0), bfprop_abs(0), fprop() {}
    00044         uint32_t        fcLim; /* byte number of last character covered by this FOD */
    00045         uint16_t        bfprop; /* byte offset from beginning of FOD array to corresponding FPROP */
    00046         uint32_t        bfprop_abs; /* bfprop from beginning of stream offset */
    00047         FPROP           fprop;  /* character or paragraph formatting */
    00048 };
    00049
    00050 #endif
    00051
    00052