cmdgetprop.cpp File Reference
#include "cmdgetprop.h"#include "cmdutil.h"#include "scribuscore.h"

Go to the source code of this file.
Functions | |
| PyObject * | scribus_getfillcolor (PyObject *, PyObject *args) |
| PyObject * | scribus_getfilltrans (PyObject *, PyObject *args) |
| PyObject * | scribus_getfillblend (PyObject *, PyObject *args) |
| PyObject * | scribus_getlinecolor (PyObject *, PyObject *args) |
| PyObject * | scribus_getlinetrans (PyObject *, PyObject *args) |
| PyObject * | scribus_getlineblend (PyObject *, PyObject *args) |
| PyObject * | scribus_getlinewidth (PyObject *, PyObject *args) |
| PyObject * | scribus_getlineshade (PyObject *, PyObject *args) |
| PyObject * | scribus_getlinejoin (PyObject *, PyObject *args) |
| PyObject * | scribus_getlineend (PyObject *, PyObject *args) |
| PyObject * | scribus_getlinestyle (PyObject *, PyObject *args) |
| PyObject * | scribus_getfillshade (PyObject *, PyObject *args) |
| PyObject * | scribus_getcornerrad (PyObject *, PyObject *args) |
| PyObject * | scribus_getimgscale (PyObject *, PyObject *args) |
| PyObject * | scribus_getimgname (PyObject *, PyObject *args) |
| PyObject * | scribus_getposi (PyObject *, PyObject *args) |
| PyObject * | scribus_getsize (PyObject *, PyObject *args) |
| PyObject * | scribus_getrotation (PyObject *, PyObject *args) |
| PyObject * | scribus_getallobj (PyObject *, PyObject *args) |
| void | cmdgetpropdocwarnings () |
Function Documentation
| void cmdgetpropdocwarnings | ( | ) |
HACK: this removes "warning: 'blah' defined but not used" compiler warnings with header files structure untouched (docstrings are kept near declarations) PV
Definition at line 294 of file cmdgetprop.cpp.
| PyObject* scribus_getallobj | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns a list with all objects in page
Definition at line 239 of file cmdgetprop.cpp.
References checkHaveDocument(), ScribusDoc::currentPageNumber(), ScribusMainWindow::doc, ScribusDoc::Items, ScribusCore::primaryMainWindow(), and ScCore.
| PyObject* scribus_getcornerrad | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns corner radius of the object
Definition at line 170 of file cmdgetprop.cpp.
References checkHaveDocument(), PageItem::cornerRadius, and GetUniqueItem().
| PyObject* scribus_getfillblend | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns fill blendmode of the object
Definition at line 33 of file cmdgetprop.cpp.
References checkHaveDocument(), PageItem::fillBlendmode(), and GetUniqueItem().
| PyObject* scribus_getfillcolor | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns fill color of the object
Definition at line 11 of file cmdgetprop.cpp.
References checkHaveDocument(), PageItem::fillColor, and GetUniqueItem().
| PyObject* scribus_getfillshade | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns fill shade of the object
Definition at line 159 of file cmdgetprop.cpp.
References checkHaveDocument(), PageItem::fillShade, and GetUniqueItem().
| PyObject* scribus_getfilltrans | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns fill transparency of the object
Definition at line 22 of file cmdgetprop.cpp.
References checkHaveDocument(), PageItem::fillTransparency, and GetUniqueItem().
| PyObject* scribus_getimgname | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns image name of the object
Definition at line 192 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::Pfile.
| PyObject* scribus_getimgscale | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns image scale of the object
Definition at line 181 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), PageItem::imageXScale, and PageItem::imageYScale.
| PyObject* scribus_getlineblend | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns line blendmode of the object
Definition at line 80 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::lineBlendmode().
| PyObject* scribus_getlinecolor | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns color of the line
Definition at line 44 of file cmdgetprop.cpp.
References StoryText::charStyle(), checkHaveDocument(), GetUniqueItem(), PageItem::HasSel, PageItem::itemText, PageItem::itemType, StoryText::length(), PageItem::lineColor, NotFoundError, PageItem::PathText, StoryText::selected(), PageItem::TextFrame, and tr().
| PyObject* scribus_getlineend | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns cap type of the line
Definition at line 137 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::PLineEnd.
| PyObject* scribus_getlinejoin | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns join type of the line
Definition at line 126 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::PLineJoin.
| PyObject* scribus_getlineshade | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns shading of the line
Definition at line 102 of file cmdgetprop.cpp.
References StoryText::charStyle(), checkHaveDocument(), GetUniqueItem(), PageItem::HasSel, PageItem::itemText, PageItem::itemType, StoryText::length(), PageItem::lineShade, PageItem::PathText, StoryText::selected(), and PageItem::TextFrame.
| PyObject* scribus_getlinestyle | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns style type of the line
Definition at line 148 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::PLineArt.
| PyObject* scribus_getlinetrans | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns line transparency of the object
Definition at line 69 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::lineTransparency.
| PyObject* scribus_getlinewidth | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns width of the line
Definition at line 91 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::lineWidth.
| PyObject* scribus_getposi | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns position of the object
Definition at line 203 of file cmdgetprop.cpp.
References checkHaveDocument(), docUnitXToPageX(), docUnitYToPageY(), GetUniqueItem(), PageItem::xPos, and PageItem::yPos.
| PyObject* scribus_getrotation | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns rotation of the object
Definition at line 228 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), and PageItem::rotation.
| PyObject* scribus_getsize | ( | PyObject * | , | |
| PyObject * | args | |||
| ) |
Returns size of the object
Definition at line 217 of file cmdgetprop.cpp.
References checkHaveDocument(), GetUniqueItem(), PageItem::height, PointToValue(), and PageItem::width.
