View Issue Details

IDProjectCategoryView StatusLast Update
0010849ScribusScripterpublic2012-07-05 19:43
Reporterale Assigned Tojainbasil  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version1.5.0svn 
Summary0010849: new scripter: could not call TextAPI::textOverFlows
Descriptioni 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...
TagsNo tags attached.
Patch

Activities

ale

2012-07-05 18:44

manager  

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();
text_overflow.diff (1,240 bytes)   

Issue History

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