38 #ifndef BEAGLE_WKS_STRUCT_MANAGER 39 # define BEAGLE_WKS_STRUCT_MANAGER 67 bool getFrame(
int fId,
Frame &frame)
const;
69 std::map<int,Frame>
const &getIdFrameMap()
const;
72 int getFontId(
int fFontId)
const;
76 bool readFontNames(
MWAWEntry const &entry);
80 bool readDocumentInfo();
82 bool readDocumentPreferences();
87 bool readPicture(
int pId, librevenge::RVNGBinaryData &pict,
bool readEDTP=
true);
91 bool readFontStyle(
MWAWEntry const &entry);
99 bool readFormula(
long endPos,
MWAWVec2i const &pos, std::vector<MWAWCellContent::FormulaInstruction> &formula, std::string &error);
104 Frame() : m_charAnchor(true), m_id(0), m_pictId(0), m_origin(), m_dim(), m_page(1),
105 m_wrap(0), m_border(), m_bordersSet(0), m_extra(
"")
111 if (frm.
m_id) o <<
"id=" << frm.
m_id <<
",";
115 o <<
"origin=" << frm.
m_origin <<
",";
116 o <<
"dim=" << frm.
m_dim <<
",";
117 if (frm.
m_pictId) o <<
"picId=" << std::hex << frm.
m_pictId << std::dec <<
",";
164 shared_ptr<BeagleWksStructManagerInternal::State>
m_state;
shared_ptr< BeagleWksStructManagerInternal::State > m_state
the state
Definition: BeagleWksStructManager.hxx:164
small class use to define a formula instruction
Definition: MWAWCell.hxx:359
int m_pictId
the picture id
Definition: BeagleWksStructManager.hxx:126
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
bool m_charAnchor
a flag to know if this is a char or a page frame
Definition: BeagleWksStructManager.hxx:122
Frame()
constructor
Definition: BeagleWksStructManager.hxx:104
Internal: the structures of a BeagleWksStructManager.
Definition: BeagleWksStructManager.cxx:50
Internal: a structure use to store a frame in a BeagleWorks files.
Definition: BeagleWksStructManager.hxx:102
int m_bordersSet
the list of border which are set in form libmwaw::LeftBit|...
Definition: BeagleWksStructManager.hxx:138
a border
Definition: libmwaw_internal.hxx:328
std::string m_extra
extra data
Definition: BeagleWksStructManager.hxx:140
friend std::ostream & operator<<(std::ostream &o, Frame const &frm)
operator<<
Definition: BeagleWksStructManager.hxx:109
int m_wrap
the wrapping: 0=none, 1=rectangle, 2=irregular
Definition: BeagleWksStructManager.hxx:134
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:517
int m_id
frame id
Definition: BeagleWksStructManager.hxx:124
MWAWParserStatePtr m_parserState
the parser state
Definition: BeagleWksStructManager.hxx:161
the main class to read the structure shared between different BeagleWorks files
Definition: BeagleWksStructManager.hxx:56
Defines MWAWCell (cell content and format)
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:523
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWBorder m_border
the border
Definition: BeagleWksStructManager.hxx:136
int m_page
the page ( for a page frame )
Definition: BeagleWksStructManager.hxx:132
MWAWVec2f m_dim
the dimension
Definition: BeagleWksStructManager.hxx:130
MWAWVec2f m_origin
the origin ( for a page frame )
Definition: BeagleWksStructManager.hxx:128