mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
do not split css values in parser
This commit is contained in:
parent
5cea231a6a
commit
ccdb527030
3 changed files with 75 additions and 92 deletions
|
@ -32,14 +32,14 @@
|
|||
class StyleSheetTable {
|
||||
|
||||
public:
|
||||
typedef std::map<std::string,std::vector<std::string> > AttributeMap;
|
||||
typedef std::map<std::string,std::string> AttributeMap;
|
||||
static shared_ptr<ZLTextStyleEntry> createControl(const AttributeMap &map);
|
||||
|
||||
private:
|
||||
void addMap(const std::string &tag, const std::string &aClass, const AttributeMap &map);
|
||||
|
||||
static void setLength(ZLTextStyleEntry &entry, ZLTextStyleEntry::Feature featureId, const AttributeMap &map, const std::string &attributeName);
|
||||
static const std::vector<std::string> &values(const AttributeMap &map, const std::string &name);
|
||||
static const std::string &value(const AttributeMap &map, const std::string &name);
|
||||
|
||||
public:
|
||||
bool isEmpty() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue