1. 03 Oct, 2014 1 commit
  2. 02 Oct, 2014 1 commit
  3. 23 Nov, 2013 1 commit
  4. 10 Nov, 2013 1 commit
  5. 05 Nov, 2013 1 commit
  6. 03 Nov, 2013 2 commits
  7. 03 Mar, 2013 1 commit
  8. 08 Feb, 2013 1 commit
  9. 20 Jan, 2013 1 commit
  10. 18 Dec, 2012 1 commit
  11. 29 Nov, 2012 1 commit
  12. 20 Nov, 2012 1 commit
  13. 15 Nov, 2012 1 commit
  14. 03 Nov, 2012 1 commit
  15. 25 Oct, 2012 1 commit
    • C. Boemann's avatar
      For many things we will be replacing KoInlineObject with KoTextRanges. · 9f56c02c
      C. Boemann authored
      This first part intoduces the KoTextRange class and friends.
      For now only KoBookmark is being converted but eventually, annotations, anchors and softbreaks
      will also be based on KoTextRange
      It also makes it possible to actually navigate to bookmarks via the ui
      REVIEW: 106983
  16. 28 Jun, 2012 1 commit
  17. 27 Jun, 2012 1 commit
  18. 23 Mar, 2012 1 commit
    • Halla Rempt's avatar
      Don't accept broken KoDocumentRdf's · 6cc9c99d
      Halla Rempt authored
      If your installation is missing some parts, but not others, rdf won't
      work but it will be compiled in. The symptom is that we cannot create
      a Soprano::Model. So if we're handed a KoDocumentRdf without a model,
      don't accept it.
  19. 29 Feb, 2012 1 commit
    • Halla Rempt's avatar
      Save and load xml:id as well as text:id and draw:id where necessary · c0ba3d92
      Halla Rempt authored
      ODF 1.2 migrates from draw:id and text:id to xml:id in most cases. This
      patch introduces a new class, KoElementReference, that makes handling
      id's mostly transparent.
      It also changes KoShapeSavingContext to manage references and id's in
      a transparent manner when saving. Most filters, even those that are
      currently useless, have also been updated.
      REVIEW: 104074
  20. 22 Feb, 2012 1 commit
    • Halla Rempt's avatar
      RDF: Initialize variable · 7368bbbe
      Halla Rempt authored
      Fixes a crash on Windows when enabling autoupdating the rdf docker when
      there's no rdf in the document.
  21. 30 Jan, 2012 1 commit
  22. 15 Nov, 2011 1 commit
  23. 08 Oct, 2011 1 commit
    • Halla Rempt's avatar
      Separate KoResourceManager for canvas and document · 0b2d5353
      Halla Rempt authored
      KoResourceManager was used in two places: the canvas and document
      classes. This gave rise to endless confusion about which resource
      manager should be used where and contains what. The KoResourceManager
      api also contained methods that were only relevant when used from
      a document and others that were only relevant when used from a canvas.
      This patch splits the resourcemanager into two public and one private
      class. The public classes are KoDocumentResourceManager and
      KoCanvasResourceManager, the private class is KoResourceManager. The
      public classes defer to the private class for code-sharing purposes.
      The old KoCanvasResource and KoDocumentResource enums have been taken
      into the classes themselves.
  24. 01 Oct, 2011 1 commit
  25. 28 Sep, 2011 1 commit
  26. 20 Sep, 2011 1 commit
  27. 16 Sep, 2011 1 commit
  28. 15 Sep, 2011 1 commit
  29. 14 Sep, 2011 1 commit
  30. 11 Sep, 2011 1 commit
  31. 10 Sep, 2011 4 commits
    • Halla Rempt's avatar
      Add a sanity check to the rdf initialization based on Jos' example code · b5d306a8
      Halla Rempt authored
      Following a mail by Jos to the koffice mailing list from
      2010-08-20 21:44, I have added a sanity check using his code.
      Currently the sanity check fails with these messages:
      ud@talnus:~/kde/build/calligra/words/part/tests> words
      (Soprano::Redland::BackendPlugin) creating model of type "hashes" with options "hash-type='memory',contexts='yes'"
      Using Virtuoso Version: ""
      words(3694) KoDocumentRdf::backendIsSane: Found a backend:  "virtuosobackend"
      "/home/boud/kde/master/bin/calligrawords(3694)" Soprano: "Need a database storage path set to start a local Virtuoso instance."
      words(3694) KoDocumentRdf::backendIsSane: No model could be created.
      I'm not yet sure why I am getting that error...
    • Halla Rempt's avatar
      Make variable name clearer · 09ab9e09
      Halla Rempt authored
    • Halla Rempt's avatar
    • Halla Rempt's avatar
      Make KoTextEditor::cursor private and KoTextEditor::document const · 27d3132d
      Halla Rempt authored
      After discussion on irc, we agreed that KoTextEditor should be the single
      facade that hides all editing of QTextDocuments. This means that the
      cursor() method should be private and no longer used (except for now in
      the commands that KoTextEditor creates) and that the QTextDocument
      pointer must be const.
      This also removes the QTextCursor based findXXX() methods in KoDocumenRdf.
      Because the other findXXX(KoTextEditor) methods in KODocumentRdf depended on getting
      a QTextCursor from KoTextEditor, those had to be rewritten using
      QTextDocument::find() -- which should be faster than iterating over
      characters anyway, and there isn't a limit of 500 characters from the
      search start point anymore either.
  32. 03 Sep, 2011 3 commits
  33. 02 Sep, 2011 1 commit
  34. 25 Aug, 2011 1 commit
    • Halla Rempt's avatar
      Change key/value types around for KoDocumentRdf's KoTextInlineRdf map · 96d4d445
      Halla Rempt authored
      We mapped from object to xmlid, but we retrieved the object xmlid.
      Also, go back to using weak pointers, as already noted in the dox to make
      sure we know when the KoTextInlineRdf objects get deleted. If we encounter
      a deleted object, we remove it from the list.
      This replaces the connection to KoTextInlineRdf's destroyed signal
      which didn't work.