40 #ifndef MWAW_PICT_BASIC
41 # define MWAW_PICT_BASIC
52 class WPXPropertyList;
53 class MWAWPropertyHandlerEncoder;
107 virtual bool getBinary(WPXBinaryData &data, std::string &s)
const {
109 s =
"image/mwaw-odg";
122 if (diff)
return diff;
127 if (diff)
return (diff < 0) ? -1 : 1;
130 if (diffF < 0)
return -1;
131 if (diffF > 0)
return 1;
137 for (
int c = 0; c < 2; c++) {
139 if (diffF < 0)
return -1;
140 if (diffF > 0)
return 1;
156 void startODG(MWAWPropertyHandlerEncoder &doc)
const;
158 void endODG(MWAWPropertyHandlerEncoder &doc)
const;
164 assert(
id>=0&&
id<=1);
171 for (
int c = 0; c < 2; c++)
m_extend[c]=0;
180 if (&p ==
this)
return *
this;
218 assert(v>=0 && v<=1);
236 if (diff)
return diff;
238 for (
int c = 0; c < 2; c++) {
240 if (diff)
return diff;
242 for (
int c = 0; c < 2; c++) {
244 if (diff)
return (diff < 0) ? -1 : 1;
292 if (diff)
return diff;
294 for (
int i = 0; i < 2; i++) {
296 if (diff)
return (diff < 0) ? -1 : 1;
364 if (diff)
return diff;
368 if (diff)
return diff;
369 for (
int c = 0; c < 2; c++) {
371 if (diffF < 0)
return -1;
372 if (diffF > 0)
return 1;
408 if (diff)
return diff;
412 if (diff)
return diff;
445 if (diff)
return diff;
455 if (diff)
return diff;