mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
native code: synchronization with C++ version
This commit is contained in:
parent
6fd4e1e98f
commit
d93770c0f8
111 changed files with 804 additions and 697 deletions
|
@ -68,8 +68,8 @@ protected:
|
|||
FONT_UNDERLINED
|
||||
};
|
||||
|
||||
virtual void addCharData(const char *data, size_t len, bool convert) = 0;
|
||||
virtual void insertImage(const std::string &mimeType, const std::string &fileName, size_t startOffset, size_t size) = 0;
|
||||
virtual void addCharData(const char *data, std::size_t len, bool convert) = 0;
|
||||
virtual void insertImage(const std::string &mimeType, const std::string &fileName, std::size_t startOffset, std::size_t size) = 0;
|
||||
virtual void setEncoding(int code) = 0;
|
||||
virtual void switchDestination(DestinationType destination, bool on) = 0;
|
||||
virtual void setAlignment() = 0;
|
||||
|
@ -81,7 +81,7 @@ protected:
|
|||
private:
|
||||
bool parseDocument();
|
||||
void processKeyword(const std::string &keyword, int *parameter = 0);
|
||||
void processCharData(const char *data, size_t len, bool convert = true);
|
||||
void processCharData(const char *data, std::size_t len, bool convert = true);
|
||||
|
||||
protected:
|
||||
struct RtfReaderState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue