UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Annotate - app to annotate PDF files

    Scheduled Pinned Locked Moved App Development
    19 Posts 6 Posters 1.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • P Offline
        Plarde @AppLee
        last edited by

        @AppLee Hey!

        I just finished adding support for zooming. It should be on the OpenStore in a few minutes.

        Sorry for the delay, and no worries, I understand it's not easy to draw on phone 🙂

        As for QML, I'd really like to get started whenever I can, but despite spending quite some time learning, I don't think I'll be familiar with QML soon enough to be able to provide support for a native app.

        If you'd like to create a basic WebView with minimal bindings for file operations, I would be happy to merge it and finally throw away the C++ web server. If you'd like to give it a try, all the relevant JS functions are in www/js/file_manager.mjs. If what you had in mind was closer to converting Annotate to a fully native app, UI included, I'd need to take the time to learn QML enough to be able to provide maintenance for it.

        That being said, any attention Annotate can receive will be beneficial in the long run, so contributions are always appreciated.

        1 Reply Last reply Reply Quote 1
        • P Offline
          Plarde @domubpkm
          last edited by

          @domubpkm I've been planning to do a little demo document to serve as a tutorial, but I haven't taken the time to finish it yet. I'll try to get something out soon!

          1 Reply Last reply Reply Quote 1
          • D Offline
            domubpkm
            last edited by domubpkm

            @Plarde add epub format possible? 🙂

            P 1 Reply Last reply Reply Quote 1
            • P Offline
              Plarde @domubpkm
              last edited by

              @domubpkm I'm not familiar with the epub format or with the libraries that exist to edit epub documents in JS, but I can keep a note to check that later.

              1 Reply Last reply Reply Quote 1
              • P Offline
                Plarde
                last edited by

                I've added a new tool: the typewriter! It lets you type text with a keyboard on the document.

                To edit the text area, you must pull up the toolbar and tap the edit button.

                I'd like to stress that the tool is still quite uncomfortable to use, though all the basic features should be there. Some notable issues for now is the line wrapping which cuts in the middle of words, the lack of support for resizing text areas, the lack of support for different colors within a text area, and the PDF export which makes the text not look the same (different font, different support for line wrapping).

                I released it in this state because of the time it took me to get it working at all, but also because I wanted to call for ideas about how the tool should work for it to be comfortable to use by everybody. If you have any idea or preference for how the ideal typewriter tool should work, you can send ideas here or on the GitHub discussion at https://github.com/Semphriss/Annotate/discussions/11

                1 Reply Last reply Reply Quote 2
                • VulpexV Offline
                  Vulpex @Plarde
                  last edited by

                  @Plarde Hej, first of all thanks for the great app!
                  Was just on the way an needed to edit out some personal details. Worked like a charm.

                  I'd like to mention a few things I've noticed using Annotate on my FP4 🙂

                  First.
                  It seams like I'm unable to open pdf files in file-manager in Annotate. File-manager / pdf / open with (documentviewer/sturmreader) Annotate is there and does open but without the chosen pdf pre loaded. The standard way works,
                  Start-Annotate / browse-file-manager / choose-Pdf ...and get to work.*

                  Second.
                  I missed a few times to collapse the bottom menu after choosing eraser-tool... So i deleted some lines of text in the backround hehe
                  Is there a revert back button? Is one planned?

                  Nothing tragic I had to start from the the beginning
                  but with the original Pdf stored in file mananger.
                  The ones preloaded through accesing - on Anno's main Menu are already changed (or the changes have been applied) even without them being saved or exported by me! Some kind of autosave or draft feature?
                  *ah it imports a copy to work on, thats clever.

                  So ye thanks a bunch @Plarde

                  Running UT on FairPhone4
                  And loving it

                  VulpexV AppLeeA 2 Replies Last reply Reply Quote 1
                  • VulpexV Offline
                    Vulpex @Vulpex
                    last edited by

                    @Plarde just saw that you mentioned already what i wrote 🙂
                    Looking forward to experience the changes in the feature.

                    Running UT on FairPhone4
                    And loving it

                    1 Reply Last reply Reply Quote 1
                    • AppLeeA Offline
                      AppLee @Vulpex
                      last edited by

                      @Vulpex said in Annotate - app to annotate PDF files:

                      *ah it imports a copy to work on, thats clever.

                      BTW this is the usual way to use files within an app.
                      As the apps are confined, they don't share a document.

                      So when an app needs access to an already existing document it needs to copy it in the app directory to be able to modify it.
                      The sharing is made available by the content hub as a way to copy from one app to another.

                      Of course some unconfined apps like the File Manager are able to access them or share files the more traditional way.

                      1 Reply Last reply Reply Quote 1
                      • P Offline
                        Plarde
                        last edited by

                        I've added the undo/redo buttons! They're in the toolbar on the right. I've also made the toolbar scrollable for narrower devices.

                        Sorry for the delay! I said I would upload frequently, and here I go three weeks in complete silence 🙂 It's harder than expected to balance real life and benevolent app development.

                        If there isn't any particular feature request (do post them here, on GitHub or to my committer email if you have any!), I'll probably work on resizing text areas and adding images in documents. It's not particularly long to add features, I just need to find the time to do it 🙂

                        1 Reply Last reply Reply Quote 1
                        • H Offline
                          hlbkv
                          last edited by

                          A cool feature would be to highlight selected text, or ideally a tool that would bind the highlight to the closest text in the document.

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            Plarde @hlbkv
                            last edited by

                            @hlbkv Noted! I won't make any promises about the timeframe, but I'll do that when I get a chance 🙂

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post