Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

cmdstyle.cpp File Reference

#include "cmdstyle.h"
#include "cmdutil.h"
#include "qbuffer.h"
#include "qpixmap.h"
#include <QList>
#include "scribuscore.h"
#include "styles/paragraphstyle.h"
#include "styles/charstyle.h"

Include dependency graph for cmdstyle.cpp:

Go to the source code of this file.

Functions

PyObject * scribus_createparagraphstyle (PyObject *, PyObject *args, PyObject *keywords)
PyObject * scribus_createcharstyle (PyObject *, PyObject *args, PyObject *keywords)
void cmdstyledocwarnings ()


Function Documentation

void cmdstyledocwarnings (  ) 

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 159 of file cmdstyle.cpp.

PyObject* scribus_createcharstyle ( PyObject *  ,
PyObject *  args,
PyObject *  keywords 
)

03.01.2007 - 05.01.2007 : Joachim Neu : Create a char style. Special thanks go to avox for helping me!

Definition at line 85 of file cmdstyle.cpp.

References ScribusDoc::AllFonts, checkHaveDocument(), StyleSet< STYLE >::create(), ScribusMainWindow::doc, ScribusCore::primaryMainWindow(), Py_RETURN_NONE, ScribusDoc::redefineCharStyles(), ScCore, Style::setName(), and tr().

PyObject* scribus_createparagraphstyle ( PyObject *  ,
PyObject *  args,
PyObject *  keywords 
)

02.01.2007 - 05.01.2007 : Joachim Neu : Create a paragraph style. Special thanks go to avox for helping me!

Definition at line 22 of file cmdstyle.cpp.

References ParagraphStyle::charStyle(), checkHaveDocument(), StyleSet< STYLE >::create(), ScribusMainWindow::doc, ScribusCore::primaryMainWindow(), Py_RETURN_NONE, ScribusDoc::redefineStyles(), ScCore, Style::setName(), Style::setParent(), and tr().

Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.