HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf Namespace Reference

Namespaces

namespace  codec
 
namespace  collection
 
namespace  crypto
 
namespace  draw
 
namespace  events
 
namespace  hyphenation
 
namespace  interfaces
 
namespace  intern
 

Classes

class  AcroFields
 
class  ArabicLigaturizer
 
class  BadPasswordException
 
class  BadPdfFormatException
 
class  Barcode
 
class  Barcode128
 
class  Barcode39
 
class  BarcodeCodabar
 
class  BarcodeDatamatrix
 
class  BarcodeEAN
 
class  BarcodeEANSUPP
 
class  BarcodeInter25
 
class  BarcodePDF417
 
class  BarcodePostnet
 
class  BaseField
 
class  BaseFont
 Summary description for BaseFont. More...
 
class  BidiLine
 
class  BidiOrder
 
class  ByteBuffer
 
class  CFFFont
 
class  CFFFontSubset
 
class  CJKFont
 
class  CMYKColor
 
class  ColorDetails
 
class  ColumnText
 
class  DefaultSplitCharacter
 
class  DocumentFont
 
class  EnumerateTTC
 
class  ExtendedColor
 
class  FdfReader
 
class  FdfWriter
 
class  FontDetails
 
class  FontSelector
 
class  GlyphList
 
class  GrayColor
 
class  HyphenationAuto
 
class  ICC_Profile
 Summary description for ICC_Profile. More...
 
interface  IExtraEncoding
 
interface  IHyphenationEvent
 
class  IntHashtable
 A Hashtable that uses ints as the keys. More...
 
interface  IOcspClient
 
interface  IPdfOCG
 
interface  IPdfPageEvent
 
interface  IPdfPCellEvent
 Summary description for IPdfPCellEvent. More...
 
interface  IPdfPTableEvent
 
interface  ITSAClient
 
class  LZWDecoder
 
class  MultiColumnText
 
class  ObjCopyUtil
 
class  OcspClientBouncyCastle
 
class  OutputStreamCounter
 
class  OutputStreamEncryption
 
class  PageResources
 
class  PatternColor
 
class  PdfAcroForm
 
class  PdfAction
 
class  PdfAnnotation
 
class  PdfAppearance
 
class  PdfArray
 
class  PdfBoolean
 
class  PdfBorderArray
 
class  PdfBorderDictionary
 
class  PdfCell
 
class  PdfChunk
 
class  PdfColor
 
class  PdfContentByte
 
class  PdfContentParser
 
class  PdfContents
 
class  PdfCopy
 
class  PdfCopyFields
 
class  PdfCopyFieldsImp
 
class  PdfCopyForms
 
class  PdfCopyFormsImp
 
class  PdfDashPattern
 
class  PdfDate
 
class  PdfDestination
 
class  PdfDeveloperExtension
 
class  PdfDictionary
 
class  PdfDocument
 
class  PdfEFStream
 
class  PdfEncodings
 
class  PdfEncryption
 
class  PdfEncryptor
 
class  PdfException
 
class  PdfFileSpecification
 
class  PdfFont
 
class  PdfFormField
 
class  PdfFormXObject
 
class  PdfFunction
 
class  PdfGState
 
class  PdfICCBased
 
class  PdfImage
 
class  PdfImportedPage
 
class  PdfIndirectObject
 
class  PdfIndirectReference
 
class  PdfLayer
 
class  PdfLayerMembership
 
class  PdfLine
 
class  PdfLiteral
 
class  PdfMediaClipData
 
class  PdfName
 
class  PdfNameTree
 
class  PdfNull
 
class  PdfNumber
 
class  PdfNumberTree
 
class  PdfObject
 
class  PdfOCProperties
 
class  PdfOutline
 
class  PdfPage
 
class  PdfPageEventHelper
 
class  PdfPageLabels
 
class  PdfPages
 
class  PdfPattern
 
class  PdfPatternPainter
 
class  PdfPCell
 
class  PdfPKCS7
 
class  PdfPRow
 
class  PdfPSXObject
 
class  PdfPTable
 
class  PdfPublicKeyRecipient
 
class  PdfPublicKeySecurityHandler
 
class  PdfReader
 
class  PdfReaderInstance
 
class  PdfRectangle
 
class  PdfRendition
 
class  PdfResources
 
class  PdfShading
 
class  PdfShadingPattern
 
class  PdfSigGenericPKCS
 
class  PdfSignature
 
class  PdfSignatureAppearance
 
class  PdfSmartCopy
 
class  PdfSpotColor
 
class  PdfStamper
 
class  PdfStamperImp
 
class  PdfStream
 
class  PdfString
 
class  PdfStructureElement
 
class  PdfStructureTreeRoot
 
class  PdfTable
 
class  PdfTemplate
 
class  PdfTextArray
 
class  PdfTransition
 
class  PdfTransparencyGroup
 
class  PdfWriter
 
class  PdfXConformanceException
 
class  Pfm2afm
 
class  PRAcroForm
 
class  PRIndirectReference
 
class  PRStream
 
class  PRTokeniser
 
class  PushbuttonField
 
class  RadioCheckField
 
class  RandomAccessFileOrArray
 
class  SequenceList
 
class  ShadingColor
 
class  SimpleBookmark
 
class  SimpleNamedDestination
 
class  SpotColor
 
class  StampContent
 
class  TextField
 
class  TrueTypeFont
 
class  TrueTypeFontSubSet
 
class  TrueTypeFontUnicode
 
class  TSAClientBouncyCastle
 
class  Type1Font
 
class  Type3Font
 
class  Type3Glyph
 
class  VerticalText
 
class  XfaForm
 
class  XfdfReader
 

Detailed Description

Reference implementation of the Unicode 3.0 Bidi algorithm.

This implementation is not optimized for performance. It is intended as a reference implementation that closely follows the specification of the Bidirectional Algorithm in The Unicode Standard version 3.0.

Input:
There are two levels of input to the algorithm, since clients may prefer to supply some information from out-of-band sources rather than relying on the default behavior.

  1. unicode type array
  2. unicode type array, with externally supplied base line direction

Output:
Output is separated into several stages as well, to better enable clients to evaluate various aspects of implementation conformance.

  1. levels array over entire paragraph
  2. reordering array over entire paragraph
  3. levels array over line
  4. reordering array over line

Note that for conformance, algorithms are only required to generate correct reordering and character directionality (odd or even levels) over a line. Generating identical level arrays over a line is not required. Bidi explicit format codes (LRE, RLE, LRO, RLO, PDF) and BN can be assigned arbitrary levels and positions as long as the other text matches.

As the algorithm is defined to operate on a single paragraph at a time, this implementation is written to handle single paragraphs. Thus rule P1 is presumed by this implementation– the data provided to the implementation is assumed to be a single paragraph, and either contains no 'B' codes, or a single 'B' code at the end of the input. 'B' is allowed as input to illustrate how the algorithm assigns it a level.

Also note that rules L3 and L4 depend on the rendering engine that uses the result of the bidi algorithm. This implementation assumes that the rendering engine expects combining marks in visual order (e.g. to the left of their base character in RTL runs) and that it adjust the glyphs used to render mirrored characters that are in RTL runs so that they render appropriately.

Author
Doug Felt

The below 2 methods are from pdfbox.

private DERObject CreateDERForRecipient(byte[] in, X509Certificate cert) ; private KeyTransRecipientInfo ComputeRecipientInfo(X509Certificate x509certificate, byte[] abyte0);

2006-11-22 Aiken Sam. Copyright (c) 2003-2006, www.pdfbox.org All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of pdfbox; nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://www.pdfbox.org