A separate clas for Guides IO operations in reading or closing the documents.
More...
#include <guidemanagercore.h>
|
static void | readHorizontalGuides (const QString guideString, ScPage *page, GuideManagerCore::GuideType type, bool useOldGuides=false) |
| Read the guides from XML attribute (file opening). It's statis method sou you can call it without instance initialized: GuideManagerIO::readHorizontalGuides(foo blah);. More...
|
|
static void | readVerticalGuides (const QString guideString, ScPage *page, GuideManagerCore::GuideType type, bool useOldGuides=false) |
| Read the guides from XML attribute (file opening). It's statis method sou you can call it without instance initialized: GuideManagerIO::readVerticalGuides(foo blah);. More...
|
|
static QString | writeHorizontalGuides (ScPage *page, GuideManagerCore::GuideType type) |
|
static QString | writeVerticalGuides (ScPage *page, GuideManagerCore::GuideType type) |
|
static void | readSelection (const QString guideString, ScPage *page) |
|
static QString | writeSelection (ScPage *page) |
|
A separate clas for Guides IO operations in reading or closing the documents.
- Author
- Petr Vanek petr@.nosp@m.scri.nosp@m.bus.i.nosp@m.nfo
void GuideManagerIO::readHorizontalGuides |
( |
const QString |
guideString, |
|
|
ScPage * |
page, |
|
|
GuideManagerCore::GuideType |
type, |
|
|
bool |
useOldGuides = false |
|
) |
| |
|
static |
Read the guides from XML attribute (file opening). It's statis method sou you can call it without instance initialized: GuideManagerIO::readHorizontalGuides(foo blah);.
- Parameters
-
guideString | a string with all values separated by space (' '). E.g. "1.0 23.17 6" |
page | a reference to the Page object to append the separated guideString values |
type | Guide type to load |
useOldGuides | A little bit hacking here. The guides were stored in a little mess in the ancient times. So when is the obsolete XML attribute found in reading document the old reading method is used. All guides are saved in new format then. |
void GuideManagerIO::readVerticalGuides |
( |
const QString |
guideString, |
|
|
ScPage * |
page, |
|
|
GuideManagerCore::GuideType |
type, |
|
|
bool |
useOldGuides = false |
|
) |
| |
|
static |
Read the guides from XML attribute (file opening). It's statis method sou you can call it without instance initialized: GuideManagerIO::readVerticalGuides(foo blah);.
- Parameters
-
guideString | a string with all values separated by space (' '). E.g. "1.0 23.17 6" |
page | a reference to the Page object to append the separated guideString values |
type | Guide type to load |
useOldGuides | A little bit hacking here. The guides were stored in a little mess in the ancient times. So when is the obsolete XML attribute found in reading document the old reading method is used. All guides are saved in new format then. |
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/guidemanagercore.h
- /Users/ale/src/Scribus/scribus/guidemanagercore.cpp