From 51b8205a513e86c62121a927a067632c1a933839 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 29 Mar 2018 22:25:09 +0200 Subject: Remove need for namedump by using macros and preprocessor. Add a PDF_NAME(Foo) macro that evaluates to a pdf_obj for /Foo. Use the C preprocessor to create the enum values and string table from one include file instead of using a separate code generator tool. --- resources/pdf/names.txt | 419 ------------------------------------------------ 1 file changed, 419 deletions(-) delete mode 100644 resources/pdf/names.txt (limited to 'resources') diff --git a/resources/pdf/names.txt b/resources/pdf/names.txt deleted file mode 100644 index 5ba1c026..00000000 --- a/resources/pdf/names.txt +++ /dev/null @@ -1,419 +0,0 @@ -3D -A -A85 -AA -AESV2 -AESV3 -AHx -AP -AS -ASCII85Decode -ASCIIHexDecode -AcroForm -Adobe.PPKLite -All -AllOff -AllOn -Alpha -Alternate -Annot -Annots -AnyOff -ArtBox -Ascent -B -BBox -BC -BE -BG -BM -BPC -BS -Background -BaseEncoding -BaseFont -BaseState -BitsPerComponent -BitsPerCoordinate -BitsPerFlag -BitsPerSample -BlackIs1 -BlackPoint -BleedBox -Blinds -Border -Bounds -Box -Bt -Btn -Butt -ByteRange -C -C0 -C1 -CA -CCF -CCITTFaxDecode -CF -CFM -CI -CIDFontType0 -CIDFontType0C -CIDFontType2 -CIDSystemInfo -CIDToGIDMap -CMYK -CS -CalCMYK -CalGray -CalRGB -CapHeight -Caret -Catalog -Ch -CharProcs -Circle -ClosedArrow -Collection -ColorSpace -ColorTransform -Colorants -Colors -Columns -Configs -Contents -Coords -Count -Cover -CreationDate -Creator -CropBox -Crypt -D -DA -DC -DCT -DCTDecode -DL -DOS -DP -DR -DV -DW -DW2 -DamagedRowsBeforeError -Decode -DecodeParms -Default -DefaultCMYK -DefaultGray -DefaultRGB -Desc -DescendantFonts -Descent -Design -Dest -DestOutputProfile -Dests -DeviceCMYK -DeviceGray -DeviceN -DeviceRGB -Di -Diamond -Differences -Dissolve -Dm -Domain -Dur -E -EF -EarlyChange -EmbeddedFiles -Encode -EncodedByteAlign -Encoding -Encrypt -EncryptMetadata -EndOfBlock -EndOfLine -Exclude -ExtGState -Extend -F -FL -FRM -FS -FT -Fade -Ff -Fields -FileAttachment -Filespec -Filter -First -FirstChar -FirstPage -Fit -FitB -FitBH -FitBV -FitH -FitR -FitV -Fl -Flags -FlateDecode -Fly -Font -FontBBox -FontDescriptor -FontFile -FontFile2 -FontFile3 -FontMatrix -FontName -Form -FormType -FreeText -Function -FunctionType -Functions -G -Gamma -Glitter -GoTo -GoToR -Group -H -Height -Highlight -I -IC -ICCBased -ID -IM -IRT -Identity -Identity-H -Identity-V -Image -ImageMask -Index -Indexed -Info -Ink -InkList -Intent -Interpolate -IsMap -ItalicAngle -JBIG2Decode -JBIG2Globals -JPXDecode -JS -JavaScript -K -Kids -L -LC -LE -LJ -LW -LZ -LZW -LZWDecode -Lab -Last -LastChar -LastPage -Launch -Length -Length1 -Length2 -Length3 -Limits -Line -Linearized -Link -Locked -Luminosity -M -MK -ML -MMType1 -Mac -Mask -Matrix -Matte -MaxLen -MediaBox -Metadata -MissingWidth -ModDate -Movie -N -Name -Named -Names -NewWindow -Next -NextPage -None -Normal -O -OC -OCG -OCGs -OCMD -OCProperties -OE -OFF -ON -OP -OPM -ObjStm -Of -Off -Open -OpenArrow -OpenType -Opt -Order -Ordering -Outlines -OutputIntents -P -PDF -PS -Page -PageMode -Pages -PaintType -Params -Parent -Pattern -PatternType -PolyLine -Polygon -Popup -Predictor -Prev -PrevPage -Print -PrinterMark -ProcSet -Producer -Properties -Push -Q -QuadPoints -R -RBGroups -RClosedArrow -RGB -RI -RL -ROpenArrow -Range -Rect -Ref -Registry -ResetForm -Resources -Root -Rotate -Rows -RunLengthDecode -S -SMask -SMaskInData -Schema -Screen -Separation -Shading -ShadingType -Si -Sig -SigFlags -Size -Slash -Sold -Sound -Split -Square -Squiggly -Stamp -Standard -StdCF -StemV -StmF -StrF -StrikeOut -SubFilter -Subtype -Subtype2 -Supplement -T -TR -TR2 -Text -TilingType -Title -ToUnicode -Trans -Transparency -TrapNet -TrimBox -TrueType -Tx -Type -Type0 -Type1 -Type1C -Type3 -U -UE -UF -URI -URL -Unchanged -Uncover -Underline -Unix -Usage -UseBlackPtComp -UseCMap -UseOutlines -UserUnit -V -V2 -VE -Version -Vertices -VerticesPerRow -View -W -W2 -WMode -Watermark -WhitePoint -Widget -Width -Widths -WinAnsiEncoding -Wipe -XHeight -XML -XObject -XRef -XRefStm -XStep -XYZ -YStep -adbe.pkcs7.detached -ca -n0 -n1 -n2 -op -- cgit v1.2.3