Coder Social home page Coder Social logo

excelxml's People

Contributors

doughennig avatar mattslay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

excelxml's Issues

Let's convert this from VCX to PRG for easier updates...

Doug - this project is only a single VCX. I request that it be converted to a single PRG file so it can be more easily maintained with updates from the community. I have a fix I need to apply, but it will be hard to merge my pull request into the main project because of the VCX.

I'm sure some people may have subclassed from the VCX to their own local environment, and converting to a PRG will break that, but man... We've got to get away from VCXs in our community so updates can happen more easily.

I you approve, I'll fork this project, and I can export it to a PRG, then submit a pull request.

ConvertXmlToXlsx

The function ConvertXmlToXlsx refuses to work if the extension is not equal .xml but may be something like .XML .Xml

my row -
If (".XML" $ upper(m.tcFilename))

xml file encoding

Hello,
The encoding of the generated xml file is ANSI and has a problem with the Persian font.
test
Can I change it to UTF-8 or UNICODE?

About creating PRG

I saw the discussion about moving from vcx to prg for easier maintaining. Please include then in desription the description of the way to use it.
When you use vcx - it's crystal clear: drop the component on the form and then use its methods as described in instruction. But using prg is not so obvious.

ConvertXmlToXlsx

Good afternoon;
I have tried to implement this procedure but I cannot do it, you can provide some example
Thank you

Adjust Text in column header cell

Some captions in some column headers in my VFP apps grids are lengthy but they have their "WordWrap" property set to .T. :

image

When exported to Excel it looks like this:

image

I suggest you set "Adjust text to cell", when exporting, in all the corresponding column hedaers in the exported Excel, like this:

image

I guess that helps the user to understand the captions in the Excel file.

Thanks in advance,

Luis Guerra

Invalid Reference to ExcelXML.VCX in sample05.prg

Hello,
I found a mistake related to the conversion from the VCX class to a PRG.
When calling the NewObject, it still have the reference to ExcelXML.VCX in the sample code
Best regards.
David

*SET PROCEDURE TO ..\excelxml.prg

local loExcelXML, llOk
*loExcelXML = newobject("ExcelXML","ExcelXML.VCX")
loExcelXML = newobject("ExcelXML","..\ExcelXML.prg")

loExcelXML.SheetName = "Students Grade 5A"
loExcelXML.OpenAfterSaving = .t.
llOk = loExcelXML.Save("Sample05.XML")

"Record out of range" error message sometimes when running ExcelXML

I got sometimes the "Record out of range" error message when running ExcelXML. It turns out that the variable "lnRecNo" is not getting the RECNO() from the grid's RecordSource. I just found out that it's getting the RECNO() from the cursor that is currently selected when calling ExcelXML.Save() method. The problem is the folowing program line:

lnRecNo = Recno()

To fix this, the preceeding line should be:

SELECT (This.Alias)

And that would be enough to avoid that pesky error message.

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.