Thomas Zander | 1 Apr 01:43 2010
Picon

Re: koffice

First of all, good that you did the research and found all the missing 
headers. Better late than never! :-)

Since this caused a bit of a discussion earlier this week I think it would 
have been a really good idea to post this for review first. Really, 
communication is good!!

The addition of pierre to KoStyleManager.h may have been by mistake, at least 
I can't find any commits at all from him on that file. Can you check and correct 
it, please?

On Wednesday 31. March 2010 22.10.12 Sebastian Sauer wrote:
> SVN commit 1109709 by sebsauer:
> 
> copyrights++
> 
>  M  +1 -0      kword/part/KWPageStyle.h
>  M  +2 -1      libs/kotext/styles/KoCharacterStyle.cpp
>  M  +2 -0      libs/kotext/styles/KoCharacterStyle.h
>  M  +2 -0      libs/kotext/styles/KoParagraphStyle.cpp
>  M  +2 -0      libs/kotext/styles/KoParagraphStyle.h
>  M  +2 -0      libs/kotext/styles/KoStyleManager.cpp
>  M  +2 -0      libs/kotext/styles/KoStyleManager.h
> 
> 
> --- trunk/koffice/kword/part/KWPageStyle.h #1109708:1109709
>  <at>  <at>  -1,5 +1,6  <at>  <at> 
>  /* This file is part of the KDE project
>   * Copyright (C) 2006, 2008-2009 Thomas Zander <zander <at> kde.org>
> + * Copyright (C) 2008 Pierre Ducroquet <pinaraf <at> pinaraf.info>
(Continue reading)

Millicent Bell | 1 Apr 06:01 2010
Picon

Kivio Release

To Whom It May Concern:

I noticed on the website that you are currently looking for volunteers  
to help get Kivio ready for release.  How can I get involved and when  
do you expect to release Kivio?

Thank you,
Millicent Bell
Inge Wallin | 1 Apr 08:40 2010
Picon
Picon
Picon

Re: Who writes the load/save support for text on shapes?

On Wednesday 31 March 2010 22:36:49 Robert Åkerblom-Andersson wrote:
> Hi, I'm going to apply to GSoC and would like to improve text on shapes so
> that it would works good for editing in Kivio and other Koffice apps.
> 
> Ingwa told me that someone was working on load and save support for the
> office viewer and other agreed that it would be a good GSoC project to
> extend that. I would like to know who is writing this software so that I
> could talk with him/her/them some more before writing my application.

Wait, now you must have misunderstood.  What I said was that I think that 
somebody is working on text on shapes, but I'm not sure who or what the 
current status is.  Naturally save and load is a part of that.

> So is anyone of you reading this working on this or know some one who I
> should contact, please make a response!
> 
> I've started to write down some more about the project a few days ago but
> have not had time to edit it anymore since. Will edit the page some more
> tomorow. http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion
> <http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion>
> 
_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
Korinek Pavol | 1 Apr 10:15 2010

footer paragraph default allign

Hello,

I’m  working on page numbering. I can create patch to enable it, but I have still little problem. I have MS Office (MSO) input file. There’s not set align for page number. MSO displays it as centered align by default. KWord displays it as left align by default. If I save this file with my MSO that this attribute is set. Anyway I need to create patch to fix this problem for my input.

Which solution is right ?

1.       I can ignore it.

2.       I can set centered default align for paragraph in KWord

a.       need to detect that this paragraph is page number -> problem

b.      can be detected as paragraph in footer -> there can be more paragraphs -> problem

3.       Your idea J

 

Pavol

 

Best regards

 

Mgr. Pavol Korinek

SW Developer

Ixonos Slovakia, s.r.o.

Štúrova 27

04001 Košice, Slovakia

Mobile: +421 918 718 984

e-mail: pavol.korinek <at> ixonos.com

www.ixonos.com

 

_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
Yue Liu | 1 Apr 10:20 2010
Picon

Re: Kivio Release

You can take a look at kivio part on wiki.koffice.org, recent ideas
are listed there. I'm trying to help the stencil support. Many people
wish to release Kivio with KOffice 2.3.

On Thu, Apr 1, 2010 at 12:01 PM, Millicent Bell <mcbell1908 <at> gmail.com> wrote:
> To Whom It May Concern:
>
> I noticed on the website that you are currently looking for volunteers
> to help get Kivio ready for release.  How can I get involved and when
> do you expect to release Kivio?
>
> Thank you,
> Millicent Bell
> _______________________________________________
> koffice-devel mailing list
> koffice-devel <at> kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel
>
Yue Liu | 1 Apr 10:31 2010
Picon

Re: Who writes the load/save support for text on shapes?

Jean-Nicolas Artaud, seems he is working on text on shape.

On Thu, Apr 1, 2010 at 2:40 PM, Inge Wallin <inge <at> lysator.liu.se> wrote:
> On Wednesday 31 March 2010 22:36:49 Robert Åkerblom-Andersson wrote:
>> Hi, I'm going to apply to GSoC and would like to improve text on shapes so
>> that it would works good for editing in Kivio and other Koffice apps.
>>
>> Ingwa told me that someone was working on load and save support for the
>> office viewer and other agreed that it would be a good GSoC project to
>> extend that. I would like to know who is writing this software so that I
>> could talk with him/her/them some more before writing my application.
>
> Wait, now you must have misunderstood.  What I said was that I think that
> somebody is working on text on shapes, but I'm not sure who or what the
> current status is.  Naturally save and load is a part of that.
>
>> So is anyone of you reading this working on this or know some one who I
>> should contact, please make a response!
>>
>> I've started to write down some more about the project a few days ago but
>> have not had time to edit it anymore since. Will edit the page some more
>> tomorow. http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion
>> <http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion>
>>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel <at> kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel
>
Robert Åkerblom-Andersson | 1 Apr 11:59 2010
Picon

Re: Who writes the load/save support for text on shapes?

Okey, Ingwa told me that he thinks someone is working on it. A little misunderstanding, I'm sorry for that.

Still, anyone who know anything about this? Is there anyone working on it or not? What do you know or think? :)


Date: Thu, 1 Apr 2010 08:40:27 +0200
From: Inge Wallin <inge <at> lysator.liu.se>
Subject: Re: Who writes the load/save support for text on shapes?
To: koffice-devel <at> kde.org
Message-ID: <201004010840.27409.inge <at> lysator.liu.se>
Content-Type: Text/Plain;  charset="utf-8"

On Wednesday 31 March 2010 22:36:49 Robert ?kerblom-Andersson wrote:
> Hi, I'm going to apply to GSoC and would like to improve text on shapes so
> that it would works good for editing in Kivio and other Koffice apps.
>
> Ingwa told me that someone was working on load and save support for the
> office viewer and other agreed that it would be a good GSoC project to
> extend that. I would like to know who is writing this software so that I
> could talk with him/her/them some more before writing my application.

Wait, now you must have misunderstood.  What I said was that I think that
somebody is working on text on shapes, but I'm not sure who or what the
current status is.  Naturally save and load is a part of that.

> So is anyone of you reading this working on this or know some one who I
> should contact, please make a response!
>
> I've started to write down some more about the project a few days ago but
> have not had time to edit it anymore since. Will edit the page some more
> tomorow. http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion
> <http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion>
>

--
Sincerely, Robert Åkerblom-Andersson
_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
Jean-Nicolas Artaud | 1 Apr 12:16 2010
Picon

Re: Who writes the load/save support for text on shapes?

Hello,

I am not working on it anymore atm.
Do not hesitate to contact me on irc freenode (aka morice-net) or by mail at this address.
I'll try to help !

Best regards,
Jean-Nicolas

2010/4/1 Robert Åkerblom-Andersson <robert.nr1 <at> gmail.com>
Okey, Ingwa told me that he thinks someone is working on it. A little misunderstanding, I'm sorry for that.

Still, anyone who know anything about this? Is there anyone working on it or not? What do you know or think? :)


Date: Thu, 1 Apr 2010 08:40:27 +0200
From: Inge Wallin <inge <at> lysator.liu.se>
Subject: Re: Who writes the load/save support for text on shapes?
To: koffice-devel <at> kde.org
Message-ID: <201004010840.27409.inge <at> lysator.liu.se>
Content-Type: Text/Plain;  charset="utf-8"


On Wednesday 31 March 2010 22:36:49 Robert ?kerblom-Andersson wrote:
> Hi, I'm going to apply to GSoC and would like to improve text on shapes so
> that it would works good for editing in Kivio and other Koffice apps.
>
> Ingwa told me that someone was working on load and save support for the
> office viewer and other agreed that it would be a good GSoC project to
> extend that. I would like to know who is writing this software so that I
> could talk with him/her/them some more before writing my application.

Wait, now you must have misunderstood.  What I said was that I think that
somebody is working on text on shapes, but I'm not sure who or what the
current status is.  Naturally save and load is a part of that.

> So is anyone of you reading this working on this or know some one who I
> should contact, please make a response!
>
> I've started to write down some more about the project a few days ago but
> have not had time to edit it anymore since. Will edit the page some more
> tomorow. http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion
> <http://wiki.koffice.org/index.php?title=Kivio_GSoC_Scorpiion>
>

--
Sincerely, Robert Åkerblom-Andersson

_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
Thomas Zander | 1 Apr 13:27 2010
Picon

Re: Who writes the load/save support for text on shapes?

Hi Robert,

In general;
Project proposals for KOffice that are plugins or extensions outside the core 
libs have a better chance of succeeding and therefor of being accepted.
This is due to a simple reason that there is a lot of work by a lot of people 
going on in the koffice libs, including refactors which make this a more 
unpredicatble part of KOffice to work on.  This is not a problem for many 
situations, but it is a problem for GSoC that has a timeline and a goal over 
various months.

On Wednesday 31. March 2010 22.36.49 Robert Åkerblom-Andersson wrote:
> Hi, I'm going to apply to GSoC and would like to improve text on shapes so
> that it would works good for editing in Kivio and other Koffice apps.

I don't think this suggested project is big enough for a GSoC, to be honest.
--

-- 
Thomas Zander
amit aggarwal | 1 Apr 13:41 2010
Picon

Patch for regarding internal parse error in ppt

Hello,

I am attaching the patch files one for mso.xml and other koffice for
regarding internal parse error in ppt.

Please verify it and commit this patch in mso.
-- 
Thanks
Amit Aggarwal
Index: tools/scripts/downloadMSOfficeDocuments.pl
===================================================================
--- tools/scripts/downloadMSOfficeDocuments.pl	(revision 1109940)
+++ tools/scripts/downloadMSOfficeDocuments.pl	(working copy)
 <at>  <at>  -27,6 +27,9  <at>  <at> 
 my %mimetypes = (
 	"ppt", "application/vnd.ms-powerpoint",
 	"pdf", "application/pdf",
+        "pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation" ,
+        "xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+	"docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
 	"doc", "application/msword",
 	"xls", "application/vnd.ms-excel",
 	"rtf", "application/rtf",
Index: filters/libmso/generated/simpleParser.cpp
===================================================================
--- filters/libmso/generated/simpleParser.cpp	(revision 1109940)
+++ filters/libmso/generated/simpleParser.cpp	(working copy)
 <at>  <at>  -1623,6 +1623,24  <at>  <at> 
         throw IncorrectValueException(in.getPosition(), "((quint32)_s.reserved4) == 0");
     }
 }
+void MSO::parseDummy(LEInputStream& in, Dummy& _s) {
+    _s.streamOffset = in.getPosition();
+    int _c;
+    LEInputStream::Mark _m;
+    parseOfficeArtRecordHeader(in, _s.rh);
+    if (!(_s.rh.recVer == 3)) {
+        throw IncorrectValueException(in.getPosition(), "_s.rh.recVer == 3");
+    }
+    if (!(_s.rh.recInstance == 9)) {
+        throw IncorrectValueException(in.getPosition(), "_s.rh.recInstance == 9");
+    }
+    if (!(_s.rh.recType == 0x0)) {
+        throw IncorrectValueException(in.getPosition(), "_s.rh.recType == 0x0");
+    }
+    _c = _s.rh.recLen;
+    _s.dummyData.resize(_c);
+    in.readBytes(_s.dummyData);
+}
 void MSO::parseTextHeaderAtom(LEInputStream& in, TextHeaderAtom& _s) {
     _s.streamOffset = in.getPosition();
     parseRecordHeader(in, _s.rh);
 <at>  <at>  -9087,6 +9105,28  <at>  <at> 
     }
     _m = in.setMark();
     try {
+        OfficeArtRecordHeader _optionCheck(&_s);
+        parseOfficeArtRecordHeader(in, _optionCheck);
+        _possiblyPresent = (_optionCheck.recVer == 3)&&(_optionCheck.recInstance ==
9)&&(_optionCheck.recType == 0x0);
+    } catch(EOFException _e) {
+        _possiblyPresent = false;
+    }
+    in.rewind(_m);
+    _m = in.setMark();
+    if (_possiblyPresent) {
+        try {
+            _s.dummy = QSharedPointer<Dummy>(new Dummy(&_s));
+            parseDummy(in, *_s.dummy.data());
+        } catch(IncorrectValueException _e) {
+            _s.dummy.clear();
+            in.rewind(_m);
+        } catch(EOFException _e) {
+            _s.dummy.clear();
+            in.rewind(_m);
+        }
+    }
+    _m = in.setMark();
+    try {
         RecordHeader _optionCheck(&_s);
         parseRecordHeader(in, _optionCheck);
         _possiblyPresent = (_optionCheck.recVer == 0x0)&&(_optionCheck.recInstance ==
0x0)&&(_optionCheck.recType == 0xFAA);
Index: filters/libmso/generated/simpleParser.h
===================================================================
--- filters/libmso/generated/simpleParser.h	(revision 1109940)
+++ filters/libmso/generated/simpleParser.h	(working copy)
 <at>  <at>  -140,6 +140,8  <at>  <at> 
 void parseNotesListWithTextContainer(LEInputStream& in, NotesListWithTextContainer& _s);
 class NotesPersistAtom;
 void parseNotesPersistAtom(LEInputStream& in, NotesPersistAtom& _s);
+class Dummy;
+void parseDummy(LEInputStream& in, Dummy& _s);
 class TextHeaderAtom;
 void parseTextHeaderAtom(LEInputStream& in, TextHeaderAtom& _s);
 class TextCharsAtom;
 <at>  <at>  -1345,6 +1347,12  <at>  <at> 
     quint32 reserved4;
     NotesPersistAtom(void* /*dummy*/ = 0) {}
 };
