GithubHelp home page GithubHelp logo

htmldoc's People

Contributors

ericschernoff avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

htmldoc's Issues

<!DOCTYPE HTML vs <!DOCTYPE html>

On some systems the test suite fails:

#   Failed test 'HTML format (2/2)'
#   at t/00_compile.t line 393.
#                   '<!DOCTYPE HTML '
#     doesn't match '(?^:<!DOCTYPE html>)'
# Looks like you failed 1 test of 115.
t/00_compile.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/115 subtests 

On my smokers the failing systems are: centos7, centos8, freebsd9, freebsd10, fedora32, debian+ubuntu until stretch.
It passes on freebsd12, freebsd13, debian+ubuntu since buster+bionic.

Text align not working after Pdf creation

Dear Team ,
I am facing below issues

  1. footer line break not working
    eg I have set ------ <title> Engineering Services company that provides
    ### engineering solutions and systems </title>
    in my html file

  2. inside body tag i have used some html

eg







TECHNICAL ASSISTANCE AGREEMENT

please check attached screen shot
Capture343434
Capture new one

How set Custom text for header and footer

I want to set Custom Text for header and footer but no such provision provided even
not mentioned in document how to set custom text . I Request to all please
suggest .. and do needful

Thanks and regard's

Pratik

create empty file

Hi Team please check bellow code
#######################################
my $htmll = new HTML::HTMLDoc();

$htmll->set_page_size('letter'); # set page size
$htmll->set_bodyfont('Arial'); # set font
$htmll->set_fontsize(8.0); # set fontsize
$html->set_permissions('none');

print Dumper $htmll->set_html_content(qq{Hello World });
$htmll->title();
$htmll->set_header('.', 't', '.');
$htmll->set_footer('D', '.', '/');

print Dumper my $pdf = $htmll->generate_pdf(); # generate document

$pdf->to_file("$BASEPATH/macro/$proj/Files/pratik.pdf");

print $htmll->get_html_content();

######### ######################
ERROR

$VAR1 = 1; $VAR1 = bless( { 'content' => \undef }, 'HTML::HTMLDoc::PDF' ); Hello World

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.