Word and Excel Utils

Project:The Progress STandard Libraries (STL)
Component:Code
Category:support request
Priority:critical
Assigned:alon.blich
Status:active
Description

I tried to user the program "slibxlsx" from library slibooxml an I received the messaje:
This copy of slibxlsx.p has expired.
I mention that I use OpenEdge 10.2B on Linux.

I called this library because I had an error "COM objects not implemented on this system (5676)" when I tried to create an excel file from Progress.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yuanaw8076's picture

#1

Priority:normal» critical

dear mr. alon,

please help me using libooxml to generate excel reporting

my progress version is 10.2b
and i use: 10.2b04-unix-64bit-rcode.zip

and when i try to run mu procedur, i get two message:

the first message is:
┌────────────────────────────────── Error ──────────────────────────────────┐
│ ** Unable to understand after -- "run". (247) │
│ ** Invalid statement. (254) │
│ ** /usr/qad/qad2010se/cust/sample1.p Could not understand line 22. (198) │
│ │
│ ───────────────────────────────────────────────────────────────────────── │
│ │
└───────────────────────────────────────────────────────────────────────────┘

and the second message is:
This copy of slibxlsx.p has expired

my program is:

/* sample1.p
COMPILE /usr/qad/qad2010se/cust/sample1.p
SAVE INTO /usr/qad/qad2010se/cust.
RUN /usr/qad/qad2010se/cust/sample1.p.

*/

{slibooxml/slibxlsx.i}

{slib/slibos.i}

{slib/sliberr.i}

define var cError as char no-undo.
define var cErrorMsg as char no-undo.
define var cStackTrace as char no-undo.

{slib/err_try}:
run xlsx_copyTemplate(
input "stXlsx",
input "admstr.xlsx" ).
run xlsx_replaceLongRange(
input "stXlsx",
input buffer ad_mstr:handle,
input "addr = ad_mstr.ad_addr"
+ ",name = ad_mstr.ad_name"
input "",
input "" ).
run xlsx_save(
input "stXlsx",
input os_getNextFile( session:temp-dir + "admstr_new.xlsx" ) ).

{slib/err_catch cError cErrorMsg cStackTrace}:
message
cErrorMsg
skip(1)
cStackTrace
view-as alert-box.

{slib/err_end}.


alonb's picture

#4

I've been away for a while

but if you or anyone else is looking for this project, it was moved to the Free DocxFactory Project.

Hope this helps