Bug 47413 - Document structure listview needs RMB
Summary: Document structure listview needs RMB
Status: RESOLVED INTENTIONAL
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
: 56391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-04 10:03 UTC by Andrey Cherepanov
Modified: 2023-09-20 14:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2002-09-04 09:51:07 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kword
Version:           1.2 RC1 (using KDE 3.0.0 )
Severity:          normal
Installed from:    Red Hat Linux 7.2.92
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-109)
OS:                Linux (i686) release 2.4.7-10
OS/Compiler notes: 

When I save document with overlapped frames with custom order and open this document order of these frames is incorrect - frames is shown in order(depth) of creation instead my edit of these order.

Additionally I try to select frame by clicking on its name in list of document structure. Oops! Yhis list isn't functional. Please add to context menu to element in this list following actions: 
- Delete frame/frameset (depended on element type)
- Change format
- create new frameset for selected frame in this list.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Jo Øiongen 2004-01-08 21:09:42 UTC
*** Bug 56391 has been marked as a duplicate of this bug. ***
Comment 2 David Faure 2004-01-15 21:27:31 UTC
Subject: KOFFICE_1_3_BRANCH: koffice/kword

CVS commit by faure: 

Load and save z-index.
CCMAIL: 47413@bugs.kde.org


  M +3 -0      kwframe.cc   1.393.2.1
  M +37 -2     dtd/kword.dtd   1.154.2.1


--- koffice/kword/kwframe.cc  #1.393:1.393.2.1
@@ -457,4 +457,6 @@ void KWFrame::save( QDomElement &frameEl
     if(sheetSide()!= AnySide)
         frameElem.setAttribute( "sheetSide", static_cast<int>( sheetSide()) );
+
+    frameElem.setAttribute( "z-index", zOrder() );
 }
 
@@ -545,4 +547,5 @@ void KWFrame::load( QDomElement &frameEl
     bbottom = frameElem.attribute( "bbottompt" ).toDouble();
     m_bCopy = KWDocument::getAttribute( frameElem, "copy", frameSet->isHeaderOrFooter() /* default to true for h/f */ );
+    m_zOrder = frameElem.attribute( "z-index" ).toInt();
 }
 

--- koffice/kword/dtd/kword.dtd  #1.154:1.154.2.1
@@ -426,5 +426,5 @@
             min-height:         If set (and >0), this is the minimum height. Applies to AutoExtendFrame.
 
-            runaround:          0...No run around
+            runaround:          0...No run around, the text runs through the frame
                                 1...Frame repels text in overlapping frames
                                 2...Text in overlapping frames will avoid the
@@ -476,4 +476,8 @@
 
             bleftpt, brightpt, btoppt, bbottompt: frame margins
+
+            z-index: z index (signed int).
+                     Relative to the other frame in the same page.
+                     The frame with the biggest z index in a given page, is on top.
 -->
 <!ATTLIST FRAME
@@ -482,4 +486,5 @@
     top CDATA #REQUIRED
     bottom CDATA #REQUIRED
+    min-height CDATA #IMPLIED
     runaround CDATA #IMPLIED
     runaroundSide CDATA #IMPLIED
@@ -487,5 +492,35 @@
     autoCreateNewFrame CDATA #IMPLIED
     newFrameBehavior CDATA #REQUIRED
-    copy CDATA #IMPLIED>
+    copy CDATA #IMPLIED
+    sheetSide CDATA #IMPLIED
+    lWidth CDATA #IMPLIED
+    rWidth CDATA #IMPLIED
+    tWidth CDATA #IMPLIED
+    bWidth CDATA #IMPLIED
+    lRed CDATA #IMPLIED
+    lGreen CDATA #IMPLIED
+    lBlue CDATA #IMPLIED
+    rRed CDATA #IMPLIED
+    rGreen CDATA #IMPLIED
+    rBlue CDATA #IMPLIED
+    tRed CDATA #IMPLIED
+    tGreen CDATA #IMPLIED
+    tBlue CDATA #IMPLIED
+    bRed CDATA #IMPLIED
+    bGreen CDATA #IMPLIED
+    bBlue CDATA #IMPLIED
+    lStyle CDATA #IMPLIED
+    rStyle CDATA #IMPLIED
+    tStyle CDATA #IMPLIED
+    bStyle CDATA #IMPLIED
+    bkRed CDATA #IMPLIED
+    bkGreen CDATA #IMPLIED
+    bkBlue CDATA #IMPLIED
+    bkStyle CDATA #IMPLIED
+    bleftpt CDATA #IMPLIED
+    brightpt CDATA #IMPLIED
+    btoppt CDATA #IMPLIED
+    bbottompt CDATA #IMPLIED
+    z-index CDATA #IMPLIED>
 
 <!ELEMENT PARAGRAPH


Comment 3 Matt Rogers 2004-02-18 03:15:12 UTC
David: should we mark this as closed, or leave it open since there wasn't a commit to both HEAD and BRANCH?
Comment 4 David Faure 2004-02-18 11:30:29 UTC
The commit was done right _before_ 1.3 was out, so this is fixed in 1.3 and doesn't need backporting. I left the BR open for the other part of it - retitling.
Comment 5 Thomas Zander 2008-12-27 03:13:33 UTC
doc structure is no more
Comment 6 Antonio Rojas 2023-09-20 06:46:02 UTC
*** Bug 474714 has been marked as a duplicate of this bug. ***
Comment 7 Bob English 2023-09-20 14:43:33 UTC
(In reply to Antonio Rojas from comment #6)
> *** Bug 474714 has been marked as a duplicate of this bug. ***

This cannot be true!  The bug I filed yesterday is with DOLPHIN's folder panel, not Kwrite's doccument structure!  Please read it again, or actually read the whole thing!  You marked my completely different bug as duplicate of this one: They are not at all related!