View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010849 | Scribus | Scripter | public | 2012-07-05 18:44 | 2012-07-05 19:43 |
Reporter | ale | Assigned To | jainbasil | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Product Version | 1.5.0svn | ||||
Summary | 0010849: new scripter: could not call TextAPI::textOverFlows | ||||
Description | i could not call TextAPI::textOverFlows. patch attached... i have removed the parameter since it was not used. please remove the outcommented code in the function if it won't be used anymore or implement it... | ||||
Tags | No tags attached. | ||||
Attached Files | text_overflow.diff (1,240 bytes)
Index: scribus/plugins/scripter/api_textitem.cpp =================================================================== --- scribus/plugins/scripter/api_textitem.cpp (revision 17677) +++ scribus/plugins/scripter/api_textitem.cpp (working copy) @@ -425,7 +425,7 @@ return true; } -int TextAPI::textOverFlows(bool checkLinks) +int TextAPI::textOverFlows(/* bool checkLinks */) { if (!checkHaveDocument()) RAISE("No document open"); Index: scribus/plugins/scripter/api_textitem.h =================================================================== --- scribus/plugins/scripter/api_textitem.h (revision 17677) +++ scribus/plugins/scripter/api_textitem.h (working copy) @@ -28,6 +28,7 @@ Q_PROPERTY(QList<QVariant> distances READ distances) Q_PROPERTY(bool deleteText READ deleteText) Q_PROPERTY(bool traceText READ traceText) + Q_PROPERTY(int textOverflows READ textOverFlows) Q_PROPERTY(bool hyphenate READ hyphenate) Q_PROPERTY(bool dehyphenate READ dehyphenate) Q_PROPERTY(bool PDFBookMark READ PDFBookMark WRITE setPDFBookMark) @@ -71,7 +72,7 @@ bool deleteText(); bool traceText(); - int textOverFlows(bool checkLinks); + int textOverFlows(/* bool checkLinks */); bool hyphenate(); bool dehyphenate(); | ||||
Patch | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-05 18:44 | ale | New Issue | |
2012-07-05 18:44 | ale | Status | new => assigned |
2012-07-05 18:44 | ale | Assigned To | => jainbasil |
2012-07-05 18:44 | ale | File Added: text_overflow.diff | |
2012-07-05 18:44 | ale | Issue generated from: 0010846 | |
2012-07-05 19:43 | ale | Issue cloned: 0010850 |