1 package Org::Element::ListItem;
6 extends 'Org::Element';
8 our $VERSION = '0.23'; # VERSION
10 has bullet => (is => 'rw');
11 has check_state => (is => 'rw');
12 has desc_term => (is => 'rw');
14 sub header_as_string {
17 $self->parent->indent,
19 defined($self->check_state) ? "[".$self->check_state."]" : "",
25 $self->header_as_string . $self->children_as_string;
29 #ABSTRACT: Represent Org list item
37 Org::Element::ListItem - Represent Org list item
45 Must have L<Org::Element::List> as parent.
47 Derived from L<Org::Element>.
55 undef, " ", "X" or "-".
59 Description term (for description list).
63 =for Pod::Coverage header_as_string as_string
67 Steven Haryanto <stevenharyanto@gmail.com>
69 =head1 COPYRIGHT AND LICENSE
71 This software is copyright (c) 2012 by Steven Haryanto.
73 This is free software; you can redistribute it and/or modify it under
74 the same terms as the Perl 5 programming language system itself.