Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Protected Member Functions | Protected Attributes | Private Member Functions
ImageEffectsAndLayers_body Class Reference
Inheritance diagram for ImageEffectsAndLayers_body:
Inheritance graph
[legend]
Collaboration diagram for ImageEffectsAndLayers_body:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

virtual void end (const Xml_string &)
virtual void chars (const Xml_string &)

Protected Attributes

Digester * dig

Private Member Functions

void begin (const Xml_string &tagName, Xml_attr attr)

Detailed Description

Definition at line 367 of file pageitem_desaxe.cpp.


Member Function Documentation

void ImageEffectsAndLayers_body::begin ( const Xml_string tagName,
Xml_attr  attr 
) [inline, private, virtual]

Reimplemented from desaxe::Action_body.

Definition at line 369 of file pageitem_desaxe.cpp.

       {
//            qDebug(QString("pageitem_desaxe: effects/layers %1").arg(tagName));
              if (tagName=="ImageEffect")
              {
                     PageItem* obj = this->dig->top<PageItem>();
                     struct ScImage::imageEffect ef;
                     ef.effectParameters = attr["Param"];
                     ef.effectCode = parseInt(attr["Code"]);
                     obj->effectsInUse.append(ef);
              }
              if (tagName == "PSDLayer")
              {
                     PageItem* obj = this->dig->top<PageItem>();
                     struct ImageLoadRequest loadingInfo;
                     loadingInfo.blend = attr["Blend"];
                     loadingInfo.opacity = parseInt(attr["Opacity"]);
                     loadingInfo.visible = parseBool(attr["Visible"]);
                     loadingInfo.useMask = parseBool(attr["useMask"]);
                     obj->pixm.imgInfo.RequestProps.insert(parseInt(attr["Layer"]), loadingInfo);
                     obj->pixm.imgInfo.isRequest = true;
              }
       }

Here is the call graph for this function:

virtual void desaxe::Action_body::chars ( const Xml_string ) [inline, protected, virtual, inherited]

Reimplemented in AppendText_body, desaxe::SetText_body< Obj_Type >, and desaxe::AddText_body< Obj_Type >.

Definition at line 36 of file actions.h.

{}

Here is the caller graph for this function:

virtual void desaxe::Action_body::end ( const Xml_string ) [inline, protected, virtual, inherited]

Member Data Documentation

Digester* desaxe::Action_body::dig [protected, inherited]

Definition at line 38 of file actions.h.


The documentation for this class was generated from the following file: