Code Monkey home page Code Monkey logo

Comments (12)

faceleg avatar faceleg commented on June 7, 2024

Sorry for the delay in responding.

How are you printing this (example Objc code)?

from aceview.

microtherion avatar microtherion commented on June 7, 2024

I tried a number of approaches, but the easiest way to demonstrate the problem is simply to build ACEViewExample and hit "Print".

from aceview.

faceleg avatar faceleg commented on June 7, 2024

There is this thread here, looks like other people have had a similar problem: https://groups.google.com/forum/#!topic/ace-discuss/Ojm6AdVm9w8

And this: ajaxorg/ace#1480 (comment)

Is it possible too override the default "Print" button to call a custom IBAction?

from aceview.

microtherion avatar microtherion commented on June 7, 2024

Thanks for the pointer, I'll try something along those lines.

It is absolutely possible to override the default print workflow, and in fact for high quality printing (headers/footers, default pagination), that is probably going to be necessary anyway, but first the basic functionality has to work. I'll look into it.

from aceview.

faceleg avatar faceleg commented on June 7, 2024

That's great - if at all possible do you think you would be able to add your code as a "print" method in ACEVIew? That way you solve the problem once for everybody ;)

from aceview.

microtherion avatar microtherion commented on June 7, 2024

Yes, my plan is definitely to contribute upstream if I come up with a workable solution.

from aceview.

faceleg avatar faceleg commented on June 7, 2024

💃

from aceview.

microtherion avatar microtherion commented on June 7, 2024

See #39. I intend to add some fancier formatting, but here's the basic functionality so we get an idea whether we're on the same page (sic!) with this.

from aceview.

faceleg avatar faceleg commented on June 7, 2024

We're on the same page 📄

from aceview.

faceleg avatar faceleg commented on June 7, 2024

Thanks for teaching me about @optional!

from aceview.

microtherion avatar microtherion commented on June 7, 2024

Added a second (and hopefully final, as far as my needs are concerned) set of printing changes in #42. This allows fairly sophisticated headers & footers, although ACEView adds just the mechanism, leaving the actual formatting to clients (example formatting added to ACE View Example).

from aceview.

faceleg avatar faceleg commented on June 7, 2024

Thanks! You rock!

from aceview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.