1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
# /=====================================================================\ #
# | LaTeXML::Core::Comment | #
# | Digested objects produced in the Stomach | #
# |=====================================================================| #
# | Part of LaTeXML: | #
# | Public domain software, produced as part of work done by the | #
# | United States Government & not subject to copyright in the US. | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov> #_# | #
# | http://dlmf.nist.gov/LaTeXML/ (o o) | #
# \=========================================================ooo==U==ooo=/ #
package LaTeXML::Core::Comment;
use strict;
use warnings;
use LaTeXML::Global;
use LaTeXML::Common::Dimension;
use base qw(LaTeXML::Core::Box);
sub revert { return (); }
sub toString { return ''; }
sub beAbsorbed {
my ($self, $document) = @_;
return $document->insertComment($$self{string}); }
sub getWidth { return Dimension(0); }
sub getHeight { return Dimension(0); }
sub getTotalHeight { return Dimension(0); }
sub getDepth { return Dimension(0); }
sub getSize { return (Dimension(0), Dimension(0), Dimension(0), Dimension(0), Dimension(0), Dimension(0)); }
#======================================================================
1;
__END__
=pod
=head1 NAME
C<LaTeXML::Core::Comment> - Representations of digested objects.
=head1 DESCRIPTION
C<LaTeXML::Core::Comment> is a representation of digested objects.
It extends L<LaTeXML::Common::Object>.
=head1 AUTHOR
Bruce Miller <bruce.miller@nist.gov>
=head1 COPYRIGHT
Public domain software, produced as part of work done by the
United States Government & not subject to copyright in the US.
=cut
|