pdf winforms c# : Extract data from pdf file to excel software control dll windows web page azure web forms org19-part1610

Chapter 12: Exporting
180
* GNU Free Documentation License
:PROPERTIES:
:APPENDIX: t
:END:
#+TEXINFO: @include fdl.texi
* Index
:PROPERTIES:
:INDEX:
cp
:END:
12.12 iCalendar export
Some people use Org mode for keeping track of projects, but still prefer a standard calen-
dar application for anniversaries and appointments. In this case it can be useful to show
deadlines and other time-stamped items in Org files in the calendar application. Org mode
can export calendar information in the standard iCalendar format. If you also want to have
TODO entries included in the export, configure the variable org-icalendar-include-
todo. Plain timestamps are exported as VEVENT, and TODO items as VTODO. It will
also create events from deadlines that are in non-TODO items. Deadlines and scheduling
dates in TODO items will be used to set the start and due dates for the TODO entry
35
.As
categories, it will use the tags locally defined in the heading, and the file/tree category
36
.
See the variable org-icalendar-alarm-time for a way to assign alarms to entries with a
time.
The iCalendar standard requires each entry to have a globally unique identifier (UID).
Org creates these identifiers during export. If you set the variable org-icalendar-store-
UID, the UID will be stored in the :ID: property of the entry and re-used next time you
report this entry. Since a single entry can give rise to multiple iCalendar entries (as a
timestamp, a deadline, a scheduled item, and as a TODO item), Org adds prefixes to the
UID, depending on what triggered the inclusion of the entry. In this way the UID remains
unique, but a synchronization program can still figure out from which entry all the different
instances originate.
C-c C-e c f
org-icalendar-export-to-ics
Create iCalendar entries for the current buffer and store them in the same
directory, using a file extension .ics.
C-c C-e c a
org-icalendar-export-agenda-files
Like C-c C-e c f, but do this for all files in org-agenda-files. For each of
these files, a separate iCalendar file will be written.
C-c C-e c c
org-icalendar-combine-agenda-files
Create asingle large iCalendar file from all files in org-agenda-files and write
it to the file given by org-icalendar-combined-agenda-file.
35
See the variables org-icalendar-use-deadline and org-icalendar-use-scheduled.
36
To add inherited tags or the TODO state, configure the variable org-icalendar-categories.
Extract data from pdf file to excel - extract form data from PDF in C#.net, ASP.NET, MVC, Ajax, WPF
Help to Read and Extract Field Data from PDF with a Convenient C# Solution
vb extract data from pdf; export pdf form data to excel spreadsheet
Extract data from pdf file to excel - VB.NET PDF Form Data Read library: extract form data from PDF in vb.net, ASP.NET, MVC, Ajax, WPF
Convenient VB.NET Solution to Read and Extract Field Data from PDF
how to save editable pdf form in reader; pdf data extraction to excel
Chapter 12: Exporting
181
The export will honor SUMMARY, DESCRIPTION and LOCATION
37
properties if the
selected entries have them. If not, the summary will be derived from the headline, and the
description from the body (limited to org-icalendar-include-body characters).
How this calendar is best read and updated, depends on the application you are using.
The FAQ covers this issue.
12.13 Other built-in back-ends
On top of the aforementioned back-ends, Org comes with other built-in ones:
 ox-man.el: export to a man page.
