~ubuntu-branches/ubuntu/wily/scribus/wily-proposed

« back to all changes in this revision

Viewing changes to scribus/pageitem.h

  • Committer: Package Import Robot
  • Author(s): Oleksandr Moskalenko
  • Date: 2012-02-09 21:50:56 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120209215056-2wrx1ara0jbm7fi5
Tags: 1.4.0.dfsg+r17287-1
* New upstream stable release upload into Debian (Closes: #654703).
* Applied the Ubuntu armel patch.
* Removed non-free color swatches from resources.
* debian/control:
  - Moved icc-profiles from Recommends to Suggests (Closes: #655885).
  - Updated Standards-Version to 3.9.2.
  - Updated extended description per lintian warning.
* debian/rules:
  - Update mailcap (Closes: #630751). A request for mime.types update has
    been sent to the mime-support maintainer.
  - Added build-arch and build-indep targets per lintian warning.
* debian/patches:
  - top_cmakelists.patch - don't copy extra docs and changelogs.
  - scribus_cmakelists.patch - don't copy extra docs and changelogs.
  - scribus_cmakelists.patch - don't install the non-free "doc" dir.
  - profiles_cmakelists.patch - don't install non-free sRGB profile.
* debian/copyright: 
  - Converted to the DEP5 machine readable foramt.
  - Added licenses for free color swatches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
        void moveImageInFrame(double newX, double newY);
264
264
 
265
265
        ObjAttrVector* getObjectAttributes();
266
 
        /*!
267
 
         * brief Returns a complete ObjectAttribute struct if 1 is found, or ObjectAttribute.name will be QString::null if 0 or >1 are found
268
 
         */
269
 
        ObjectAttribute getObjectAttribute(QString) const;
 
266
 
 
267
        /*!
 
268
         * brief Returns a list of attributes with specified name
 
269
         */
 
270
        QList<ObjectAttribute> getObjectAttributes(QString attributeName) const;
 
271
        /*!
 
272
         * brief Returns a complete ObjectAttribute struct if 1 is found. ObjectAttribute.name will be QString::null if 0 or > 1 are found
 
273
         */
 
274
        ObjectAttribute getObjectAttribute(QString attributeName) const;
270
275
        void setObjectAttributes(ObjAttrVector*);
271
276
        
272
277
        virtual bool createInfoGroup(QFrame *, QGridLayout *) {return false;}
335
340
        virtual void invalidateLayout() { invalid = true; }
336
341
        /// creates valid layout information
337
342
        virtual void layout() {}
 
343
        /// returns frame where is text end
 
344
        PageItem * frameTextEnd();
338
345
        /// returns true if text overflows
339
346
        bool frameOverflows() const;
 
347
        bool frameUnderflows() const;
340
348
        /// returns index of first char displayed in this frame, used to be 0
341
349
        int firstInFrame() const;
342
350
        /// returns index of last char displayed in this frame, used to be MaxChars-1
461
469
        double CurX;
462
470
  /** Zeichen Y-Position */
463
471
        double CurY;
464
 
  /** Cursorposition */
465
 
        int CPos;
466
472
  /** Text des Elements */
467
473
        StoryText itemText;
468
474
  // for itemText undo purpose
486
492
        PageItem* nextInChain() { return NextBox; }
487
493
        const PageItem* prevInChain() const { return BackBox; }
488
494
        const PageItem* nextInChain() const { return NextBox; }
 
495
 
 
496
        bool testLinkCandidate(PageItem* nextFrame);
489
497
        void unlink();
490
498
        void link(PageItem* nextFrame);
491
499
        void dropLinks();
1087
1095
        void restoreEditText(SimpleState *state, bool isUndo);
1088
1096
        void restoreLinkTextFrame(UndoState *state, bool isUndo);
1089
1097
        void restoreUnlinkTextFrame(UndoState *state, bool isUndo);
 
1098
        void restoreReverseText(UndoState *state, bool isUndo);
1090
1099
        /*@}*/
1091
1100
 
1092
1101
        /**