Giter VIP home page Giter VIP logo

clods-export's People

Contributors

jlahd avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

foretspaisibles

clods-export's Issues

Q: What guided the design of your user interface

This is related to discussion on Reddit on reading and writing Excel files, and this library was mentioned.

I once wrote a private CL library for ABCL to use a Java Apache POI library to write Excel files.

My question is: When you defined your functions to generate the files, did you use any existing guides or libraries as guides? Or was it personal experience, taste, preference?

Thanks,

Mirko

Rotation doesn't work?

Comparing against a simple ODS document made in Libreoffice, they are putting style:text-rotation-angle in the table-cell-properties element. CLODS is putting the angle parameter on style:text-properties. As a result, rotation isn't working.

Setting column style to use optimal width doesn't work

I can't get the columns to use optimal width, I'm not sure if I'm using :use-optimal-width t correctly because it wasn't used in the example.lisp mentioned in the README file, here's a quick test example:

(let ((text-props-normal '(:color "#000000" :font-name "Libration Sans" :font-size "10pt" :font-weight :bold)))
    (clods:with-spreadsheet ("test.ods"
                             :generator "tester"
                             :creator "tester")
      (clods:using-fonts ()
        (clods:font "Liberation Sans" :family "Liberation Sans"))
      (clods:using-styles ()
        ;; number formats
        (clods:number-text-style "n-text")
        
        ;; cell styles
        (clods:cell-style "ce-normal" nil text-props-normal :data-style "n-text")

        ;; column styles
        (clods:column-style "co-normal" nil :use-optimal-width t)

        ;; row styles
        (clods:row-style "ro-normal" nil))
      (clods:with-body ()
        (clods:with-table ("TEST")
          (clods:with-header-columns ()
            (clods:column :style "co-normal" :cell-style "ce-normal"))
          (clods:with-header-rows ()
            (clods:with-row (:style "ro-normal")
              (clods:cell "Long long long long long text")))))))

here's the produced ODS file:
image

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.