To activate these export back-end, customize org-export-backends or load them di-
rectly with e.g., (require 'ox-man). This will add new keys in the export dispatcher (see
Section 12.1 [The export dispatcher], page 140).
See the comment section of these files for more information on how to use them.
12.14 Export in foreign buffers
Most built-in back-ends come with a command to convert the selected region into a selected
format and replace this region by the exported output. Here is a list of such conversion
commands:
org-html-convert-region-to-html
Convert the selected region into HTML.
org-latex-convert-region-to-latex
Convert the selected region into LAT
E
X.
org-texinfo-convert-region-to-texinfo
Convert the selected region into Texinfo.
org-md-convert-region-to-md
Convert the selected region into MarkDown.
This is particularly useful for converting tables and lists in foreign buffers. E.g., in an
HTML buffer, you can turn on orgstruct-mode, then use Org commands for editing a list,
and finally select and convert the list with M-x org-html-convert-region-to-html RET.
12.15 Advanced configuration
Hooks
Two hooks are run during the first steps of the export process. The first one, org-export-
before-processing-hook is called before expanding macros, Babel code and include key-
words in the buffer. The second one, org-export-before-parsing-hook, as its name
suggests, happens just before parsing the buffer. Their main use is for heavy duties, that is
duties involving structural modifications of the document. For example, one may want to
remove every headline in the buffer during export. The following code can achieve this:
37
The LOCATION property can be inherited from higher in the hierarchy if you configure org-use-
property-inheritance accordingly.
C# PDF Text Extract Library: extract text content from PDF file in
Able to extract and get all and partial text content from PDF file. How to C#: Extract Text Content from PDF File. Add necessary references:
how to flatten a pdf form in reader; extract data from pdf c#
VB.NET PDF Text Extract Library: extract text content from PDF
Extract and get partial and all text content from PDF file. Extract highlighted text out of PDF document. Extract Text Content from PDF File in VB.NET.
export pdf data to excel; extract data from pdf table
Chapter 12: Exporting
182
(defun my-headline-removal (backend)
"Remove all headlines in the current buffer.
BACKEND is the export back-end being used, as a symbol."
(org-map-entries
(lambda () (delete-region (point) (progn (forward-line) (point))))))
(add-hook 'org-export-before-parsing-hook 'my-headline-removal)
Note that functions used in these hooks require a mandatory argument, a symbol rep-
resenting the back-end used.
Filters
Filters are lists of functions applied on a specific part of the output from a given back-end.
More explicitly, each time a back-end transforms an Org object or element into another
language, all functions within a given filter type are called in turn on the string produced.
The string returned by the last function will be the one used in the final output.
There are filter sets for each type of element or object, for plain text, for the parse tree,
for the export options and for the final output. They are all named after the same scheme:
org-export-filter-TYPE-functions, where TYPE is the type targeted by the filter. Valid
types are:
body
bold
babel-call
center-block
clock
code
diary-sexp
drawer
dynamic-block
entity
example-block
export-block
export-snippet
final-output
fixed-width
footnote-definition
footnote-reference
headline
horizontal-rule
inline-babel-call
inline-src-block
inlinetask
italic
item
keyword
latex-environment
latex-fragment
line-break
link
node-property
options
paragraph
parse-tree
plain-list
plain-text
planning
property-drawer
quote-block
radio-target
section
special-block
src-block
statistics-cookie
strike-through
subscript
superscript
table
table-cell
table-row
target
timestamp
underline
verbatim
verse-block
For example, the following snippet allows me to use non-breaking spaces in the Org
buffer and get them translated into LAT
E
Xwithout using the \nbsp macro (where _ stands
for the non-breaking space):
VB.NET Create PDF from Excel Library to convert xlsx, xls to PDF
Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image: Copy, Paste, Cut Image in Page. Data: Read, Extract Field Data. Data: Auto Fill-in Field
extract data from pdf into excel; export excel to pdf form
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
External cross references. Private data of other applications. Flatten visible layers. VB.NET Demo Code to Optimize An Exist PDF File in Visual C#.NET Project.
edit pdf form in reader; how to save fillable pdf form in reader
Chapter 12: Exporting
183
(defun my-latex-filter-nobreaks (text backend info)
"Ensure \"_\" are properly handled in LaTeX export."
(when (org-export-derived-backend-p backend 'latex)
(replace-regexp-in-string "_" "~" text)))
(add-to-list 'org-export-filter-plain-text-functions
'my-latex-filter-nobreaks)
Threearguments must be provided toa filter: the code being changed, the back-endused,
and some information about the export process. You can safely ignore the third argument
for most purposes. Note the use of org-export-derived-backend-p, which ensures that
the filter will only be applied when using latex back-end or any other back-end derived
from it (e.g., beamer).
Defining filters for individual files
You can customize the export for just a specific file by binding export filter variables using
#+BIND. Here is an example where we introduce two filters, one to remove brackets from
time stamps, and one to entirely remove any strike-through text. The functions doing the
filtering are defined in an src block that allows the filter function definitions to exist in the
file itself and ensures that the functions will be there when needed.
#+BIND: org-export-filter-timestamp-functions (tmp-f-timestamp)
#+BIND: org-export-filter-strike-through-functions (tmp-f-strike-through)
#+begin_src emacs-lisp :exports results :results none
(defun tmp-f-timestamp (s backend info)
(replace-regexp-in-string "&[lg]t;\\|[][]" "" s))
(defun tmp-f-strike-through (s backend info) "")
#+end_src
Extending an existing back-end
This is obviously the most powerful customization, since the changes happen at the parser
level. Indeed, some export back-ends are built as extensions of other ones (e.g., Markdown
back-end an extension of HTML back-end).
Extending a back-end means that if an element type is not transcoded by the new back-
end,it will be handled by the original one. Hence you canextendspecific parts of a back-end
without too much work.
As an example, imagine we want the ascii back-end to display the language used in
a source block, when it is available, but only when some attribute is non-nil, like the
following:
#+ATTR_ASCII: :language t
Because that back-end is lacking in that area, we are going to create a new back-end,
my-ascii that will do the job.
VB.NET PDF File Merge Library: Merge, append PDF files in vb.net
Microsoft Office Word, Excel and PowerPoint data to PDF form. Merge PDF with byte array, fields. Merge PDF without size limitation. Append one PDF file to the end
pdf data extractor; extract data from pdf file
C# PDF File Merge Library: Merge, append PDF files in C#.net, ASP.
Merge Microsoft Office Word, Excel and PowerPoint data to PDF form. Append one PDF file to the end of another and save to a single PDF file.
pdf form save in reader; how to fill out pdf forms in reader
Chapter 12: Exporting
184
(defun my-ascii-src-block (src-block contents info)
"Transcode a SRC-BLOCK element from Org to ASCII.
CONTENTS is nil. INFO is a plist used as a communication
channel."
(if (not (org-export-read-attribute :attr_ascii src-block :language))
(org-export-with-backend 'ascii src-block contents info)
(concat
(format ",--[ %s ]--\n%s`----"
(org-element-property :language src-block)
(replace-regexp-in-string
"^" "| "
(org-element-normalize-string
(org-export-format-code-default src-block info)))))))
(org-export-define-derived-backend 'my-ascii 'ascii
:translate-alist '((src-block . my-ascii-src-block)))
The my-ascii-src-block function looks at the attribute above the element. If it isn’t
true, it gives hand to the ascii back-end. Otherwise, it creates a box around the code,
leaving room for the language. A new back-end is then created. It only changes its behavior
when translating src-block type element. Now, all it takes to use the new back-end is
calling the following from an Org buffer:
(org-export-to-buffer 'my-ascii "*Org MY-ASCII Export*")
It is obviously possible to write an interactive function for this, install it in the export
dispatcher menu, and so on.
C# Create PDF from Excel Library to convert xlsx, xls to PDF in C#
Library. Best Microsoft Office Excel to adobe PDF file converter SDK for Visual Studio .NET. Merge all Excel sheets to one PDF file. Export
how to make a pdf form fillable in reader; how to make pdf editable form reader
C# PDF File Compress Library: Compress reduce PDF size in C#.net
All object data. File attachment. External cross references. Private data of other applications. Flatten visible layers. C#.NET DLLs: Compress PDF Document.
how to fill in a pdf form in reader; extract data from pdf forms
Chapter 13: Publishing
185
13 Publishing
Org includes a publishing management system that allows you to configure automatic
HTML conversion of projects composed of interlinked org files. You can also configure
Org to automatically upload your exported HTML pages and related attachments, such as
images and source code files, to a web server.
You can also use Org to convert files into PDF, or even combine HTML and PDF
conversion so that files are available in both formats on the server.
Publishing has been contributed to Org by David O’Toole.
13.1 Configuration
Publishing needs significant configuration to specify files, destination and many other prop-
erties of a project.
13.1.1 The variable org-publish-project-alist
Publishing is configured almost entirely through setting the value of one variable, called
org-publish-project-alist. Each element of the list configures one project, and may be
in one of the two following forms:
("project-name" :property value :property value ...)
i.e., a well-formed property list with alternating keys and values
or
("project-name" :components ("project-name" "project-name" ...))
In both cases, projects are configured by specifying property values. A project defines
the set of files that will be published, as well as the publishing configuration to use when
publishing those files. When a project takes the second form listed above, the individual
members of the :components property are taken to be sub-projects, which group together
files requiring different publishing options. When you publish such a “meta-project”, all
the components will also be published, in the sequence given.
13.1.2 Sources and destinations for files
Most properties are optional, but some should always be set. In particular, Org needs to
know where to look for source files, and where to put published files.
:base-directory
Directory containing publishing source files
:publishing-directory
Directory where output files will be published. You can di-
rectly publish to a web server using a file name syntax appro-
priate for the Emacs tramp package. Or you can publish to a
local directory and use external tools to upload your website
(seeSection13.2[Uploadingfiles],page192).
:preparation-function
Function or list of functions to be called before starting the
publishing process, for example, to run make for updating files
to be published. The project property list is scoped into this
call as the variable project-plist.
Chapter 13: Publishing
186
:completion-function
Function or list of functions called after finishing the publish-
ing process, for example, to change permissions of the result-
ing files. The project property list is scoped into this call as
the variable project-plist.
13.1.3 Selecting files
By default, all files with extension .org in the base directory are considered part of the
project. This can be modified by setting the properties
:base-extension
Extension (without the dot!) of source files. This actually is a
regular expression. Set this to the symbol any if you want to get
all files in :base-directory, even without extension.
:exclude
Regular expression to match file names that should not be pub-
lished, even though they have been selected on the basis of their
extension.
:include
List of files to be included regardless of :base-extension and
:exclude.
:recursive
non-nil means, check base-directory recursively for files to
publish.
13.1.4 Publishing action
Publishing means that a file is copied to the destination directory and possibly transformed
in the process. The default transformation is to export Org files as HTML files, and this
is done by the function org-html-publish-to-html, which calls the HTML exporter (see
Section 12.6 [HTML export], page 149). But t youalsocanpublishyourcontentas PDF
files using org-latex-publish-to-pdf or as ascii, Texinfo, etc., using the corresponding
functions.
If you want to publish the Org file as an .org file but with the archived, commented and
tag-excluded trees removed, use the function org-org-publish-to-org. This will produce
file.org and put it in the publishing directory. If you want a htmlized version of this file,
set the parameter :htmlized-source to t, it will produce file.org.html in the publishing
directory
1
.
Other files like images only need to be copied to the publishing destination. For this
you can use org-publish-attachment. For non-org files, you always need to specify the
publishing function:
:publishing-function
Function executing the publication of a file. This may also be
alist of functions, which will all be called in turn.
:htmlized-source
non-nil means, publish htmlized source.
The function must accept three arguments: a property list containing at least a
:publishing-directory property, the name of the file to be published and the path to
1
If the publishing directory is the same than the source directory, file.org will be exported as
file.org.org, so probably don’t want to do this.
Chapter 13: Publishing
187
the publishing directory of the output file. It should take the specified file, make the
necessary transformation (if any) and place the result into the destination folder.
13.1.5 Options for the exporters
The property list can be used to set export options during the publishing process. In
most cases, these properties correspond to user variables in Org. While some properties
are available for all export back-ends, most of them are back-end specific. The following
sections list properties along with the variable they belong to. See the documentation string
of these options for details.
When a property is given a value in org-publish-project-alist, its setting overrides
the value of the corresponding user variable (if any) during publishing. Options set within
afile (seeSection12.3[Exportsettings],page141), however, override everything.
Generic properties
:archived-trees
org-export-with-archived-trees
:exclude-tags
org-export-exclude-tags
:headline-levels
org-export-headline-levels
:language
org-export-default-language
:preserve-breaks
org-export-preserve-breaks
:section-numbers
org-export-with-section-numbers
:select-tags
org-export-select-tags
:with-author
org-export-with-author
:with-creator
org-export-with-creator
:with-date
org-export-with-date
:with-drawers
org-export-with-drawers
:with-email
org-export-with-email
:with-emphasize
org-export-with-emphasize
:with-fixed-width
org-export-with-fixed-width
:with-footnotes
org-export-with-footnotes
:with-latex
org-export-with-latex
:with-planning
org-export-with-planning
:with-priority
org-export-with-priority
:with-properties
org-export-with-properties
:with-special-strings
org-export-with-special-strings
:with-sub-superscript
org-export-with-sub-superscripts
:with-tables
org-export-with-tables
:with-tags
org-export-with-tags
:with-tasks
org-export-with-tasks
:with-timestamps
org-export-with-timestamps
:with-title
org-export-with-title
:with-toc
org-export-with-toc
:with-todo-keywords
org-export-with-todo-keywords
ASCII specific properties
:ascii-bullets
org-ascii-bullets
:ascii-caption-above
org-ascii-caption-above
Chapter 13: Publishing
188
:ascii-charset
org-ascii-charset
:ascii-global-margin
org-ascii-global-margin
:ascii-format-drawer-function
org-ascii-format-drawer-function
:ascii-format-inlinetask-function
org-ascii-format-inlinetask-function
:ascii-headline-spacing
org-ascii-headline-spacing
:ascii-indented-line-width
org-ascii-indented-line-width
:ascii-inlinetask-width
org-ascii-inlinetask-width
:ascii-inner-margin
org-ascii-inner-margin
:ascii-links-to-notes
org-ascii-links-to-notes
:ascii-list-margin
org-ascii-list-margin
:ascii-paragraph-spacing
org-ascii-paragraph-spacing
:ascii-quote-margin
org-ascii-quote-margin
:ascii-table-keep-all-vertical-lines
org-ascii-table-keep-all-vertical-lines
:ascii-table-use-ascii-art
org-ascii-table-use-ascii-art
:ascii-table-widen-columns
org-ascii-table-widen-columns
:ascii-text-width
org-ascii-text-width
:ascii-underline
org-ascii-underline
:ascii-verbatim-format
org-ascii-verbatim-format
Beamer specific properties
:beamer-theme
org-beamer-theme
:beamer-column-view-format
org-beamer-column-view-format
:beamer-environments-extra
org-beamer-environments-extra
:beamer-frame-default-options
org-beamer-frame-default-options
:beamer-outline-frame-options
org-beamer-outline-frame-options
:beamer-outline-frame-title
org-beamer-outline-frame-title
:beamer-subtitle-format
org-beamer-subtitle-format
HTML specific properties
:html-allow-name-attribute-in-anchors
org-html-allow-name-attribute-in-anchors
:html-checkbox-type
org-html-checkbox-type
:html-container
org-html-container-element
:html-divs
org-html-divs
:html-doctype
org-html-doctype
:html-extension
org-html-extension
:html-footnote-format
org-html-footnote-format
:html-footnote-separator
org-html-footnote-separator
:html-footnotes-section
org-html-footnotes-section
:html-format-drawer-function
org-html-format-drawer-function
:html-format-headline-function
org-html-format-headline-function
:html-format-inlinetask-function
org-html-format-inlinetask-function
:html-head-extra
org-html-head-extra
:html-head-include-default-style
org-html-head-include-default-style
:html-head-include-scripts
org-html-head-include-scripts
:html-head
org-html-head
:html-home/up-format
org-html-home/up-format
Chapter 13: Publishing
189
:html-html5-fancy
org-html-html5-fancy
:html-indent
org-html-indent
:html-infojs-options
org-html-infojs-options
:html-infojs-template
org-html-infojs-template
:html-inline-image-rules
org-html-inline-image-rules
:html-inline-images
org-html-inline-images
:html-link-home
org-html-link-home
:html-link-org-files-as-html
org-html-link-org-files-as-html
:html-link-up
org-html-link-up
:html-link-use-abs-url
org-html-link-use-abs-url
:html-mathjax-options
org-html-mathjax-options
:html-mathjax-template
org-html-mathjax-template
:html-metadata-timestamp-format
org-html-metadata-timestamp-format
:html-postamble-format
org-html-postamble-format
:html-postamble
org-html-postamble
:html-preamble-format
org-html-preamble-format
:html-preamble
org-html-preamble
:html-table-align-individual-fields
org-html-table-align-individual-fields
:html-table-attributes
org-html-table-default-attributes
:html-table-caption-above
org-html-table-caption-above
:html-table-data-tags
org-html-table-data-tags
:html-table-header-tags
org-html-table-header-tags
:html-table-row-tags
org-html-table-row-tags
:html-table-use-header-tags-for-first-column
org-html-table-use-header-tags-for-first-column
:html-tag-class-prefix
org-html-tag-class-prefix
:html-text-markup-alist
org-html-text-markup-alist
:html-todo-kwd-class-prefix
org-html-todo-kwd-class-prefix
:html-toplevel-hlevel
org-html-toplevel-hlevel
:html-use-infojs
org-html-use-infojs
:html-validation-link
org-html-validation-link
:html-viewport
org-html-viewport
:html-xml-declaration
org-html-xml-declaration
L
A
T
E
Xspecific properties
:latex-active-timestamp-format
org-latex-active-timestamp-format
:latex-caption-above
org-latex-caption-above
:latex-classes
org-latex-classes
:latex-class
org-latex-default-class
:latex-default-figure-position
org-latex-default-figure-position
:latex-default-table-environment
org-latex-default-table-environment
:latex-default-table-mode
org-latex-default-table-mode
:latex-diary-timestamp-format
org-latex-diary-timestamp-format
:latex-footnote-separator
org-latex-footnote-separator
:latex-format-drawer-function
org-latex-format-drawer-function
:latex-format-headline-function
org-latex-format-headline-function
:latex-format-inlinetask-function
org-latex-format-inlinetask-function
Documents you may be interested
Documents you may be interested