~f0ma/cuneiform-linux/devel

« back to all changes in this revision

Viewing changes to cuneiform_src/Kern/puma/main/puma.cpp

  • Committer: Stanislav Ivanov
  • Date: 2017-06-07 15:03:51 UTC
  • Revision ID: ivstdm@gmail.com-20170607150351-dlzbzl54zvs57z57
New command line interface with multipage support and input image filtering.
Alpha state. No checks for build in other platform. Tests is missing.
Magick++ and C++0x is requried.

Show diffs side-by-side

added added

removed removed

Lines of Context:
608
608
    return rc;
609
609
}
610
610
//////////////////////////////////////////////////
611
 
PUMA_FUNC(Bool) PUMA_XSave(const char * lpOutFileName, int32_t lnFormat, int32_t lnCode ) {
 
611
PUMA_FUNC(Bool) PUMA_XSave(const char * lpOutFileName, int32_t lnFormat, int32_t lnCode , Bool32 bAppend) {
612
612
    char *fname = strdup(lpOutFileName);
613
613
    Bool res;
614
614
    winpath_to_internal(fname);
615
 
    res = PUMA_Save(ghEdPage, fname, lnFormat, lnCode,FALSE );
 
615
    res = PUMA_Save(ghEdPage, fname, lnFormat, lnCode, bAppend );
616
616
    free(fname);
617
617
    return res;
618
618
}