+class Dummy : public StreamOffset {
+public:
+    OfficeArtRecordHeader rh;
+    QByteArray dummyData;
+    Dummy(void* /*dummy*/ = 0) {}
+};
 class TextHeaderAtom : public StreamOffset {
 public:
     RecordHeader rh;
 <at>  <at>  -4247,6 +4255,7  <at>  <at> 
     QSharedPointer<MasterTextPropAtom> master;
     QList<TextBookmarkAtom> bookmark;
     QSharedPointer<TextRulerAtom> textRuler;
+    QSharedPointer<Dummy> dummy;
     QSharedPointer<TextSpecialInfoAtom> specialinfo;
     QList<TextContainerInteractiveInfo> interactive;
     QSharedPointer<TextSpecialInfoAtom> specialinfo2;
diff --git a/src/mso.xml b/src/mso.xml
index d14468f..948a23d 100644
--- a/src/mso.xml
+++ b/src/mso.xml
 <at>  <at>  -1416,6 +1415,8  <at>  <at> 
 		<type name="bookmark" type="TextBookmarkAtom" array="true" />
 		<!--  this textRuler is not according to the specification -->
 		<type name="textRuler" type="TextRulerAtom" optional="true" />
+		<!--  this textRuler is not according to the specification -->
+		<type name="dummy" type="Dummy" optional="true" />
 		<type name="specialinfo" type="TextSpecialInfoAtom" optional="true" />
 		<type name="interactive" type="TextContainerInteractiveInfo"
 			array="true" />
 <at>  <at>  -1423,6 +1424,15  <at>  <at> 
 		<type name="specialinfo2" type="TextSpecialInfoAtom" optional="true" />
 	</struct>
 	<!-- our own invention -->
+        <struct name="Dummy">
+		<type name="rh" type="OfficeArtRecordHeader">
+			<limitation name="recVer" value="3" />
+			<limitation name="recInstance" value="9" />
+			<limitation name="recType" value="0x0" />
+		</type>
+		<uint8 name="dummyData" count="rh.recLen"/>
+	</struct>
+	<!-- our own invention -->
 	<struct name="TextContainerMeta">
 		<choice name="meta">
 			<type type="SlideNumberMCAtom" />
 <at>  <at>  -2357,8 +2367,8  <at>  <at> 
 		<type name="rh" type="RecordHeader">
 			<limitation name="recVer" value="0" />
 			<limitation name="recInstance" value="0" />
-			<limitation name="recType" value="0x2EE6" />
-			<limitation name="recLen" value="0" />
+			<limitation name="recType" value="0x2EE7" />
+			<limitation name="recLen" value="8" />
 		</type>
 		<uint32 name="linkedSlideIdRef" />
 		<int32 name="clinkedShapes" />
 <at>  <at>  -2367,7 +2377,7  <at>  <at> 
 		<type name="rh" type="RecordHeader">
 			<limitation name="recVer" value="0" />
 			<limitation name="recInstance" value="0" />
-			<limitation name="recType" value="0x2EE7" />
+			<limitation name="recType" value="0x2EE6" />
 			<limitation name="recLen" value="8" />
 		</type>
 		<uint32 name="shapeIdRef" />
_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

Gmane