Go to the documentation of this file.
38 #ifndef STAR_FORMATMANAGER
39 # define STAR_FORMATMANAGER
101 void storeSWFormatDef(librevenge::RVNGString
const &name, std::shared_ptr<StarFormatManagerInternal::FormatDef> &format);
103 std::shared_ptr<StarFormatManagerInternal::FormatDef>
getSWFormatDef(librevenge::RVNGString
const &name)
const;
124 std::shared_ptr<StarFormatManagerInternal::State>
m_state;
@ F_NUMBER
Definition: STOFFCell.hxx:57
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:491
bool getLanguageId(int id, std::string &lang, std::string &country)
returns the iso639-1 and iso3166 language code
Definition: StarLanguage.cxx:471
the main class to read/.
Definition: StarFileManager.hxx:62
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
int isCompatibleWith(int vers) const
checks if the document is compatible with vers
Definition: StarZone.hxx:99
static bool readList(StarZone &zone, std::vector< Attribute > &attributeList, StarObject &object)
try to read a list of attribute: 'S'
Definition: StarWriterStruct.cxx:107
@ F_NUMBER_CURRENCY
Definition: STOFFCell.hxx:59
bool m_content
flag to know if this is a content zone
Definition: StarState.hxx:184
bool openSWRecord(unsigned char &type)
try to open a SW record: type + size (24 bytes)
Definition: StarZone.cxx:507
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
a structure used to define a cell and its format
Definition: STOFFCell.hxx:54
void closeFlagZone()
close the cflag zone
Definition: StarZone.cxx:618
the class to store a color
Definition: libstaroffice_internal.hxx:189
class to store an state: ie.
Definition: StarState.hxx:68
STOFFCellStyle const & getCellStyle() const
returns the cell style
Definition: STOFFCell.hxx:185
@ F_NUMBER_PERCENT
Definition: STOFFCell.hxx:59
static std::string str()
Definition: STOFFDebug.hxx:203
bool closeSWRecord(unsigned char type, std::string const &debugName)
try to close a record
Definition: StarZone.hxx:177
#define STOFF_FALLTHROUGH
fall through attributes
Definition: libstaroffice_internal.hxx:110
@ F_BOOLEAN
Definition: STOFFCell.hxx:57
@ F_NUMBER_SCIENTIFIC
Definition: STOFFCell.hxx:59
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
Class to store a brush.
Definition: StarGraphicStruct.hxx:52
a zone in a StarOffice file
Definition: StarZone.hxx:57
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
an object corresponding to an OLE directory
Definition: StarObject.hxx:65
@ F_NUMBER_DECIMAL
Definition: STOFFCell.hxx:59
@ F_TIME
Definition: STOFFCell.hxx:57
Definition: STOFFDebug.hxx:195
@ F_NUMBER_GENERIC
Definition: STOFFCell.hxx:59
void setFormat(Format const &format)
set the cell format
Definition: STOFFCell.hxx:168
@ F_DATETIME
Definition: STOFFCell.hxx:57
static void addPos(long)
Definition: STOFFDebug.hxx:223
static void addDelimiter(long, char)
Definition: STOFFDebug.hxx:225
@ F_TEXT
Definition: STOFFCell.hxx:57
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
Definition: STOFFDebug.hxx:211
librevenge::RVNGPropertyList const & getNumberingStyle() const
returns the numbering style
Definition: STOFFCell.hxx:201
@ F_DATE
Definition: STOFFCell.hxx:57
bool read(StarZone &zone, int nVers, long endPos, StarObject &document)
try to read a brush
Definition: StarGraphicStruct.cxx:498
static bool readFont(StarZone &zone)
try to read a font
Definition: StarFileManager.cxx:775
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
@ F_NUMBER_FRACTION
Definition: STOFFCell.hxx:59
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
unsigned char openFlagZone()
try to open a cflag zone
Definition: StarZone.cxx:611
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
@ F_UNKNOWN
Definition: STOFFCell.hxx:57
Defines STOFFCell (cell content and format)
Format const & getFormat() const
returns the cell format
Definition: STOFFCell.hxx:163
Generated on Sun Dec 8 2024 09:47:04 for libstaroffice by
doxygen 1.8.20