-
Inge Wallin authored
REVIEW: 109980 Squashed commit of the following: commit 5b8d9b5315d03dfb797467abc95cdaad5a3c709c Merge: 1939759 48a972a Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Apr 12 18:27:26 2013 +0200 Merge branch 'master' into libs-named_styles-ingwa commit 19397593f2ef699dc2ca64ea6f77941a6bcd4b74 Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Apr 12 14:30:34 2013 +0200 Implement loading of styles for use while traversing the odf files. commit 89ec4c9251a73c3e5dcf5c0772bfc0f58e82aee2 Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Apr 12 14:29:54 2013 +0200 Add a FIXME for later. commit 33ae417997c6b06f10723472fde37be030d2b7bf Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Apr 12 14:27:42 2013 +0200 Fix a bug with saving style parent name. commit 6ee0036fb69f5b4e2544c6a7837e388b90c84487 Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Apr 12 11:56:51 2013 +0200 Implement saving of styles. commit 8a6ede27c9e3f253d893613ea2fb3b2cfaebe0f5 Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Apr 12 07:05:44 2013 +0200 Make the style read all properties, just not the first one. commit fe05435f97c2b79d47e3e7c97544790ef5d6c32d Author: Inge Wallin <inge@lysator.liu.se> Date: Thu Apr 11 19:30:50 2013 +0200 Fix some bugs with attributes in KoXmlStreamReader. This was done by letting KoXmlStreamAttributes emulate a QVector rather than inherit from it. commit e6d403d8b88617a5cdb6d800ee9fcaf8d85d4e62 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Apr 7 09:16:49 2013 +0200 Port the styles classes to the KoXmlStreamReader. commit bbf7e862847bf6ce1c98e810bc6f54316c309e49 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Apr 7 09:15:10 2013 +0200 Fix a bug with soundness calculation in the precense of unexpected namespaces. commit 3d7d932026b615a351575820751dcdd8257192d8 Author: Inge Wallin <inge@lysator.liu.se> Date: Sat Apr 6 20:38:22 2013 +0200 Fix ugliness. commit cb57db362f5dd04cbf9ed41581e79ff0b2402ae8 Author: Inge Wallin <inge@lysator.liu.se> Date: Sat Apr 6 20:31:04 2013 +0200 Implement attribute handling for unsound documents. Actually, the only thing that was left was to rewrite the prefix for attributes. commit d27e4cf44386d9175fcbb9bbdf8c4966fe0b492a Merge: d6d3898 d0643a2 Author: Inge Wallin <inge@lysator.liu.se> Date: Sat Apr 6 16:35:34 2013 +0200 Merge branch 'master' into libs-named_styles-ingwa commit d6d38981ee95c0c68b9c2eff82da034ab3938037 Author: Inge Wallin <inge@lysator.liu.se> Date: Sat Apr 6 16:16:24 2013 +0200 Make attributes work for sound documents. This introduces the new classes KoXmlStreamAttribute and KoXmlStreamAttributes, which are API compatible equivalents of the corresponding QXmlStreamReader classes. So far the workings for unsound documents are not done yet. commit 463d566f098c40816834d2044281328a61fe3da3 Author: Inge Wallin <inge@lysator.liu.se> Date: Wed Apr 3 20:57:27 2013 +0200 Disable copying of a KoXmlStreamReader. commit 06ce87efd9b7121dbeb39542b341e8158cfcd593 Author: Inge Wallin <inge@lysator.liu.se> Date: Wed Apr 3 20:40:06 2013 +0200 Reimplement a little more of the QXmlStreamReader API * All the constructors * the setDevice() function commit 4fcf23e3f5b36d4ee418cc614ee61cf2425eb88b Author: Inge Wallin <inge@lysator.liu.se> Date: Wed Apr 3 20:24:41 2013 +0200 Also install the KoXmlStreamReader.h file commit 124440310ad0042c8a657ceb687f74b6123e9cc6 Author: Inge Wallin <inge@lysator.liu.se> Date: Wed Apr 3 20:23:32 2013 +0200 Add a convenience function to prepare the stream reader for reading ODF. commit 596521a04a332425d2539c057165e03f47169292 Author: Inge Wallin <inge@lysator.liu.se> Date: Wed Apr 3 20:05:28 2013 +0200 Clean up the API to KoXmlStreamReader. In particular, remove the extra struct that was declared previously. Thanks to Jaroslaw Staniek for valuable feedback. commit 56e84833de1c0dc404894a730c8eb65921fd2dd8 Author: Inge Wallin <inge@lysator.liu.se> Date: Tue Apr 2 22:39:33 2013 +0200 First version of the KoXmlStreamReader. Attributes are still not handled and I need to do a lot of testing. But the main ideas are all in there. commit 3938eec04343319785cbad8f10c455840a4ea626 Merge: b856e3b 00ff2b2 Author: Inge Wallin <inge@lysator.liu.se> Date: Tue Apr 2 17:15:36 2013 +0200 Merge branch 'master' into libs-named_styles-ingwa commit b856e3ba7f61465ea00c88084b6a3ef35c1fbc67 Merge: 6e303e8 4a46fc5 Author: Inge Wallin <inge@lysator.liu.se> Date: Thu Mar 28 15:22:42 2013 +0100 Merge branch 'master' into libs-named_styles-ingwa commit 6e303e81aa1ba950c4d75581568af86a71bfa76d Merge: 4dc251b f9aba74 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 24 19:02:47 2013 +0100 Merge branch 'master' into libs-named_styles-ingwa commit 4dc251b109977a719537c12f43d2106b9488253e Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 24 19:00:37 2013 +0100 Add a KoOdfStyleManager to Karbon and make it read the styles. commit 41711859d0a4035647d2821b89588610e1bf0d9e Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 24 16:58:43 2013 +0100 Initialize some values commit 1c1c06f1d8d2b24ca488aa53d3537ea06e2babe5 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 24 16:48:16 2013 +0100 Make the style manager load all styles. Also implement display-name commit 4bf58b88976006a50e0e127315294ba20e7c0e62 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 24 15:33:48 2013 +0100 Read styles and property set attributes. Most style attributes and property set children are not yet read. commit 8d22a38864e49bcc9dfa95f7a63151c0ca8e86fd Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 24 08:26:51 2013 +0100 Split KoOdfStyleProperties into its own file. commit d83ad0872c6f45b24109e8a88105b180c5cc799e Merge: acf47fc 736ad31 Author: Inge Wallin <inge@lysator.liu.se> Date: Thu Mar 21 07:54:42 2013 +0100 Merge branch 'master' into libs-named_styles-ingwa commit acf47fc833b5e56d0b4feec4f2ec0aad0455f68d Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Mar 8 11:41:52 2013 +0100 Copy loading of styles from the epub filter and adapt it commit bf4604b870bf957e9f01ad6748ba02cb5ef3c672 Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Mar 8 10:00:57 2013 +0100 Some minor changes - Switch to QHash from QMap - Some name changes - Some rearranging of the code commit 5418bf6222ba8af07a1b6bc9caf2ba2eb6bbf52d Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Mar 8 09:33:49 2013 +0100 Add a flag to tell whether a style is in use. This is used when the styles are sorted in style selectors in the UI. commit e2789d78aca233cce431ce7f292508f893d1f914 Merge: 509f638 68b1bfb Author: Inge Wallin <inge@lysator.liu.se> Date: Fri Mar 8 09:04:47 2013 +0100 Merge branch 'master' into libs-named_styles-ingwa commit 509f638e25fae5ada70478f6ae481374fe316993 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 3 02:34:40 2013 +0100 Fix includes commit b8fcabf8a8d338b08922ed316ede1f52b6ab21b8 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 3 02:27:25 2013 +0100 Add the embryo to a new style manager. commit 1b5798e5aea65de88322aaab47ee761fabf4564a Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 3 01:42:24 2013 +0100 Add some nice defaults commit ba7db6b0492c76a66d60861ba4583aba3c676be9 Author: Inge Wallin <inge@lysator.liu.se> Date: Sun Mar 3 01:24:02 2013 +0100 Added new style storage class commit b3a1d64dfd38d7c459cf26036aade7c2946624a4 Author: Inge Wallin <inge@lysator.liu.se> Date: Sat Mar 2 00:34:09 2013 +0100 Normalize SIGNAL and SLOT signatures in the chart shape.
8c7a1aca