Lines Matching refs:append

225     aClipPoly.append( basegfx::B2DPoint( 8250, 9600 ) );  in doTestCode()
226 aClipPoly.append( basegfx::B2DPoint( 16500, 11100 ) ); in doTestCode()
227 aClipPoly.append( basegfx::B2DPoint( 8250, 12600 ) ); in doTestCode()
228 aClipPoly.append( basegfx::B2DPoint( 4500, 11100 ) ); in doTestCode()
231 aClip.append( aClipPoly ); in doTestCode()
515 rBuffer.append( pHexDigits[ (nInt >> 4) & 15 ] ); in appendHex()
516 rBuffer.append( pHexDigits[ nInt & 15 ] ); in appendHex()
540 rBuffer.append( pStr[i] ); in appendName()
544 rBuffer.append( '#' ); in appendName()
560 rBuffer.append( *pStr ); in appendName()
564 rBuffer.append( '#' ); in appendName()
579 rBuffer.append( "\\n" ); in appendLiteralString()
582 rBuffer.append( "\\r" ); in appendLiteralString()
585 rBuffer.append( "\\t" ); in appendLiteralString()
588 rBuffer.append( "\\b" ); in appendLiteralString()
591 rBuffer.append( "\\f" ); in appendLiteralString()
596 rBuffer.append( "\\" ); in appendLiteralString()
597 rBuffer.append( (sal_Char) *pStr ); in appendLiteralString()
600 rBuffer.append( (sal_Char) *pStr ); in appendLiteralString()
643 rBuffer.append((sal_Char)aChar); in appendDestinationName()
658 rBuffer.append( "FEFF" ); in appendUnicodeTextString()
688 aBuffer.append( pStr[i] ); in createWidgetFieldName()
691 aBuffer.append( '#' ); in createWidgetFieldName()
757 aBuf.append( aDomain ); in createWidgetFieldName()
758 aBuf.append( '.' ); in createWidgetFieldName()
759 aBuf.append( aPartialName ); in createWidgetFieldName()
809 aUnique.append( aFullName ); in createWidgetFieldName()
810 aUnique.append( '_' ); in createWidgetFieldName()
811 aUnique.append( nTry++ ); in createWidgetFieldName()
831 rBuffer.append( '-' ); in appendFixedInt()
839 rBuffer.append( nInt ); in appendFixedInt()
845 rBuffer.append( '.' ); in appendFixedInt()
849 rBuffer.append( nDecimal ); in appendFixedInt()
880 rBuffer.append( '-' ); in appendDouble()
881 rBuffer.append( nInt ); in appendDouble()
885 rBuffer.append( '.' ); in appendDouble()
891 rBuffer.append( nNumb ); in appendDouble()
911 rBuffer.append( ' ' ); in appendColor()
913 rBuffer.append( ' ' ); in appendColor()
925 rBuffer.append( bGrey ? " G" : " RG" ); in appendStrokingColor()
935 rBuffer.append( bGrey ? " g" : " rg" ); in appendNonStrokingColor()
963 void append( PDFWriterImpl::PDFPage& rPage, OStringBuffer& rBuffer, Point* pBack = NULL );
1068 void Matrix3::append( PDFWriterImpl::PDFPage& rPage, OStringBuffer& rBuffer, Point* pBack ) in append() function in Matrix3
1071 rBuffer.append( ' ' ); in append()
1073 rBuffer.append( ' ' ); in append()
1075 rBuffer.append( ' ' ); in append()
1077 rBuffer.append( ' ' ); in append()
1085 rBuf.append( '/' ); in appendResourceMap()
1086 rBuf.append( pPrefix ); in appendResourceMap()
1087 rBuf.append( "<<" ); in appendResourceMap()
1093 rBuf.append( '/' ); in appendResourceMap()
1094 rBuf.append( it->first ); in appendResourceMap()
1095 rBuf.append( ' ' ); in appendResourceMap()
1096 rBuf.append( it->second ); in appendResourceMap()
1097 rBuf.append( " 0 R" ); in appendResourceMap()
1099 rBuf.append( '\n' ); in appendResourceMap()
1102 rBuf.append( ">>\n" ); in appendResourceMap()
1105 void PDFWriterImpl::ResourceDict::append( OStringBuffer& rBuf, sal_Int32 nFontDictObject ) in append() function in PDFWriterImpl::ResourceDict
1107 rBuf.append( "<</Font " ); in append()
1108 rBuf.append( nFontDictObject ); in append()
1109 rBuf.append( " 0 R\n" ); in append()
1114 rBuf.append( "/ProcSet[/PDF/Text" ); in append()
1116 rBuf.append( "/ImageC/ImageI/ImageB" ); in append()
1117 rBuf.append( "]\n>>\n" ); in append()
1158 aLine.append( m_aStreamObjects.back() ); in beginStream()
1159 aLine.append( " 0 obj\n<</Length " ); in beginStream()
1160 aLine.append( m_nStreamLengthObject ); in beginStream()
1161 aLine.append( " 0 R" ); in beginStream()
1163 aLine.append( "/Filter/FlateDecode" ); in beginStream()
1165 aLine.append( ">>\nstream\n" ); in beginStream()
1198 aLine.append( m_nStreamLengthObject ); in endStream()
1199 aLine.append( " 0 obj\n" ); in endStream()
1200 aLine.append( (sal_Int64)(nEndStreamPos-m_nBeginStreamPos) ); in endStream()
1201 aLine.append( "\nendobj\n\n" ); in endStream()
1212 aLine.append( m_nPageObject ); in emit()
1213 aLine.append( " 0 obj\n" in emit()
1215 aLine.append( nParentObject ); in emit()
1216 aLine.append( " 0 R" ); in emit()
1217 aLine.append( "/Resources " ); in emit()
1218 aLine.append( m_pWriter->getResourceDictObj() ); in emit()
1219 aLine.append( " 0 R" ); in emit()
1222 aLine.append( "/MediaBox[0 0 " ); in emit()
1223 aLine.append( m_nPageWidth ); in emit()
1224 aLine.append( ' ' ); in emit()
1225 aLine.append( m_nPageHeight ); in emit()
1226 aLine.append( "]" ); in emit()
1230 case PDFWriter::Landscape: aLine.append( "/Rotate 90\n" );break; in emit()
1231 case PDFWriter::Seascape: aLine.append( "/Rotate -90\n" );break; in emit()
1232 case PDFWriter::Portrait: aLine.append( "/Rotate 0\n" );break; in emit()
1241 aLine.append( "/Annots[\n" ); in emit()
1244 aLine.append( m_aAnnotations[i] ); in emit()
1245 aLine.append( " 0 R" ); in emit()
1246 aLine.append( ((i+1)%15) ? " " : "\n" ); in emit()
1248 aLine.append( "]\n" ); in emit()
1253 aLine.append( " /Tabs /S\n" ); in emit()
1258 aStructParents.append( "[ " ); in emit()
1262 aStructParents.append( m_aMCIDParents[i] ); in emit()
1263 aStructParents.append( " 0 R" ); in emit()
1264 aStructParents.append( ((i%10) == 9) ? "\n" : " " ); in emit()
1266 aStructParents.append( "]" ); in emit()
1269 aLine.append( "/StructParents " ); in emit()
1270 aLine.append( sal_Int32(m_pWriter->m_aStructParentTree.size()-1) ); in emit()
1271 aLine.append( "\n" ); in emit()
1275 aLine.append( "/Dur " ); in emit()
1276 aLine.append( (sal_Int32)m_nDuration ); in emit()
1277 aLine.append( "\n" ); in emit()
1282 aLine.append( "/Trans<</D " ); in emit()
1284 aLine.append( "\n" ); in emit()
1326 aLine.append( "/S/" ); in emit()
1327 aLine.append( pStyle ); in emit()
1328 aLine.append( "\n" ); in emit()
1332 aLine.append( "/Dm/" ); in emit()
1333 aLine.append( pDm ); in emit()
1334 aLine.append( "\n" ); in emit()
1338 aLine.append( "/M/" ); in emit()
1339 aLine.append( pM ); in emit()
1340 aLine.append( "\n" ); in emit()
1344 aLine.append( "/Di " ); in emit()
1345 aLine.append( pDi ); in emit()
1346 aLine.append( "\n" ); in emit()
1348 aLine.append( ">>\n" ); in emit()
1352 aLine.append( "/Group<</S/Transparency/CS/DeviceRGB/I true>>" ); in emit()
1354 aLine.append( "/Contents" ); in emit()
1357 aLine.append( '[' ); in emit()
1360 aLine.append( ' ' ); in emit()
1361 aLine.append( m_aStreamObjects[i] ); in emit()
1362 aLine.append( " 0 R" ); in emit()
1365 aLine.append( ']' ); in emit()
1366 aLine.append( ">>\nendobj\n\n" ); in emit()
1410 rBuffer.append( ' ' ); in appendPoint()
1425 rBuffer.append( ' ' ); in appendPixelPoint()
1435 rBuffer.append( ' ' ); in appendRect()
1437 rBuffer.append( ' ' ); in appendRect()
1439 rBuffer.append( " re" ); in appendRect()
1470 rBuffer.append( " m\n" ); in appendPolygon()
1478 rBuffer.append( " " ); in appendPolygon()
1480 rBuffer.append( " " ); in appendPolygon()
1482 rBuffer.append( " c" ); in appendPolygon()
1489 rBuffer.append( " l" ); in appendPolygon()
1493 rBuffer.append( "\n" ); in appendPolygon()
1497 rBuffer.append( " " ); in appendPolygon()
1500 rBuffer.append( "h\n" ); in appendPolygon()
1516 rBuffer.append( ' ' ); in appendPolygon()
1518 rBuffer.append( ' ' ); in appendPolygon()
1520 rBuffer.append( " re\n" ); in appendPolygon()
1529 rBuffer.append( " m\n" ); in appendPolygon()
1541 rBuffer.append( ' ' ); in appendPolygon()
1543 rBuffer.append( ' ' ); in appendPolygon()
1545 rBuffer.append( " c" ); in appendPolygon()
1550 rBuffer.append( ' ' ); in appendPolygon()
1552 rBuffer.append( " y" ); in appendPolygon()
1557 rBuffer.append( ' ' ); in appendPolygon()
1559 rBuffer.append( " v" ); in appendPolygon()
1564 rBuffer.append( " l" ); in appendPolygon()
1568 rBuffer.append( "\n" ); in appendPolygon()
1572 rBuffer.append( " " ); in appendPolygon()
1576 rBuffer.append( "h\n" ); in appendPolygon()
1599 rBuffer.append( '-' ); in appendMappedLength()
1651 rBuffer.append( "[ " ); in appendLineInfo()
1655 rBuffer.append( ' ' ); in appendLineInfo()
1657 rBuffer.append( ' ' ); in appendLineInfo()
1664 rBuffer.append( ' ' ); in appendLineInfo()
1666 rBuffer.append( ' ' ); in appendLineInfo()
1671 rBuffer.append( ' ' ); in appendLineInfo()
1673 rBuffer.append( ' ' ); in appendLineInfo()
1676 rBuffer.append( "] 0 d\n" ); in appendLineInfo()
1682 rBuffer.append( " w\n" ); in appendLineInfo()
1688 rBuffer.append( " w\n" ); in appendLineInfo()
1701 rBuffer.append( "0 " ); in appendWaveLine()
1703 rBuffer.append( " m\n" ); in appendWaveLine()
1708 rBuffer.append( ' ' ); in appendWaveLine()
1710 rBuffer.append( ' ' ); in appendWaveLine()
1713 rBuffer.append( ' ' ); in appendWaveLine()
1715 rBuffer.append( " v " ); in appendWaveLine()
1720 rBuffer.append( ' ' ); in appendWaveLine()
1722 rBuffer.append( ' ' ); in appendWaveLine()
1725 rBuffer.append( ' ' ); in appendWaveLine()
1727 rBuffer.append( " v\n" ); in appendWaveLine()
1730 rBuffer.append( "S\n" ); in appendWaveLine()
1835 aBuffer.append( "%PDF-" ); in PDFWriterImpl()
1838 case PDFWriter::PDF_1_2: aBuffer.append( "1.2" );break; in PDFWriterImpl()
1839 case PDFWriter::PDF_1_3: aBuffer.append( "1.3" );break; in PDFWriterImpl()
1842 case PDFWriter::PDF_1_4: aBuffer.append( "1.4" );break; in PDFWriterImpl()
1843 case PDFWriter::PDF_1_5: aBuffer.append( "1.5" );break; in PDFWriterImpl()
1846 aBuffer.append( "\n%äüöß\n" ); in PDFWriterImpl()
1916 aCreationDateString.append( "D:" ); in computeDocumentIdentifier()
1917 aCreationDateString.append( (sal_Char)('0' + ((aDT.Year/1000)%10)) ); in computeDocumentIdentifier()
1918 aCreationDateString.append( (sal_Char)('0' + ((aDT.Year/100)%10)) ); in computeDocumentIdentifier()
1919 aCreationDateString.append( (sal_Char)('0' + ((aDT.Year/10)%10)) ); in computeDocumentIdentifier()
1920 aCreationDateString.append( (sal_Char)('0' + ((aDT.Year)%10)) ); in computeDocumentIdentifier()
1921 aCreationDateString.append( (sal_Char)('0' + ((aDT.Month/10)%10)) ); in computeDocumentIdentifier()
1922 aCreationDateString.append( (sal_Char)('0' + ((aDT.Month)%10)) ); in computeDocumentIdentifier()
1923 aCreationDateString.append( (sal_Char)('0' + ((aDT.Day/10)%10)) ); in computeDocumentIdentifier()
1924 aCreationDateString.append( (sal_Char)('0' + ((aDT.Day)%10)) ); in computeDocumentIdentifier()
1925 aCreationDateString.append( (sal_Char)('0' + ((aDT.Hours/10)%10)) ); in computeDocumentIdentifier()
1926 aCreationDateString.append( (sal_Char)('0' + ((aDT.Hours)%10)) ); in computeDocumentIdentifier()
1927 aCreationDateString.append( (sal_Char)('0' + ((aDT.Minutes/10)%10)) ); in computeDocumentIdentifier()
1928 aCreationDateString.append( (sal_Char)('0' + ((aDT.Minutes)%10)) ); in computeDocumentIdentifier()
1929 aCreationDateString.append( (sal_Char)('0' + ((aDT.Seconds/10)%10)) ); in computeDocumentIdentifier()
1930 aCreationDateString.append( (sal_Char)('0' + ((aDT.Seconds)%10)) ); in computeDocumentIdentifier()
1938 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Year/1000)%10)) ); in computeDocumentIdentifier()
1939 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Year/100)%10)) ); in computeDocumentIdentifier()
1940 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Year/10)%10)) ); in computeDocumentIdentifier()
1941 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Year)%10)) ); in computeDocumentIdentifier()
1942 aCreationMetaDateString.append( "-" ); in computeDocumentIdentifier()
1943 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Month/10)%10)) ); in computeDocumentIdentifier()
1944 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Month)%10)) ); in computeDocumentIdentifier()
1945 aCreationMetaDateString.append( "-" ); in computeDocumentIdentifier()
1946 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Day/10)%10)) ); in computeDocumentIdentifier()
1947 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Day)%10)) ); in computeDocumentIdentifier()
1948 aCreationMetaDateString.append( "T" ); in computeDocumentIdentifier()
1949 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Hours/10)%10)) ); in computeDocumentIdentifier()
1950 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Hours)%10)) ); in computeDocumentIdentifier()
1951 aCreationMetaDateString.append( ":" ); in computeDocumentIdentifier()
1952 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Minutes/10)%10)) ); in computeDocumentIdentifier()
1953 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Minutes)%10)) ); in computeDocumentIdentifier()
1954 aCreationMetaDateString.append( ":" ); in computeDocumentIdentifier()
1955 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Seconds/10)%10)) ); in computeDocumentIdentifier()
1956 aCreationMetaDateString.append( (sal_Char)('0' + ((aDT.Seconds)%10)) ); in computeDocumentIdentifier()
1961 aCreationDateString.append( "-" ); in computeDocumentIdentifier()
1963 aCreationMetaDateString.append( "-" ); in computeDocumentIdentifier()
1967 aCreationDateString.append( "+" ); in computeDocumentIdentifier()
1969 aCreationMetaDateString.append( "+" ); in computeDocumentIdentifier()
1973 aCreationDateString.append( "Z" ); in computeDocumentIdentifier()
1974 aCreationMetaDateString.append( "Z" ); in computeDocumentIdentifier()
1979 aCreationDateString.append( (sal_Char)('0' + ((nDelta/36000)%10)) ); in computeDocumentIdentifier()
1980 aCreationDateString.append( (sal_Char)('0' + ((nDelta/3600)%10)) ); in computeDocumentIdentifier()
1981 aCreationDateString.append( "'" ); in computeDocumentIdentifier()
1982 aCreationDateString.append( (sal_Char)('0' + ((nDelta/600)%6)) ); in computeDocumentIdentifier()
1983 aCreationDateString.append( (sal_Char)('0' + ((nDelta/60)%10)) ); in computeDocumentIdentifier()
1985 aCreationMetaDateString.append( (sal_Char)('0' + ((nDelta/36000)%10)) ); in computeDocumentIdentifier()
1986 aCreationMetaDateString.append( (sal_Char)('0' + ((nDelta/3600)%10)) ); in computeDocumentIdentifier()
1987 aCreationMetaDateString.append( ":" ); in computeDocumentIdentifier()
1988 aCreationMetaDateString.append( (sal_Char)('0' + ((nDelta/600)%6)) ); in computeDocumentIdentifier()
1989 aCreationMetaDateString.append( (sal_Char)('0' + ((nDelta/60)%10)) ); in computeDocumentIdentifier()
1991 aCreationDateString.append( "'" ); in computeDocumentIdentifier()
1992 aID.append( aCreationDateString.getStr(), aCreationDateString.getLength() ); in computeDocumentIdentifier()
2021 rOutBuffer.append( "<" ); in appendUnicodeTextStringEncrypt()
2051 rOutBuffer.append( ">" ); in appendUnicodeTextStringEncrypt()
2056 rOutBuffer.append( "(" ); in appendLiteralStringEncrypt()
2068 rOutBuffer.append( ")" ); in appendLiteralStringEncrypt()
2087 aBuf.append( *pT ); in appendLiteralStringEncrypt()
2090 aBuf.append( '<' ); in appendLiteralStringEncrypt()
2092 aBuf.append( '>' ); in appendLiteralStringEncrypt()
2104 aLine.append( "% " ); in emitComment()
2105 aLine.append( (const sal_Char*)pComment ); in emitComment()
2106 aLine.append( "\n" ); in emitComment()
2475 aBuf.append( " w\n" ); in newPage()
2575 aLine.append( nObject ); in emitStructParentTree()
2576 aLine.append( " 0 obj\n" in emitStructParentTree()
2581 aLine.append( n ); in emitStructParentTree()
2582 aLine.append( ' ' ); in emitStructParentTree()
2583 aLine.append( m_aStructParentTree[n] ); in emitStructParentTree()
2584 aLine.append( "\n" ); in emitStructParentTree()
2586 aLine.append( "]>>\nendobj\n\n" ); in emitStructParentTree()
2678 o_rLine.append( "/" ); in appendStructureAttributeLine()
2679 o_rLine.append( PDFWriterImpl::getAttributeTag( i_eAttr ) ); in appendStructureAttributeLine()
2683 o_rLine.append( "/" ); in appendStructureAttributeLine()
2684 o_rLine.append( PDFWriterImpl::getAttributeValueTag( i_rVal.eValue ) ); in appendStructureAttributeLine()
2689 o_rLine.append( " " ); in appendStructureAttributeLine()
2693 o_rLine.append( i_rVal.nValue ); in appendStructureAttributeLine()
2695 o_rLine.append( "\n" ); in appendStructureAttributeLine()
2721 aStructParentEntry.append( i_rEle.m_nObject ); in emitStructureAttributes()
2722 aStructParentEntry.append( " 0 R" ); in emitStructureAttributes()
2728 aRef.append( nRefObject ); in emitStructureAttributes()
2729 aRef.append( " 0 obj\n" in emitStructureAttributes()
2731 aRef.append( m_aLinks[ nLink ].m_nObject ); in emitStructureAttributes()
2732 aRef.append( " 0 R>>\n" in emitStructureAttributes()
2747 aLine.append( nLink ); in emitStructureAttributes()
2748 aLine.append( " for Link structure" ); in emitStructureAttributes()
2759 aLayout.append( "/BBox[" ); in emitStructureAttributes()
2761 aLayout.append( " " ); in emitStructureAttributes()
2763 aLayout.append( " " ); in emitStructureAttributes()
2765 aLayout.append( " " ); in emitStructureAttributes()
2767 aLayout.append( "]\n" ); in emitStructureAttributes()
2776 aObj.append( aAttribObjects.back() ); in emitStructureAttributes()
2777 aObj.append( " 0 obj\n" in emitStructureAttributes()
2779 aLayout.append( ">>\nendobj\n\n" ); in emitStructureAttributes()
2788 aObj.append( aAttribObjects.back() ); in emitStructureAttributes()
2789 aObj.append( " 0 obj\n" in emitStructureAttributes()
2791 aList.append( ">>\nendobj\n\n" ); in emitStructureAttributes()
2800 aObj.append( aAttribObjects.back() ); in emitStructureAttributes()
2801 aObj.append( " 0 obj\n" in emitStructureAttributes()
2803 aTable.append( ">>\nendobj\n\n" ); in emitStructureAttributes()
2810 aRet.append( " [" ); in emitStructureAttributes()
2814 aRet.append( " " ); in emitStructureAttributes()
2815 aRet.append( *at_it ); in emitStructureAttributes()
2816 aRet.append( " 0 R" ); in emitStructureAttributes()
2819 aRet.append( " ]" ); in emitStructureAttributes()
2860 aLine.append( rEle.m_nObject ); in emitStructure()
2861 aLine.append( " 0 obj\n" in emitStructure()
2868 aLine.append( "/StructTreeRoot\n" ); in emitStructure()
2869 aLine.append( "/ParentTree " ); in emitStructure()
2870 aLine.append( nParentTree ); in emitStructure()
2871 aLine.append( " 0 R\n" ); in emitStructure()
2874 aLine.append( "/RoleMap<<" ); in emitStructure()
2878 aLine.append( '/' ); in emitStructure()
2879 aLine.append(it->first); in emitStructure()
2880 aLine.append( '/' ); in emitStructure()
2881 aLine.append( it->second ); in emitStructure()
2882 aLine.append( '\n' ); in emitStructure()
2884 aLine.append( ">>\n" ); in emitStructure()
2889 aLine.append( "/StructElem\n" in emitStructure()
2892 aLine.append( rEle.m_aAlias ); in emitStructure()
2894 aLine.append( getStructureTag( rEle.m_eType ) ); in emitStructure()
2895 aLine.append( "\n" in emitStructure()
2897 aLine.append( m_aStructure[ rEle.m_nParentElement ].m_nObject ); in emitStructure()
2898 aLine.append( " 0 R\n" in emitStructure()
2900 aLine.append( rEle.m_nFirstPageObject ); in emitStructure()
2901 aLine.append( " 0 R\n" ); in emitStructure()
2904 aLine.append( "/ActualText" ); in emitStructure()
2906 aLine.append( "\n" ); in emitStructure()
2910 aLine.append( "/Alt" ); in emitStructure()
2912 aLine.append( "\n" ); in emitStructure()
2920 aLine.append( "/A" ); in emitStructure()
2921 aLine.append( aAttribs ); in emitStructure()
2922 aLine.append( "\n" ); in emitStructure()
2928 aLocBuf.append( rEle.m_aLocale.Language.toAsciiLowerCase() ); in emitStructure()
2931 aLocBuf.append( sal_Unicode('-') ); in emitStructure()
2932 aLocBuf.append( rEle.m_aLocale.Country ); in emitStructure()
2934 aLine.append( "/Lang" ); in emitStructure()
2936 aLine.append( "\n" ); in emitStructure()
2941 aLine.append( "/K[" ); in emitStructure()
2947 aLine.append( it->nObject ); in emitStructure()
2948 aLine.append( " 0 R" ); in emitStructure()
2949 aLine.append( ( (i & 15) == 15 ) ? "\n" : " " ); in emitStructure()
2955 aLine.append( it->nMCID ); in emitStructure()
2956 aLine.append( " " ); in emitStructure()
2960 aLine.append( "<</Type/MCR/Pg " ); in emitStructure()
2961 aLine.append( it->nObject ); in emitStructure()
2962 aLine.append( " 0 R /MCID " ); in emitStructure()
2963 aLine.append( it->nMCID ); in emitStructure()
2964 aLine.append( ">>\n" ); in emitStructure()
2968 aLine.append( "]\n" ); in emitStructure()
2970 aLine.append( ">>\nendobj\n\n" ); in emitStructure()
3021 aTilingObj.append( it->m_nObject ); in emitTilings()
3022 aTilingObj.append( " 0 obj\n" ); in emitTilings()
3023 aTilingObj.append( "<</Type/Pattern/PatternType 1\n" in emitTilings()
3028 aTilingObj.append( ' ' ); in emitTilings()
3030 aTilingObj.append( ' ' ); in emitTilings()
3032 aTilingObj.append( ' ' ); in emitTilings()
3034 aTilingObj.append( "]\n" in emitTilings()
3037 aTilingObj.append( "\n" in emitTilings()
3040 aTilingObj.append( "\n" ); in emitTilings()
3048 aTilingObj.append( "/Matrix [" ); in emitTilings()
3051 aTilingObj.append( ' ' ); in emitTilings()
3053 aTilingObj.append( ' ' ); in emitTilings()
3055 aTilingObj.append( ' ' ); in emitTilings()
3057 aTilingObj.append( ' ' ); in emitTilings()
3059 aTilingObj.append( ' ' ); in emitTilings()
3061 aTilingObj.append( "]\n" ); in emitTilings()
3063 aTilingObj.append( "/Resources" ); in emitTilings()
3064 it->m_aResources.append( aTilingObj, getFontDictObject() ); in emitTilings()
3066 aTilingObj.append( "/Filter/FlateDecode" ); in emitTilings()
3067 aTilingObj.append( "/Length " ); in emitTilings()
3068 aTilingObj.append( (sal_Int32)nTilingStreamSize ); in emitTilings()
3069 aTilingObj.append( ">>\nstream\n" ); in emitTilings()
3080 aTilingObj.append( "\nendstream\nendobj\n\n" ); in emitTilings()
3098 aLine.append( nFontObject ); in emitBuiltinFont()
3099 aLine.append( " 0 obj\n" in emitBuiltinFont()
3102 aLine.append( "\n" ); in emitBuiltinFont()
3104 aLine.append( "/Encoding/WinAnsiEncoding\n" ); in emitBuiltinFont()
3105 aLine.append( ">>\nendobj\n\n" ); in emitBuiltinFont()
3194 aLine.append( nObject ); in emitSystemFont()
3195 aLine.append( " 0 obj\n" in emitSystemFont()
3197 aLine.append( aSubType ); in emitSystemFont()
3198 aLine.append( "/BaseFont/" ); in emitSystemFont()
3200 aLine.append( "\n" ); in emitSystemFont()
3202 aLine.append( "/Encoding/WinAnsiEncoding\n" ); in emitSystemFont()
3203 aLine.append( "/FirstChar 32 /LastChar 255\n" in emitSystemFont()
3207 aLine.append( pWidths[i] ); in emitSystemFont()
3208 aLine.append( ((i&15) == 15) ? "\n" : " " ); in emitSystemFont()
3210 aLine.append( "]\n" in emitSystemFont()
3212 aLine.append( nFontDescriptor ); in emitSystemFont()
3213 aLine.append( " 0 R>>\n" in emitSystemFont()
3496 aLine.append( nStreamObject ); in emitEmbeddedFont()
3497 aLine.append( " 0 obj\n" in emitEmbeddedFont()
3499 aLine.append( nStreamLengthObject ); in emitEmbeddedFont()
3500 aLine.append( " 0 R" in emitEmbeddedFont()
3505 aLine.append( nLength1 ); in emitEmbeddedFont()
3506 aLine.append( " /Length2 " ); in emitEmbeddedFont()
3507 aLine.append( nLength2 ); in emitEmbeddedFont()
3508 aLine.append( " /Length3 "); in emitEmbeddedFont()
3509 aLine.append( nLength3 ); in emitEmbeddedFont()
3510 aLine.append( ">>\n" in emitEmbeddedFont()
3646 aLine.append( "\nendstream\nendobj\n\n" ); in emitEmbeddedFont()
3654 aLine.append( nStreamLengthObject ); in emitEmbeddedFont()
3655 aLine.append( " 0 obj\n" ); in emitEmbeddedFont()
3656 aLine.append( (sal_Int64)(nEndStreamPos-nBeginStreamPos ) ); in emitEmbeddedFont()
3657 aLine.append( "\nendobj\n\n" ); in emitEmbeddedFont()
3664 aErrorComment.append( "GetEmbedFontData failed for font \"" ); in emitEmbeddedFont()
3665 … aErrorComment.append( OUStringToOString( pFont->GetFamilyName(), RTL_TEXTENCODING_UTF8 ) ); in emitEmbeddedFont()
3666 aErrorComment.append( '\"' ); in emitEmbeddedFont()
3668 aErrorComment.append( " italic" ); in emitEmbeddedFont()
3670 aErrorComment.append( " oblique" ); in emitEmbeddedFont()
3671 aErrorComment.append( " weight=" ); in emitEmbeddedFont()
3672 aErrorComment.append( sal_Int32(pFont->GetWeight()) ); in emitEmbeddedFont()
3691 aLine.append( nObject ); in emitEmbeddedFont()
3692 aLine.append( " 0 obj\n" in emitEmbeddedFont()
3695 aLine.append( "\n" ); in emitEmbeddedFont()
3697 aLine.append( "/Encoding/WinAnsiEncoding\n" ); in emitEmbeddedFont()
3700 aLine.append( "/ToUnicode " ); in emitEmbeddedFont()
3701 aLine.append( nToUnicodeStream ); in emitEmbeddedFont()
3702 aLine.append( " 0 R\n" ); in emitEmbeddedFont()
3704 aLine.append( "/FirstChar 0 /LastChar 255\n" in emitEmbeddedFont()
3708 aLine.append( pWidths[i] ); in emitEmbeddedFont()
3709 aLine.append( ((i&15) == 15) ? "\n" : " " ); in emitEmbeddedFont()
3711 aLine.append( "]\n" in emitEmbeddedFont()
3713 aLine.append( nFontDescriptor ); in emitEmbeddedFont()
3714 aLine.append( " 0 R>>\n" in emitEmbeddedFont()
3743 aLine.append( nEncObject ); in emitEmbeddedFont()
3744 aLine.append( " 0 obj\n" in emitEmbeddedFont()
3758 aLine.append( " /" ); in emitEmbeddedFont()
3759 aLine.append( str_it->m_aName ); in emitEmbeddedFont()
3761 aLine.append( "\n" ); in emitEmbeddedFont()
3763 aLine.append( "]>>\n" in emitEmbeddedFont()
3778 aLine.append( nObject ); in emitEmbeddedFont()
3779 aLine.append( " 0 obj\n" in emitEmbeddedFont()
3782 aLine.append( "\n" ); in emitEmbeddedFont()
3783 aLine.append( "/Encoding " ); in emitEmbeddedFont()
3784 aLine.append( nEncObject ); in emitEmbeddedFont()
3785 aLine.append( " 0 R\n" ); in emitEmbeddedFont()
3788 aLine.append( "/ToUnicode " ); in emitEmbeddedFont()
3789 aLine.append( nToUnicodeStream ); in emitEmbeddedFont()
3790 aLine.append( " 0 R\n" ); in emitEmbeddedFont()
3792 aLine.append( "/FirstChar 0\n" in emitEmbeddedFont()
3794 aLine.append( (sal_Int32)(nEncoded-1) ); in emitEmbeddedFont()
3795 aLine.append( "\n" in emitEmbeddedFont()
3799 aLine.append( aEncWidths[i] ); in emitEmbeddedFont()
3800 aLine.append( ((i&15) == 15) ? "\n" : " " ); in emitEmbeddedFont()
3802 aLine.append( " ]\n" in emitEmbeddedFont()
3804 aLine.append( nFontDescriptor ); in emitEmbeddedFont()
3805 aLine.append( " 0 R>>\n" in emitEmbeddedFont()
3835 rBuffer.append( (sal_Char)('A'+nOffset) ); in appendSubsetName()
3837 rBuffer.append( '+' ); in appendSubsetName()
3860 aContents.append( in createToUnicodeCMap()
3883 aContents.append( "endbfchar\n" ); in createToUnicodeCMap()
3884 aContents.append( (sal_Int32)((nMapped-nCount > 100) ? 100 : nMapped-nCount ) ); in createToUnicodeCMap()
3885 aContents.append( " beginbfchar\n" ); in createToUnicodeCMap()
3887 aContents.append( '<' ); in createToUnicodeCMap()
3889 aContents.append( "> <" ); in createToUnicodeCMap()
3897 aContents.append( ">\n" ); in createToUnicodeCMap()
3901 aContents.append( "endbfchar\n" in createToUnicodeCMap()
3920 aLine.append( nStream ); in createToUnicodeCMap()
3921 aLine.append( " 0 obj\n<</Length " ); in createToUnicodeCMap()
3925 aLine.append( nLen ); in createToUnicodeCMap()
3926 aLine.append( "/Filter/FlateDecode" ); in createToUnicodeCMap()
3928 aLine.append( aContents.getLength() ); in createToUnicodeCMap()
3930 aLine.append( ">>\nstream\n" ); in createToUnicodeCMap()
3940 aLine.append( "\nendstream\n" in createToUnicodeCMap()
3965 aLine.append( nFontDescriptor ); in emitFontDescriptor()
3966 aLine.append( " 0 obj\n" in emitFontDescriptor()
3969 aLine.append( "\n" in emitFontDescriptor()
3971 aLine.append( nFontFlags ); in emitFontDescriptor()
3972 aLine.append( "\n" in emitFontDescriptor()
3975 aLine.append( (sal_Int32)rInfo.m_aFontBBox.TopLeft().X() ); in emitFontDescriptor()
3976 aLine.append( ' ' ); in emitFontDescriptor()
3977 aLine.append( (sal_Int32)rInfo.m_aFontBBox.TopLeft().Y() ); in emitFontDescriptor()
3978 aLine.append( ' ' ); in emitFontDescriptor()
3979 aLine.append( (sal_Int32)rInfo.m_aFontBBox.BottomRight().X() ); in emitFontDescriptor()
3980 aLine.append( ' ' ); in emitFontDescriptor()
3981 aLine.append( (sal_Int32)(rInfo.m_aFontBBox.BottomRight().Y()+1) ); in emitFontDescriptor()
3982 aLine.append( "]/ItalicAngle " ); in emitFontDescriptor()
3984 aLine.append( "-30" ); in emitFontDescriptor()
3986 aLine.append( "0" ); in emitFontDescriptor()
3987 aLine.append( "\n" in emitFontDescriptor()
3989 aLine.append( (sal_Int32)rInfo.m_nAscent ); in emitFontDescriptor()
3990 aLine.append( "\n" in emitFontDescriptor()
3992 aLine.append( (sal_Int32)-rInfo.m_nDescent ); in emitFontDescriptor()
3993 aLine.append( "\n" in emitFontDescriptor()
3995 aLine.append( (sal_Int32)rInfo.m_nCapHeight ); in emitFontDescriptor()
3998 aLine.append( "\n" in emitFontDescriptor()
4002 aLine.append( "/FontFile" ); in emitFontDescriptor()
4006 aLine.append( '2' ); in emitFontDescriptor()
4016 aLine.append( ' ' ); in emitFontDescriptor()
4017 aLine.append( nFontStream ); in emitFontDescriptor()
4018 aLine.append( " 0 R\n" ); in emitFontDescriptor()
4020 aLine.append( ">>\n" in emitFontDescriptor()
4032 rDict.append( m_aBuiltinFonts[it->first].getNameObject() ); in appendBuiltinFontsToDict()
4033 rDict.append( ' ' ); in appendBuiltinFontsToDict()
4034 rDict.append( it->second ); in appendBuiltinFontsToDict()
4035 rDict.append( " 0 R" ); in appendBuiltinFontsToDict()
4110 aLine.append( nFontStream ); in emitFonts()
4111 aLine.append( " 0 obj\n" in emitFonts()
4113 aLine.append( (sal_Int32)nStreamLengthObject ); in emitFonts()
4114 aLine.append( " 0 R" in emitFonts()
4123 aLine.append( (sal_Int32)nLength1 ); in emitFonts()
4125 aLine.append( ">>\n" in emitFonts()
4161 aLine.append( (sal_Int32)aSegmentLengths[0] ); in emitFonts()
4162 aLine.append( "/Length2 " ); in emitFonts()
4163 aLine.append( (sal_Int32)aSegmentLengths[1] ); in emitFonts()
4164 aLine.append( "/Length3 " ); in emitFonts()
4165 aLine.append( (sal_Int32)aSegmentLengths[2] ); in emitFonts()
4167 aLine.append( ">>\n" in emitFonts()
4182 aLine.append( "0 >>\nstream\n" ); in emitFonts()
4194 aLine.append( "\nendstream\nendobj\n\n" ); in emitFonts()
4200 aLine.append( nStreamLengthObject ); in emitFonts()
4201 aLine.append( " 0 obj\n" ); in emitFonts()
4202 aLine.append( (sal_Int64)(nEndPos-nStartPos) ); in emitFonts()
4203 aLine.append( "\nendobj\n\n" ); in emitFonts()
4215 aLine.append( nFontObject ); in emitFonts()
4217 aLine.append( " 0 obj\n" ); in emitFonts()
4218 aLine.append( ((aSubsetInfo.m_nFontType & FontSubsetInfo::ANY_TYPE1) != 0) ? in emitFonts()
4222 aLine.append( "\n" in emitFonts()
4225 aLine.append( (sal_Int32)(nGlyphs-1) ); in emitFonts()
4226 aLine.append( "\n" in emitFonts()
4230 aLine.append( pWidths[ i ] ); in emitFonts()
4231 aLine.append( ((i & 15) == 15) ? "\n" : " " ); in emitFonts()
4233 aLine.append( "]\n" in emitFonts()
4235 aLine.append( nFontDescriptor ); in emitFonts()
4236 aLine.append( " 0 R\n" ); in emitFonts()
4239 aLine.append( "/ToUnicode " ); in emitFonts()
4240 aLine.append( nToUnicodeStream ); in emitFonts()
4241 aLine.append( " 0 R\n" ); in emitFonts()
4243 aLine.append( ">>\n" in emitFonts()
4253 aErrorComment.append( "CreateFontSubset failed for font \"" ); in emitFonts()
4254 … aErrorComment.append( OUStringToOString( pFont->GetFamilyName(), RTL_TEXTENCODING_UTF8 ) ); in emitFonts()
4255 aErrorComment.append( '\"' ); in emitFonts()
4257 aErrorComment.append( " italic" ); in emitFonts()
4259 aErrorComment.append( " oblique" ); in emitFonts()
4260 aErrorComment.append( " weight=" ); in emitFonts()
4261 aErrorComment.append( sal_Int32(pFont->GetWeight()) ); in emitFonts()
4291 aFontDict.append( getFontDictObject() ); in emitFonts()
4292 aFontDict.append( " 0 obj\n" in emitFonts()
4297 aFontDict.append( "/F" ); in emitFonts()
4298 aFontDict.append( mit->first ); in emitFonts()
4299 aFontDict.append( ' ' ); in emitFonts()
4300 aFontDict.append( mit->second ); in emitFonts()
4301 aFontDict.append( " 0 R" ); in emitFonts()
4303 aFontDict.append( '\n' ); in emitFonts()
4313 aFontDict.append( "\n>>\nendobj\n\n" ); in emitFonts()
4337 aLine.append( nResourceDict ); in emitResources()
4338 aLine.append( " 0 obj\n" ); in emitResources()
4339 m_aGlobalResourceDict.append( aLine, getFontDictObject() ); in emitResources()
4340 aLine.append( "endobj\n\n" ); in emitResources()
4429 aLine.append( rItem.m_nObject ); in emitOutline()
4430 aLine.append( " 0 obj\n" ); in emitOutline()
4431 aLine.append( "<<" ); in emitOutline()
4435 aLine.append( "/Count " ); in emitOutline()
4436 aLine.append( aCounts[i] ); in emitOutline()
4441 aLine.append( "/First " ); in emitOutline()
4442 aLine.append( m_aOutline[rItem.m_aChildren.front()].m_nObject ); in emitOutline()
4443 aLine.append( " 0 R/Last " ); in emitOutline()
4444 aLine.append( m_aOutline[rItem.m_aChildren.back()].m_nObject ); in emitOutline()
4445 aLine.append( " 0 R\n" ); in emitOutline()
4450 aLine.append( "/Title" ); in emitOutline()
4452 aLine.append( "\n" ); in emitOutline()
4456 aLine.append( "/Dest" ); in emitOutline()
4459 aLine.append( "/Parent " ); in emitOutline()
4460 aLine.append( rItem.m_nParentObject ); in emitOutline()
4461 aLine.append( " 0 R" ); in emitOutline()
4464 aLine.append( "/Prev " ); in emitOutline()
4465 aLine.append( rItem.m_nPrevObject ); in emitOutline()
4466 aLine.append( " 0 R" ); in emitOutline()
4470 aLine.append( "/Next " ); in emitOutline()
4471 aLine.append( rItem.m_nNextObject ); in emitOutline()
4472 aLine.append( " 0 R" ); in emitOutline()
4475 aLine.append( ">>\nendobj\n\n" ); in emitOutline()
4499 rBuffer.append( '[' ); in appendDest()
4500 rBuffer.append( rDestPage.m_nPageObject ); in appendDest()
4501 rBuffer.append( " 0 R" ); in appendDest()
4507 rBuffer.append( "/XYZ " ); in appendDest()
4509 rBuffer.append( ' ' ); in appendDest()
4511 rBuffer.append( " 0" ); in appendDest()
4514 rBuffer.append( "/Fit" ); in appendDest()
4517 rBuffer.append( "/FitR " ); in appendDest()
4519 rBuffer.append( ' ' ); in appendDest()
4521 rBuffer.append( ' ' ); in appendDest()
4523 rBuffer.append( ' ' ); in appendDest()
4527 rBuffer.append( "/FitH " ); in appendDest()
4531 rBuffer.append( "/FitV " ); in appendDest()
4535 rBuffer.append( "/FitB" ); in appendDest()
4538 rBuffer.append( "/FitBH " ); in appendDest()
4542 rBuffer.append( "/FitBV " ); in appendDest()
4546 rBuffer.append( ']' ); in appendDest()
4561 aLine.append( rLink.m_nObject ); in emitLinkAnnotations()
4562 aLine.append( " 0 obj\n" ); in emitLinkAnnotations()
4565 aLine.append( "<</Type/Annot" ); in emitLinkAnnotations()
4567 aLine.append( "/F 4" ); in emitLinkAnnotations()
4568 aLine.append( "/Subtype/Link/Border[0 0 0]/Rect[" ); in emitLinkAnnotations()
4571 aLine.append( ' ' ); in emitLinkAnnotations()
4573 aLine.append( ' ' ); in emitLinkAnnotations()
4575 aLine.append( ' ' ); in emitLinkAnnotations()
4577 aLine.append( "]" ); in emitLinkAnnotations()
4580 aLine.append( "/Dest" ); in emitLinkAnnotations()
4670 aLine.append( "/A<</Type/Action/S"); in emitLinkAnnotations()
4673 aLine.append( "/Launch/Win<</F" ); in emitLinkAnnotations()
4676 aLine.append( ">>" ); in emitLinkAnnotations()
4694 aLine.append( "/URI/URI" ); in emitLinkAnnotations()
4706 aLine.append( "/URI/URI" ); in emitLinkAnnotations()
4709 aLine.append( "/Launch/F" ); in emitLinkAnnotations()
4719 aLine.append("/GoToR"); in emitLinkAnnotations()
4720 aLine.append("/F"); in emitLinkAnnotations()
4728 aLine.append("/D/"); in emitLinkAnnotations()
4757 aLine.append( ">>\n" ); in emitLinkAnnotations()
4761 aLine.append( "/StructParent " ); in emitLinkAnnotations()
4762 aLine.append( rLink.m_nStructParent ); in emitLinkAnnotations()
4764 aLine.append( ">>\nendobj\n\n" ); in emitLinkAnnotations()
4782 aLine.append( rNote.m_nObject ); in emitNoteAnnotations()
4783 aLine.append( " 0 obj\n" ); in emitNoteAnnotations()
4786 aLine.append( "<</Type/Annot" ); in emitNoteAnnotations()
4788 aLine.append( "/F 4" ); in emitNoteAnnotations()
4789 aLine.append( "/Subtype/Text/Rect[" ); in emitNoteAnnotations()
4792 aLine.append( ' ' ); in emitNoteAnnotations()
4794 aLine.append( ' ' ); in emitNoteAnnotations()
4796 aLine.append( ' ' ); in emitNoteAnnotations()
4798 aLine.append( "]" ); in emitNoteAnnotations()
4801 aLine.append( "/Contents\n" ); in emitNoteAnnotations()
4803 aLine.append( "\n" ); in emitNoteAnnotations()
4808 aLine.append( "/T" ); in emitNoteAnnotations()
4810 aLine.append( "\n" ); in emitNoteAnnotations()
4813 aLine.append( ">>\nendobj\n\n" ); in emitNoteAnnotations()
4914 aDA.append( ' ' ); in createDefaultPushButtonAppearance()
4915 aDA.append( m_aBuiltinFonts[nDummyBuiltin].getNameObject() ); in createDefaultPushButtonAppearance()
4916 aDA.append( ' ' ); in createDefaultPushButtonAppearance()
4918 aDA.append( " Tf" ); in createDefaultPushButtonAppearance()
5005 aDA.append( ' ' ); in createDefaultEditAppearance()
5008 aDA.append( "/F" ); in createDefaultEditAppearance()
5009 aDA.append( nBest ); in createDefaultEditAppearance()
5012 aDR.append( "/Font " ); in createDefaultEditAppearance()
5013 aDR.append( getFontDictObject() ); in createDefaultEditAppearance()
5014 aDR.append( " 0 R" ); in createDefaultEditAppearance()
5018 aDA.append( m_aBuiltinFonts[nBest].getNameObject() ); in createDefaultEditAppearance()
5019 aDA.append( ' ' ); in createDefaultEditAppearance()
5021 aDA.append( " Tf" ); in createDefaultEditAppearance()
5032 aAppearance.append( "/Tx BMC\nEMC\n" ); in createDefaultEditAppearance()
5067 aAppearance.append( " w\n" ); in createDefaultListBoxAppearance()
5078 aAppearance.append( "/Tx BMC\nEMC\n" ); in createDefaultListBoxAppearance()
5097 aDA.append( " 2 Tr " ); in createDefaultListBoxAppearance()
5102 aDA.append( ' ' ); in createDefaultListBoxAppearance()
5105 aDA.append( "/F" ); in createDefaultListBoxAppearance()
5106 aDA.append( nBest ); in createDefaultListBoxAppearance()
5109 aDR.append( "/Font " ); in createDefaultListBoxAppearance()
5110 aDR.append( getFontDictObject() ); in createDefaultListBoxAppearance()
5111 aDR.append( " 0 R" ); in createDefaultListBoxAppearance()
5115 aDA.append( m_aBuiltinFonts[nBest].getNameObject() ); in createDefaultListBoxAppearance()
5116 aDA.append( ' ' ); in createDefaultListBoxAppearance()
5118 aDA.append( " Tf" ); in createDefaultListBoxAppearance()
5189 aLW.append( "q " ); in createDefaultCheckBoxAppearance()
5191 aLW.append( " w " ); in createDefaultCheckBoxAppearance()
5203 aDA.append( ' ' ); in createDefaultCheckBoxAppearance()
5204 aDA.append( m_aBuiltinFonts[nBest].getNameObject() ); in createDefaultCheckBoxAppearance()
5205 aDA.append( " 0 Tf" ); in createDefaultCheckBoxAppearance()
5223 aDA.append( "/Tx BMC\nq BT\n" ); in createDefaultCheckBoxAppearance()
5225 aDA.append( ' ' ); in createDefaultCheckBoxAppearance()
5226 aDA.append( m_aBuiltinFonts[nBest].getNameObject() ); in createDefaultCheckBoxAppearance()
5227 aDA.append( ' ' ); in createDefaultCheckBoxAppearance()
5229 aDA.append( " Tf\n" ); in createDefaultCheckBoxAppearance()
5231 aDA.append( " " ); in createDefaultCheckBoxAppearance()
5233 aDA.append( " Td (" ); in createDefaultCheckBoxAppearance()
5234 aDA.append( cMark ); in createDefaultCheckBoxAppearance()
5235 aDA.append( ") Tj\nET\nQ\nEMC\n" ); in createDefaultCheckBoxAppearance()
5314 aLW.append( "q " ); in createDefaultRadioButtonAppearance()
5316 aLW.append( " w " ); in createDefaultRadioButtonAppearance()
5328 aDA.append( ' ' ); in createDefaultRadioButtonAppearance()
5329 aDA.append( m_aBuiltinFonts[nBest].getNameObject() ); in createDefaultRadioButtonAppearance()
5330 aDA.append( " 0 Tf" ); in createDefaultRadioButtonAppearance()
5344 aDA.append( "/Tx BMC\nq BT\n" ); in createDefaultRadioButtonAppearance()
5346 aDA.append( ' ' ); in createDefaultRadioButtonAppearance()
5347 aDA.append( m_aBuiltinFonts[nBest].getNameObject() ); in createDefaultRadioButtonAppearance()
5348 aDA.append( ' ' ); in createDefaultRadioButtonAppearance()
5350 aDA.append( " Tf\n0 0 Td\nET\nQ\n" ); in createDefaultRadioButtonAppearance()
5388 rAnnotDict.append( "/AP<<\n" ); in emitAppearances()
5391 rAnnotDict.append( "/" ); in emitAppearances()
5392 rAnnotDict.append( dict_it->first ); in emitAppearances()
5394 rAnnotDict.append( bUseSubDict ? "<<" : " " ); in emitAppearances()
5413 aLine.append( nObject ); in emitAppearances()
5415 aLine.append( " 0 obj\n" in emitAppearances()
5420 aLine.append( " " ); in emitAppearances()
5422 aLine.append( "]\n" in emitAppearances()
5424 aLine.append( getResourceDictObj() ); in emitAppearances()
5425 aLine.append( " 0 R\n" in emitAppearances()
5427 aLine.append( nStreamLen ); in emitAppearances()
5428 aLine.append( "\n" ); in emitAppearances()
5430 aLine.append( "/Filter/FlateDecode\n" ); in emitAppearances()
5431 aLine.append( ">>\nstream\n" ); in emitAppearances()
5440 rAnnotDict.append( " /" ); in emitAppearances()
5441 rAnnotDict.append( stream_it->first ); in emitAppearances()
5442 rAnnotDict.append( " " ); in emitAppearances()
5444 rAnnotDict.append( nObject ); in emitAppearances()
5445 rAnnotDict.append( " 0 R" ); in emitAppearances()
5450 rAnnotDict.append( bUseSubDict ? ">>\n" : "\n" ); in emitAppearances()
5452 rAnnotDict.append( ">>\n" ); in emitAppearances()
5455 rAnnotDict.append( "/AS /" ); in emitAppearances()
5456 rAnnotDict.append( aStandardAppearance ); in emitAppearances()
5457 rAnnotDict.append( "\n" ); in emitAppearances()
5475 aLine.append( rWidget.m_nObject ); in emitWidgetAnnotations()
5476 aLine.append( " 0 obj\n" in emitWidgetAnnotations()
5483 aLine.append( "/Type/Annot/Subtype/Widget/F 4\n" in emitWidgetAnnotations()
5486 aLine.append( ' ' ); in emitWidgetAnnotations()
5488 aLine.append( ' ' ); in emitWidgetAnnotations()
5490 aLine.append( ' ' ); in emitWidgetAnnotations()
5492 aLine.append( "]\n" ); in emitWidgetAnnotations()
5494 aLine.append( "/FT/" ); in emitWidgetAnnotations()
5506 aValue.append( "/" ); in emitWidgetAnnotations()
5509 aValue.append( "Off" ); in emitWidgetAnnotations()
5514 aLine.append( "Btn" ); in emitWidgetAnnotations()
5519 aValue.append( "[" ); in emitWidgetAnnotations()
5526 aValue.append( "]" ); in emitWidgetAnnotations()
5536 aLine.append( "Ch" ); in emitWidgetAnnotations()
5540 aLine.append( "Ch" ); in emitWidgetAnnotations()
5543 aLine.append( "Tx" ); in emitWidgetAnnotations()
5549 aLine.append( "\n" ); in emitWidgetAnnotations()
5550 aLine.append( "/P " ); in emitWidgetAnnotations()
5551 aLine.append( m_aPages[ rWidget.m_nPage ].m_nPageObject ); in emitWidgetAnnotations()
5552 aLine.append( " 0 R\n" ); in emitWidgetAnnotations()
5556 aLine.append( "/Parent " ); in emitWidgetAnnotations()
5557 aLine.append( rWidget.m_nParent ); in emitWidgetAnnotations()
5558 aLine.append( " 0 R\n" ); in emitWidgetAnnotations()
5562 aLine.append( "/Kids[" ); in emitWidgetAnnotations()
5565 aLine.append( rWidget.m_aKids[i] ); in emitWidgetAnnotations()
5566 aLine.append( " 0 R" ); in emitWidgetAnnotations()
5567 aLine.append( ( (i&15) == 15 ) ? "\n" : " " ); in emitWidgetAnnotations()
5569 aLine.append( "]\n" ); in emitWidgetAnnotations()
5573 aLine.append( "/T" ); in emitWidgetAnnotations()
5575 aLine.append( "\n" ); in emitWidgetAnnotations()
5581 aLine.append( "/TU" ); in emitWidgetAnnotations()
5583 aLine.append( "\n" ); in emitWidgetAnnotations()
5588 aLine.append( "/Ff " ); in emitWidgetAnnotations()
5589 aLine.append( rWidget.m_nFlags ); in emitWidgetAnnotations()
5590 aLine.append( "\n" ); in emitWidgetAnnotations()
5595 aLine.append( "/V " ); in emitWidgetAnnotations()
5596 aLine.append( aVal ); in emitWidgetAnnotations()
5597 aLine.append( "\n" in emitWidgetAnnotations()
5599 aLine.append( aVal ); in emitWidgetAnnotations()
5600 aLine.append( "\n" ); in emitWidgetAnnotations()
5605 aLine.append( "/Opt[\n" ); in emitWidgetAnnotations()
5610 aLine.append( "\n" ); in emitWidgetAnnotations()
5614 aLine.append( "]\n" ); in emitWidgetAnnotations()
5617 aLine.append( "/TI " ); in emitWidgetAnnotations()
5618 aLine.append( nTI ); in emitWidgetAnnotations()
5619 aLine.append( "\n" ); in emitWidgetAnnotations()
5622 aLine.append( "/I [" ); in emitWidgetAnnotations()
5623 aLine.append( nTI ); in emitWidgetAnnotations()
5624 aLine.append( "]\n" ); in emitWidgetAnnotations()
5630 aLine.append( "/MaxLen " ); in emitWidgetAnnotations()
5631 aLine.append( rWidget.m_nMaxLen ); in emitWidgetAnnotations()
5632 aLine.append( "\n" ); in emitWidgetAnnotations()
5641 aLine.append( "/AA<</D<</Type/Action/S/GoTo/D " ); in emitWidgetAnnotations()
5642 aLine.append( aDest.makeStringAndClear() ); in emitWidgetAnnotations()
5643 aLine.append( ">>>>\n" ); in emitWidgetAnnotations()
5648 aLine.append( "/AA<</D<</Type/Action/S/ResetForm>>>>\n" ); in emitWidgetAnnotations()
5653 aLine.append( "/AA<</D<</Type/Action/S/SubmitForm/F" ); in emitWidgetAnnotations()
5655 aLine.append( "/Flags " ); in emitWidgetAnnotations()
5677 aLine.append( nFlags ); in emitWidgetAnnotations()
5678 aLine.append( ">>>>\n" ); in emitWidgetAnnotations()
5683 aLine.append( "/AA<</D<</Type/Action/S/URI/URI(" ); in emitWidgetAnnotations()
5684 … aLine.append( OUStringToOString( rWidget.m_aListEntries.front(), RTL_TEXTENCODING_ASCII_US ) ); in emitWidgetAnnotations()
5685 aLine.append( ")>>>>\n" ); in emitWidgetAnnotations()
5695 aLine.append( "/DR<<" ); in emitWidgetAnnotations()
5696 aLine.append( rWidget.m_aDRDict ); in emitWidgetAnnotations()
5697 aLine.append( ">>\n" ); in emitWidgetAnnotations()
5701 aLine.append( "/DR<</Font<<" ); in emitWidgetAnnotations()
5703 aLine.append( ">>>>\n" ); in emitWidgetAnnotations()
5705 aLine.append( "/DA" ); in emitWidgetAnnotations()
5707 aLine.append( "\n" ); in emitWidgetAnnotations()
5709 aLine.append( "/Q 1\n" ); in emitWidgetAnnotations()
5711 aLine.append( "/Q 2\n" ); in emitWidgetAnnotations()
5718 aLine.append( "/MK<<" ); in emitWidgetAnnotations()
5719 aLine.append( rWidget.m_aMKDict ); in emitWidgetAnnotations()
5722 aLine.append( ">>\n" ); in emitWidgetAnnotations()
5727 aLine.append( ">>\n" in emitWidgetAnnotations()
5793 aLine.append( nTreeNode ); in emitCatalog()
5794 aLine.append( " 0 obj\n" ); in emitCatalog()
5795 aLine.append( "<</Type/Pages\n" ); in emitCatalog()
5796 aLine.append( "/Resources " ); in emitCatalog()
5797 aLine.append( getResourceDictObj() ); in emitCatalog()
5798 aLine.append( " 0 R\n" ); in emitCatalog()
5802 case PDFWriter::Landscape: aLine.append( "/Rotate 90\n" );break; in emitCatalog()
5803 case PDFWriter::Seascape: aLine.append( "/Rotate -90\n" );break; in emitCatalog()
5827 aLine.append( "/MediaBox[ 0 0 " ); in emitCatalog()
5828 aLine.append( nMediaBoxWidth ); in emitCatalog()
5829 aLine.append( ' ' ); in emitCatalog()
5830 aLine.append( nMediaBoxHeight ); in emitCatalog()
5831 aLine.append( " ]\n" in emitCatalog()
5836 aLine.append( iter->m_nPageObject ); in emitCatalog()
5837 aLine.append( " 0 R" ); in emitCatalog()
5838 aLine.append( ( (i&15) == 15 ) ? "\n" : " " ); in emitCatalog()
5840 aLine.append( "]\n" in emitCatalog()
5842 aLine.append( (sal_Int32)m_aPages.size() ); in emitCatalog()
5843 aLine.append( ">>\n" in emitCatalog()
5855 aLine.append( m_nCatalogObject ); in emitCatalog()
5856 aLine.append( " 0 obj\n" in emitCatalog()
5858 aLine.append( nTreeNode ); in emitCatalog()
5859 aLine.append( " 0 R\n" ); in emitCatalog()
5864 aLine.append("/Dests "); in emitCatalog()
5865 aLine.append( nNamedDestinationsDictionary ); in emitCatalog()
5866 aLine.append( " 0 R\n" ); in emitCatalog()
5874 aLine.append( "/PageLayout/SinglePage\n" ); in emitCatalog()
5877 aLine.append( "/PageLayout/OneColumn\n" ); in emitCatalog()
5881 aLine.append( "/PageLayout/TwoColumnRight\n" );//odd page on the right side in emitCatalog()
5888 aLine.append( "/PageMode/UseNone\n" ); in emitCatalog()
5891 aLine.append( "/PageMode/UseOutlines\n" ); //document is opened with outline pane open in emitCatalog()
5894 aLine.append( "/PageMode/UseThumbs\n" ); //document is opened with thumbnails pane open in emitCatalog()
5898 aLine.append( "/PageMode/FullScreen\n" ); //document is opened full screen in emitCatalog()
5903 aInitPageRef.append( m_aPages[m_aContext.InitialPage].m_nPageObject ); in emitCatalog()
5904 aInitPageRef.append( " 0 R" ); in emitCatalog()
5907 aInitPageRef.append( "0" ); in emitCatalog()
5914 aLine.append( "/OpenAction[" ); in emitCatalog()
5915 aLine.append( aInitPageRef ); in emitCatalog()
5916 aLine.append( " /XYZ null null 0]\n" ); in emitCatalog()
5920 aLine.append( "/OpenAction[" ); in emitCatalog()
5921 aLine.append( aInitPageRef ); in emitCatalog()
5922 aLine.append( " /Fit]\n" ); //Open fit page in emitCatalog()
5925 aLine.append( "/OpenAction[" ); in emitCatalog()
5926 aLine.append( aInitPageRef ); in emitCatalog()
5927 aLine.append( " /FitH " ); in emitCatalog()
5928 aLine.append( m_nInheritedPageHeight );//Open fit width in emitCatalog()
5929 aLine.append( "]\n" ); in emitCatalog()
5932 aLine.append( "/OpenAction[" ); in emitCatalog()
5933 aLine.append( aInitPageRef ); in emitCatalog()
5934 aLine.append( " /FitBH " ); in emitCatalog()
5935 aLine.append( m_nInheritedPageHeight );//Open fit visible in emitCatalog()
5936 aLine.append( "]\n" ); in emitCatalog()
5939 aLine.append( "/OpenAction[" ); in emitCatalog()
5940 aLine.append( aInitPageRef ); in emitCatalog()
5941 aLine.append( " /XYZ null null " ); in emitCatalog()
5943 aLine.append( (double)m_aContext.Zoom/100.0 ); in emitCatalog()
5945 aLine.append( "0" ); in emitCatalog()
5946 aLine.append( "]\n" ); in emitCatalog()
5957 aLine.append( "/ViewerPreferences<<" ); in emitCatalog()
5959 aLine.append( "/HideToolbar true\n" ); in emitCatalog()
5961 aLine.append( "/HideMenubar true\n" ); in emitCatalog()
5963 aLine.append( "/HideWindowUI true\n" ); in emitCatalog()
5965 aLine.append( "/FitWindow true\n" ); in emitCatalog()
5967 aLine.append( "/CenterWindow true\n" ); in emitCatalog()
5969 aLine.append( "/DisplayDocTitle true\n" ); in emitCatalog()
5971 aLine.append( "/Direction/R2L\n" ); in emitCatalog()
5977 aLine.append( "/NonFullScreenPageMode/UseNone\n" ); in emitCatalog()
5980 aLine.append( "/NonFullScreenPageMode/UseOutlines\n" ); in emitCatalog()
5983 aLine.append( "/NonFullScreenPageMode/UseThumbs\n" ); in emitCatalog()
5986 aLine.append( ">>\n" ); in emitCatalog()
5991 aLine.append( "/Outlines " ); in emitCatalog()
5992 aLine.append( nOutlineDict ); in emitCatalog()
5993 aLine.append( " 0 R\n" ); in emitCatalog()
5997 aLine.append( "/StructTreeRoot " ); in emitCatalog()
5998 aLine.append( nStructureDict ); in emitCatalog()
5999 aLine.append( " 0 R\n" ); in emitCatalog()
6004 aLocBuf.append( m_aContext.DocumentLocale.Language.toAsciiLowerCase() ); in emitCatalog()
6007 aLocBuf.append( sal_Unicode('-') ); in emitCatalog()
6008 aLocBuf.append( m_aContext.DocumentLocale.Country ); in emitCatalog()
6010 aLine.append( "/Lang" ); in emitCatalog()
6012 aLine.append( "\n" ); in emitCatalog()
6016 aLine.append( "/MarkInfo<</Marked true>>\n" ); in emitCatalog()
6020 aLine.append( "/AcroForm<</Fields[\n" ); in emitCatalog()
6028 aLine.append( m_aWidgets[j].m_nObject ); in emitCatalog()
6029 aLine.append( (nOut++ % 5)==4 ? " 0 R\n" : " 0 R " ); in emitCatalog()
6032 aLine.append( "\n]/DR " ); in emitCatalog()
6033 aLine.append( getResourceDictObj() ); in emitCatalog()
6034 aLine.append( " 0 R" ); in emitCatalog()
6036 aLine.append( ">>\n" ); in emitCatalog()
6038 aLine.append( "/NeedAppearances true>>\n" ); in emitCatalog()
6044 aLine.append("/OutputIntents["); in emitCatalog()
6045 aLine.append( nOutputIntentObject ); in emitCatalog()
6046 aLine.append( " 0 R]" ); in emitCatalog()
6050 aLine.append("/Metadata "); in emitCatalog()
6051 aLine.append( nMetadataObject ); in emitCatalog()
6052 aLine.append( " 0 R" ); in emitCatalog()
6055 aLine.append( ">>\n" in emitCatalog()
6069 aLine.append( nObject ); in emitInfoDict()
6070 aLine.append( " 0 obj\n" in emitInfoDict()
6074 aLine.append( "/Title" ); in emitInfoDict()
6076 aLine.append( "\n" ); in emitInfoDict()
6080 aLine.append( "/Author" ); in emitInfoDict()
6082 aLine.append( "\n" ); in emitInfoDict()
6086 aLine.append( "/Subject" ); in emitInfoDict()
6088 aLine.append( "\n" ); in emitInfoDict()
6092 aLine.append( "/Keywords" ); in emitInfoDict()
6094 aLine.append( "\n" ); in emitInfoDict()
6098 aLine.append( "/Creator" ); in emitInfoDict()
6100 aLine.append( "\n" ); in emitInfoDict()
6104 aLine.append( "/Producer" ); in emitInfoDict()
6106 aLine.append( "\n" ); in emitInfoDict()
6109 aLine.append( "/CreationDate" ); in emitInfoDict()
6111 aLine.append( ">>\nendobj\n\n" ); in emitInfoDict()
6137 aLine.append( nObject ); in emitNamedDestinations()
6138 aLine.append( " 0 obj\n" in emitNamedDestinations()
6157 aLine.append( '/' ); in emitNamedDestinations()
6159 …aLine.append( '[' ); // the '[' can be emitted immediately, because the appendDestinationName func… in emitNamedDestinations()
6161 aLine.append( rDestPage.m_nPageObject ); in emitNamedDestinations()
6162 aLine.append( " 0 R" ); in emitNamedDestinations()
6168 aLine.append( "/XYZ " ); in emitNamedDestinations()
6170 aLine.append( ' ' ); in emitNamedDestinations()
6172 aLine.append( " 0" ); in emitNamedDestinations()
6175 aLine.append( "/Fit" ); in emitNamedDestinations()
6178 aLine.append( "/FitR " ); in emitNamedDestinations()
6180 aLine.append( ' ' ); in emitNamedDestinations()
6182 aLine.append( ' ' ); in emitNamedDestinations()
6184 aLine.append( ' ' ); in emitNamedDestinations()
6188 aLine.append( "/FitH " ); in emitNamedDestinations()
6192 aLine.append( "/FitV " ); in emitNamedDestinations()
6196 aLine.append( "/FitB" ); in emitNamedDestinations()
6199 aLine.append( "/FitBH " ); in emitNamedDestinations()
6203 aLine.append( "/FitBV " ); in emitNamedDestinations()
6207 aLine.append( "]\n" ); in emitNamedDestinations()
6211 aLine.append( ">>\nendobj\n\n" ); in emitNamedDestinations()
6236 aLine.append( nICCObject ); in emitOutputIntent()
6238 aLine.append( " 0 obj\n<</N 3/Length " ); in emitOutputIntent()
6239 aLine.append( nStreamLengthObject ); in emitOutputIntent()
6240 aLine.append( " 0 R" ); in emitOutputIntent()
6242 aLine.append( "/Filter/FlateDecode" ); in emitOutputIntent()
6244 aLine.append( ">>\nstream\n" ); in emitOutputIntent()
6267 aLine.append( nStreamLengthObject ); in emitOutputIntent()
6268 aLine.append( " 0 obj\n" ); in emitOutputIntent()
6269 aLine.append( (sal_Int64)(nEndStreamPos-nBeginStreamPos) ); in emitOutputIntent()
6270 aLine.append( "\nendobj\n\n" ); in emitOutputIntent()
6277 aLine.append( nOIObject ); in emitOutputIntent()
6278 aLine.append( " 0 obj\n" in emitOutputIntent()
6283 aLine.append("/DestOutputProfile "); in emitOutputIntent()
6284 aLine.append( nICCObject ); in emitOutputIntent()
6285 aLine.append( " 0 R>>\nendobj\n\n" );; in emitOutputIntent()
6337 aMetadataStream.append( "<?xpacket begin=\"" ); in emitDocumentMetadata()
6340 …aMetadataStream.append( OUStringToOString( OUString( sal_Unicode( 0xFEFF ) ), RTL_TEXTENCODING_UTF… in emitDocumentMetadata()
6341 aMetadataStream.append( "\" id=\"W5M0MpCehiHzreSzNTczkc9d\"?>\n" ); in emitDocumentMetadata()
6342 aMetadataStream.append( "<x:xmpmeta xmlns:x=\"adobe:ns:meta/\">\n" ); in emitDocumentMetadata()
6343 …aMetadataStream.append( " <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n" ); in emitDocumentMetadata()
6345 aMetadataStream.append( " <rdf:Description rdf:about=\"\"\n" ); in emitDocumentMetadata()
6346 aMetadataStream.append( " xmlns:pdfaid=\"http://www.aiim.org/pdfa/ns/id/\">\n" ); in emitDocumentMetadata()
6347 aMetadataStream.append( " <pdfaid:part>1</pdfaid:part>\n" ); in emitDocumentMetadata()
6348 aMetadataStream.append( " <pdfaid:conformance>A</pdfaid:conformance>\n" ); in emitDocumentMetadata()
6349 aMetadataStream.append( " </rdf:Description>\n" ); in emitDocumentMetadata()
6355 aMetadataStream.append( " <rdf:Description rdf:about=\"\"\n" ); in emitDocumentMetadata()
6356 aMetadataStream.append( " xmlns:dc=\"http://purl.org/dc/elements/1.1/\">\n" ); in emitDocumentMetadata()
6360 aMetadataStream.append( " <dc:title>\n" ); in emitDocumentMetadata()
6361 aMetadataStream.append( " <rdf:Alt>\n" ); in emitDocumentMetadata()
6362 aMetadataStream.append( " <rdf:li xml:lang=\"x-default\">" ); in emitDocumentMetadata()
6365 aMetadataStream.append( OUStringToOString( aTitle, RTL_TEXTENCODING_UTF8 ) ); in emitDocumentMetadata()
6366 aMetadataStream.append( "</rdf:li>\n" ); in emitDocumentMetadata()
6367 aMetadataStream.append( " </rdf:Alt>\n" ); in emitDocumentMetadata()
6368 aMetadataStream.append( " </dc:title>\n" ); in emitDocumentMetadata()
6372 aMetadataStream.append( " <dc:creator>\n" ); in emitDocumentMetadata()
6373 aMetadataStream.append( " <rdf:Seq>\n" ); in emitDocumentMetadata()
6374 aMetadataStream.append( " <rdf:li>" ); in emitDocumentMetadata()
6377 aMetadataStream.append( OUStringToOString( aAuthor , RTL_TEXTENCODING_UTF8 ) ); in emitDocumentMetadata()
6378 aMetadataStream.append( "</rdf:li>\n" ); in emitDocumentMetadata()
6379 aMetadataStream.append( " </rdf:Seq>\n" ); in emitDocumentMetadata()
6380 aMetadataStream.append( " </dc:creator>\n" ); in emitDocumentMetadata()
6385 aMetadataStream.append( " <dc:description>\n" ); in emitDocumentMetadata()
6386 aMetadataStream.append( " <rdf:Alt>\n" ); in emitDocumentMetadata()
6387 aMetadataStream.append( " <rdf:li xml:lang=\"x-default\">" ); in emitDocumentMetadata()
6390 aMetadataStream.append( OUStringToOString( aSubject , RTL_TEXTENCODING_UTF8 ) ); in emitDocumentMetadata()
6391 aMetadataStream.append( "</rdf:li>\n" ); in emitDocumentMetadata()
6392 aMetadataStream.append( " </rdf:Alt>\n" ); in emitDocumentMetadata()
6393 aMetadataStream.append( " </dc:description>\n" ); in emitDocumentMetadata()
6395 aMetadataStream.append( " </rdf:Description>\n" ); in emitDocumentMetadata()
6402 aMetadataStream.append( " <rdf:Description rdf:about=\"\"\n" ); in emitDocumentMetadata()
6403 aMetadataStream.append( " xmlns:pdf=\"http://ns.adobe.com/pdf/1.3/\">\n" ); in emitDocumentMetadata()
6406 aMetadataStream.append( " <pdf:Producer>" ); in emitDocumentMetadata()
6409 aMetadataStream.append( OUStringToOString( aProducer , RTL_TEXTENCODING_UTF8 ) ); in emitDocumentMetadata()
6410 aMetadataStream.append( "</pdf:Producer>\n" ); in emitDocumentMetadata()
6414 aMetadataStream.append( " <pdf:Keywords>" ); in emitDocumentMetadata()
6417 aMetadataStream.append( OUStringToOString( aKeywords , RTL_TEXTENCODING_UTF8 ) ); in emitDocumentMetadata()
6418 aMetadataStream.append( "</pdf:Keywords>\n" ); in emitDocumentMetadata()
6420 aMetadataStream.append( " </rdf:Description>\n" ); in emitDocumentMetadata()
6423 aMetadataStream.append( " <rdf:Description rdf:about=\"\"\n" ); in emitDocumentMetadata()
6424 aMetadataStream.append( " xmlns:xmp=\"http://ns.adobe.com/xap/1.0/\">\n" ); in emitDocumentMetadata()
6427 aMetadataStream.append( " <xmp:CreatorTool>" ); in emitDocumentMetadata()
6430 aMetadataStream.append( OUStringToOString( aCreator , RTL_TEXTENCODING_UTF8 ) ); in emitDocumentMetadata()
6431 aMetadataStream.append( "</xmp:CreatorTool>\n" ); in emitDocumentMetadata()
6434 aMetadataStream.append( " <xmp:CreateDate>" ); in emitDocumentMetadata()
6435 aMetadataStream.append( m_aCreationMetaDateString ); in emitDocumentMetadata()
6436 aMetadataStream.append( "</xmp:CreateDate>\n" ); in emitDocumentMetadata()
6438 aMetadataStream.append( " </rdf:Description>\n" ); in emitDocumentMetadata()
6439 aMetadataStream.append( " </rdf:RDF>\n" ); in emitDocumentMetadata()
6440 aMetadataStream.append( "</x:xmpmeta>\n" ); in emitDocumentMetadata()
6445 aMetadataStream.append( " " ); in emitDocumentMetadata()
6447 aMetadataStream.append( "\n" ); in emitDocumentMetadata()
6450 aMetadataStream.append( "<?xpacket end=\"w\"?>\n" ); in emitDocumentMetadata()
6454 aMetadataObj.append( nObject ); in emitDocumentMetadata()
6455 aMetadataObj.append( " 0 obj\n" ); in emitDocumentMetadata()
6457 aMetadataObj.append( "<</Type/Metadata/Subtype/XML/Length " ); in emitDocumentMetadata()
6459 aMetadataObj.append( (sal_Int32) aMetadataStream.getLength() ); in emitDocumentMetadata()
6460 aMetadataObj.append( ">>\nstream\n" ); in emitDocumentMetadata()
6466 aMetadataObj.append( "\nendstream\nendobj\n\n" ); in emitDocumentMetadata()
6495 aLineS.append( nSecObject ); in emitTrailer()
6496 aLineS.append( " 0 obj\n" in emitTrailer()
6500 aLineS.append( "2/Length 128/R 3" ); in emitTrailer()
6502 aLineS.append( "1/R 2" ); in emitTrailer()
6505 aLineS.append( "/O(" ); in emitTrailer()
6507 aLineS.append( ")/U(" ); in emitTrailer()
6509 aLineS.append( ")/P " );// the permission set in emitTrailer()
6510 aLineS.append( m_nAccessPermissions ); in emitTrailer()
6511 aLineS.append( ">>\nendobj\n\n" ); in emitTrailer()
6526 aLine.append( "0 " ); in emitTrailer()
6527 aLine.append( (sal_Int32)(nObjects+1) ); in emitTrailer()
6528 aLine.append( "\n" ); in emitTrailer()
6529 aLine.append( "0000000000 65535 f \n" ); in emitTrailer()
6537 aLine.append( '0' ); in emitTrailer()
6538 aLine.append( aOffset ); in emitTrailer()
6539 aLine.append( " 00000 n \n" ); in emitTrailer()
6556 aLine.append( "trailer\n" in emitTrailer()
6558 aLine.append( (sal_Int32)(nObjects+1) ); in emitTrailer()
6559 aLine.append( "/Root " ); in emitTrailer()
6560 aLine.append( m_nCatalogObject ); in emitTrailer()
6561 aLine.append( " 0 R\n" ); in emitTrailer()
6564 aLine.append( "/Encrypt "); in emitTrailer()
6565 aLine.append( nSecObject ); in emitTrailer()
6566 aLine.append( " 0 R\n" ); in emitTrailer()
6570 aLine.append( "/Info " ); in emitTrailer()
6571 aLine.append( nDocInfoObject ); in emitTrailer()
6572 aLine.append( " 0 R\n" ); in emitTrailer()
6576 aLine.append( "/ID [ <" ); in emitTrailer()
6582 aLine.append( ">\n" in emitTrailer()
6589 aLine.append( "> ]\n" ); in emitTrailer()
6593 aLine.append( "/DocChecksum /" ); in emitTrailer()
6594 aLine.append( aDocChecksum ); in emitTrailer()
6595 aLine.append( "\n" ); in emitTrailer()
6599 aLine.append( "/AdditionalStreams [" ); in emitTrailer()
6602 aLine.append( "/" ); in emitTrailer()
6604 aLine.append( " " ); in emitTrailer()
6605 aLine.append( m_aAdditionalStreams[i].m_nStreamObject ); in emitTrailer()
6606 aLine.append( " 0 R\n" ); in emitTrailer()
6608 aLine.append( "]\n" ); in emitTrailer()
6610 aLine.append( ">>\n" in emitTrailer()
6612 aLine.append( (sal_Int64)nXRefOffset ); in emitTrailer()
6613 aLine.append( "\n" in emitTrailer()
6777 aLine.append( rStream.m_nStreamObject ); in emitAdditionalStreams()
6778 aLine.append( " 0 obj\n<</Length " ); in emitAdditionalStreams()
6779 aLine.append( nSizeObject ); in emitAdditionalStreams()
6780 aLine.append( " 0 R" ); in emitAdditionalStreams()
6782 aLine.append( "/Filter/FlateDecode" ); in emitAdditionalStreams()
6783 aLine.append( ">>\nstream\n" ); in emitAdditionalStreams()
6818 aLine.append( nSizeObject ); in emitAdditionalStreams()
6819 aLine.append( " 0 obj\n" ); in emitAdditionalStreams()
6820 aLine.append( (sal_Int64)(nEndStreamPos-nBeginStreamPos) ); in emitAdditionalStreams()
6821 aLine.append( "\nendobj\n\n" ); in emitAdditionalStreams()
7194 aMat.append( m_aPages.back(), rLine ); in drawVerticalGlyphs()
7195 rLine.append( " Tm" ); in drawVerticalGlyphs()
7198 rLine.append( " /F" ); in drawVerticalGlyphs()
7199 rLine.append( rGlyphs[i].m_nMappedFontId ); in drawVerticalGlyphs()
7200 rLine.append( ' ' ); in drawVerticalGlyphs()
7202 rLine.append( " Tf" ); in drawVerticalGlyphs()
7204 rLine.append( "<" ); in drawVerticalGlyphs()
7206 rLine.append( ">Tj\n" ); in drawVerticalGlyphs()
7256 rLine.append( " Td " ); in drawHorizontalGlyphs()
7265 aMat.append( m_aPages.back(), rLine ); in drawHorizontalGlyphs()
7266 rLine.append( " Tm\n" ); in drawHorizontalGlyphs()
7269 rLine.append( "/F" ); in drawHorizontalGlyphs()
7270 rLine.append( rGlyphs[nBeginRun].m_nMappedFontId ); in drawHorizontalGlyphs()
7271 rLine.append( ' ' ); in drawHorizontalGlyphs()
7273 rLine.append( " Tf" ); in drawHorizontalGlyphs()
7277 aKernedLine.append( "[<" ); in drawHorizontalGlyphs()
7278 aUnkernedLine.append( '<' ); in drawHorizontalGlyphs()
7297 aKernedLine.append( ">" ); in drawHorizontalGlyphs()
7298 aKernedLine.append( nAdjustment ); in drawHorizontalGlyphs()
7299 aKernedLine.append( "<" ); in drawHorizontalGlyphs()
7303 aKernedLine.append( ">]TJ\n" ); in drawHorizontalGlyphs()
7304 aUnkernedLine.append( ">Tj\n" ); in drawHorizontalGlyphs()
7305 rLine.append( bNeedKern ? aKernedLine : aUnkernedLine ); in drawHorizontalGlyphs()
7399 aLine.append( "q " ); in drawLayout()
7420 aLine.append( "q " ); in drawLayout()
7423 aLine.append( "\n" ); in drawLayout()
7428 aLine.append( "q " ); in drawLayout()
7431 aLine.append( "\n" ); in drawLayout()
7435 aLine.append( "BT\n" ); in drawLayout()
7440 aLine.append( "2 Tr " ); // fill, then stroke in drawLayout()
7446 aLine.append( "0.25 w \n" ); in drawLayout()
7452 aLine.append ( " w\n" ); in drawLayout()
7553 aLine.append( "ET\n" ); in drawLayout()
7555 aLine.append( "Q\n" ); in drawLayout()
7630 aLine.append( "q\n" ); in drawLayout()
7805 aLine.append( "q " ); in drawText()
7807 aLine.append( " W* n\n" ); in drawText()
7927 aLine.append( "Q\n" ); in drawText()
7942 aLine.append( " m " ); in drawLine()
7944 aLine.append( " l S\n" ); in drawLine()
7965 aLine.append( "q " ); in drawLine()
7969 aLine.append( " m " ); in drawLine()
7971 aLine.append( " l S Q\n" ); in drawLine()
7999 aLine.append( "q " ); in drawWaveLine()
8001 aLine.append( " w " ); in drawWaveLine()
8004 aLine.append( ' ' ); in drawWaveLine()
8006 aLine.append( ' ' ); in drawWaveLine()
8008 aLine.append( ' ' ); in drawWaveLine()
8010 aLine.append( ' ' ); in drawWaveLine()
8012 aLine.append( " cm " ); in drawWaveLine()
8014 aLine.append( "Q\n" ); in drawWaveLine()
8029 aLine.append( "\n" ); in drawWaveTextLine()
8056 aLine.append( " w " ); in drawWaveTextLine()
8171 aLine.append( " w " ); in drawStraightTextLine()
8173 aLine.append( "\n" ); in drawStraightTextLine()
8179 aLine.append( "[ " ); in drawStraightTextLine()
8181 aLine.append( " ] 0 d\n" ); in drawStraightTextLine()
8193 aLine.append( "[ " ); in drawStraightTextLine()
8195 aLine.append( ' ' ); in drawStraightTextLine()
8197 aLine.append( " ] 0 d\n" ); in drawStraightTextLine()
8205 aLine.append( "[ " ); in drawStraightTextLine()
8207 aLine.append( ' ' ); in drawStraightTextLine()
8209 aLine.append( ' ' ); in drawStraightTextLine()
8211 aLine.append( ' ' ); in drawStraightTextLine()
8213 aLine.append( " ] 0 d\n" ); in drawStraightTextLine()
8221 aLine.append( "[ " ); in drawStraightTextLine()
8223 aLine.append( ' ' ); in drawStraightTextLine()
8225 aLine.append( ' ' ); in drawStraightTextLine()
8227 aLine.append( ' ' ); in drawStraightTextLine()
8229 aLine.append( ' ' ); in drawStraightTextLine()
8231 aLine.append( ' ' ); in drawStraightTextLine()
8233 aLine.append( " ] 0 d\n" ); in drawStraightTextLine()
8240 aLine.append( "0 " ); in drawStraightTextLine()
8242 aLine.append( " m " ); in drawStraightTextLine()
8244 aLine.append( ' ' ); in drawStraightTextLine()
8246 aLine.append( " l S\n" ); in drawStraightTextLine()
8249 aLine.append( "0 " ); in drawStraightTextLine()
8251 aLine.append( " m " ); in drawStraightTextLine()
8253 aLine.append( ' ' ); in drawStraightTextLine()
8255 aLine.append( " l S\n" ); in drawStraightTextLine()
8299 aLine.append( " w " ); in drawStrikeoutLine()
8301 aLine.append( "\n" ); in drawStrikeoutLine()
8303 aLine.append( "0 " ); in drawStrikeoutLine()
8305 aLine.append( " m " ); in drawStrikeoutLine()
8307 aLine.append( ' ' ); in drawStrikeoutLine()
8309 aLine.append( " l S\n" ); in drawStrikeoutLine()
8313 aLine.append( "0 " ); in drawStrikeoutLine()
8315 aLine.append( " m " ); in drawStrikeoutLine()
8317 aLine.append( ' ' ); in drawStrikeoutLine()
8319 aLine.append( " l S\n" ); in drawStrikeoutLine()
8394 aLine.append( "q " ); in drawTextLine()
8401 aMat.append( m_aPages.back(), aLine ); in drawTextLine()
8402 aLine.append( " cm\n" ); in drawTextLine()
8440 aLine.append( "Q\n" ); in drawTextLine()
8459 aLine.append( "B*\n" ); in drawPolygon()
8461 aLine.append( "S\n" ); in drawPolygon()
8463 aLine.append( "f*\n" ); in drawPolygon()
8484 aLine.append( "B*\n" ); in drawPolyPolygon()
8486 aLine.append( "S\n" ); in drawPolyPolygon()
8488 aLine.append( "f*\n" ); in drawPolyPolygon()
8531 aContent.append( " B*\n" ); in drawTransparent()
8533 aContent.append( " S\n" ); in drawTransparent()
8535 aContent.append( " f*\n" ); in drawTransparent()
8539 aObjName.append( "Tr" ); in drawTransparent()
8540 aObjName.append( m_aTransparentObjects.back().m_nObject ); in drawTransparent()
8542 aObjName.append( "EGS" ); in drawTransparent()
8543 aObjName.append( m_aTransparentObjects.back().m_nExtGStateObject ); in drawTransparent()
8548 aLine.append( "q /" ); in drawTransparent()
8549 aLine.append( aExtName ); in drawTransparent()
8550 aLine.append( " gs /" ); in drawTransparent()
8551 aLine.append( aTrName ); in drawTransparent()
8552 aLine.append( " Do Q\n" ); in drawTransparent()
8675 aObjName.append( "Tr" ); in endTransparencyGroup()
8676 aObjName.append( m_aTransparentObjects.back().m_nObject ); in endTransparencyGroup()
8678 aObjName.append( "EGS" ); in endTransparencyGroup()
8679 aObjName.append( m_aTransparentObjects.back().m_nExtGStateObject ); in endTransparencyGroup()
8684 aLine.append( "q /" ); in endTransparencyGroup()
8685 aLine.append( aExtName ); in endTransparencyGroup()
8686 aLine.append( " gs /" ); in endTransparencyGroup()
8687 aLine.append( aTrName ); in endTransparencyGroup()
8688 aLine.append( " Do Q\n" ); in endTransparencyGroup()
8717 aObjName.append( "Tr" ); in endTransparencyGroup()
8718 aObjName.append( m_aTransparentObjects.back().m_nObject ); in endTransparencyGroup()
8720 aObjName.append( "EGS" ); in endTransparencyGroup()
8721 aObjName.append( m_aTransparentObjects.back().m_nExtGStateObject ); in endTransparencyGroup()
8726 aLine.append( "q /" ); in endTransparencyGroup()
8727 aLine.append( aExtName ); in endTransparencyGroup()
8728 aLine.append( " gs /" ); in endTransparencyGroup()
8729 aLine.append( aTrName ); in endTransparencyGroup()
8730 aLine.append( " Do Q\n" ); in endTransparencyGroup()
8753 aLine.append( " B*\n" ); in drawRectangle()
8755 aLine.append( " S\n" ); in drawRectangle()
8757 aLine.append( " f*\n" ); in drawRectangle()
8808 aLine.append( " m " ); in drawRectangle()
8810 aLine.append( " l " ); in drawRectangle()
8812 aLine.append( ' ' ); in drawRectangle()
8814 aLine.append( ' ' ); in drawRectangle()
8816 aLine.append( " c\n" ); in drawRectangle()
8818 aLine.append( " l " ); in drawRectangle()
8820 aLine.append( ' ' ); in drawRectangle()
8822 aLine.append( ' ' ); in drawRectangle()
8824 aLine.append( " c\n" ); in drawRectangle()
8826 aLine.append( " l " ); in drawRectangle()
8828 aLine.append( ' ' ); in drawRectangle()
8830 aLine.append( ' ' ); in drawRectangle()
8832 aLine.append( " c\n" ); in drawRectangle()
8834 aLine.append( " l " ); in drawRectangle()
8836 aLine.append( ' ' ); in drawRectangle()
8838 aLine.append( ' ' ); in drawRectangle()
8840 aLine.append( " c " ); in drawRectangle()
8844 aLine.append( "b*\n" ); in drawRectangle()
8846 aLine.append( "s\n" ); in drawRectangle()
8848 aLine.append( "f*\n" ); in drawRectangle()
8886 aLine.append( " m " ); in drawEllipse()
8888 aLine.append( ' ' ); in drawEllipse()
8890 aLine.append( ' ' ); in drawEllipse()
8892 aLine.append( " c\n" ); in drawEllipse()
8894 aLine.append( ' ' ); in drawEllipse()
8896 aLine.append( ' ' ); in drawEllipse()
8898 aLine.append( " c\n" ); in drawEllipse()
8900 aLine.append( ' ' ); in drawEllipse()
8902 aLine.append( ' ' ); in drawEllipse()
8904 aLine.append( " c\n" ); in drawEllipse()
8906 aLine.append( ' ' ); in drawEllipse()
8908 aLine.append( ' ' ); in drawEllipse()
8910 aLine.append( " c " ); in drawEllipse()
8914 aLine.append( "b*\n" ); in drawEllipse()
8916 aLine.append( "s\n" ); in drawEllipse()
8918 aLine.append( "f*\n" ); in drawEllipse()
8968 aLine.append( " m " ); in drawArc()
8979 aLine.append( ' ' ); in drawArc()
8985 aLine.append( ' ' ); in drawArc()
8991 aLine.append( " c\n" ); in drawArc()
8999 aLine.append( " l " ); in drawArc()
9001 aLine.append( "h " ); in drawArc()
9004 aLine.append( "S\n" ); in drawArc()
9007 aLine.append( "B*\n" ); in drawArc()
9009 aLine.append( "S\n" ); in drawArc()
9011 aLine.append( "f*\n" ); in drawArc()
9031 aLine.append( "S\n" ); in drawPolyLine()
9046 aLine.append( "q " ); in drawPolyLine()
9151 aLine.append( "q " ); in drawPolyLine()
9153 aLine.append( " w" ); in drawPolyLine()
9159 case PDFWriter::capButt: aLine.append( " 0 J" );break; in drawPolyLine()
9160 case PDFWriter::capRound: aLine.append( " 1 J" );break; in drawPolyLine()
9161 case PDFWriter::capSquare: aLine.append( " 2 J" );break; in drawPolyLine()
9173 aLine.append( " 0 j " ); in drawPolyLine()
9175 aLine.append( " M" ); in drawPolyLine()
9178 case PDFWriter::joinRound: aLine.append( " 1 j" );break; in drawPolyLine()
9179 case PDFWriter::joinBevel: aLine.append( " 2 j" );break; in drawPolyLine()
9183 aLine.append( " [ " ); in drawPolyLine()
9188 aLine.append( ' ' ); in drawPolyLine()
9190 aLine.append( "] 0 d" ); in drawPolyLine()
9192 aLine.append( "\n" ); in drawPolyLine()
9212 aLine.append( (nPoly != 0 && (nPoly & 7) == 0) ? "\n" : " " ); in drawPolyLine()
9224 aLine.append( " " ); in drawPolyLine()
9231 aLine.append( " m " ); in drawPolyLine()
9235 aLine.append( " l" ); in drawPolyLine()
9242 aLine.append( " S " ); in drawPolyLine()
9282 aLine.append( ' ' ); in drawPixel()
9284 aLine.append( ' ' ); in drawPixel()
9286 aLine.append( " re f\n" ); in drawPixel()
9303 aLine.append( "q " ); in drawPixel()
9307 aLine.append( ' ' ); in drawPixel()
9311 aPixel.append( ' ' ); in drawPixel()
9313 aPixel.append( ' ' ); in drawPixel()
9324 aLine.append( ' ' ); in drawPixel()
9327 aLine.append( aPixelStr ); in drawPixel()
9328 aLine.append( " re f\n" ); in drawPixel()
9330 aLine.append( "Q\n" ); in drawPixel()
9355 aLine.append( rObject.m_nObject ); in writeTransparentObject()
9356 aLine.append( " 0 obj\n" in writeTransparentObject()
9361 aLine.append( ' ' ); in writeTransparentObject()
9363 aLine.append( ' ' ); in writeTransparentObject()
9365 aLine.append( ' ' ); in writeTransparentObject()
9367 aLine.append( " ]\n" ); in writeTransparentObject()
9372 aLine.append( "/Group<</S/Transparency/CS/DeviceRGB/K true>>\n" ); in writeTransparentObject()
9383 aLine.append( " /Resources " ); in writeTransparentObject()
9384 aLine.append( getResourceDictObj() ); in writeTransparentObject()
9385 aLine.append( " 0 R\n" ); in writeTransparentObject()
9388 aLine.append( "/Length " ); in writeTransparentObject()
9389 aLine.append( (sal_Int32)(nSize) ); in writeTransparentObject()
9390 aLine.append( "\n" ); in writeTransparentObject()
9392 aLine.append( "/Filter/FlateDecode\n" ); in writeTransparentObject()
9393 aLine.append( ">>\n" in writeTransparentObject()
9400 aLine.append( "\n" in writeTransparentObject()
9407 aLine.append( rObject.m_nExtGStateObject ); in writeTransparentObject()
9408 aLine.append( " 0 obj\n" in writeTransparentObject()
9415 aLine.append( "/CA 1.0/ca 1.0" ); in writeTransparentObject()
9420 aLine.append( "/CA " ); in writeTransparentObject()
9422 aLine.append( "\n" in writeTransparentObject()
9426 aLine.append( "\n" ); in writeTransparentObject()
9432 aLine.append( "/SMask/None" ); in writeTransparentObject()
9441 aLine.append( "/SMask<</Type/Mask/S/Luminosity/G " ); in writeTransparentObject()
9442 aLine.append( nMaskObject ); in writeTransparentObject()
9443 aLine.append( " 0 R>>\n" ); in writeTransparentObject()
9446 aMask.append( nMaskObject ); in writeTransparentObject()
9447 aMask.append( " 0 obj\n" in writeTransparentObject()
9452 aMask.append( ' ' ); in writeTransparentObject()
9454 aMask.append( ' ' ); in writeTransparentObject()
9456 aMask.append( ' ' ); in writeTransparentObject()
9458 aMask.append( "]\n" ); in writeTransparentObject()
9462 aLine.append( "/Resources " ); in writeTransparentObject()
9463 aMask.append( getResourceDictObj() ); in writeTransparentObject()
9464 aMask.append( " 0 R\n" ); in writeTransparentObject()
9467 aMask.append( "/Group<</S/Transparency/CS/DeviceRGB>>\n" ); in writeTransparentObject()
9468 aMask.append( "/Length " ); in writeTransparentObject()
9469 aMask.append( nMaskSize ); in writeTransparentObject()
9470 aMask.append( ">>\n" in writeTransparentObject()
9478 aMask.append( "\nendstream\n" in writeTransparentObject()
9483 aLine.append( ">>\n" in writeTransparentObject()
9516 aLine.append( nFunctionObject ); in writeGradientFunction()
9517 aLine.append( " 0 obj\n" in writeGradientFunction()
9521 aLine.append( (sal_Int32)aSize.Width() ); in writeGradientFunction()
9522 aLine.append( ' ' ); in writeGradientFunction()
9523 aLine.append( (sal_Int32)aSize.Height() ); in writeGradientFunction()
9524 aLine.append( " ]\n" in writeGradientFunction()
9529 aLine.append( nStreamLengthObject ); in writeGradientFunction()
9530 aLine.append( " 0 R\n" in writeGradientFunction()
9562 aLine.append( "\nendstream\nendobj\n\n" ); in writeGradientFunction()
9568 aLine.append( nStreamLengthObject ); in writeGradientFunction()
9569 aLine.append( " 0 obj\n" ); in writeGradientFunction()
9570 aLine.append( (sal_Int64)(nEndStreamPos-nStartStreamPos) ); in writeGradientFunction()
9571 aLine.append( "\nendobj\n\n" ); in writeGradientFunction()
9576 aLine.append( rObject.m_nObject ); in writeGradientFunction()
9577 aLine.append( " 0 obj\n" in writeGradientFunction()
9583 aLine.append( (sal_Int32)aSize.Width() ); in writeGradientFunction()
9584 aLine.append( " 0 0 " ); in writeGradientFunction()
9585 aLine.append( (sal_Int32)aSize.Height() ); in writeGradientFunction()
9586 aLine.append( " 0 0 ]\n" in writeGradientFunction()
9588 aLine.append( nFunctionObject ); in writeGradientFunction()
9589 aLine.append( " 0 R\n" in writeGradientFunction()
9627 aLine.append( rObject.m_nObject ); in writeJPG()
9628 aLine.append( " 0 obj\n" in writeJPG()
9630 aLine.append( (sal_Int32)rObject.m_aID.m_aPixelSize.Width() ); in writeJPG()
9631 aLine.append( " /Height " ); in writeJPG()
9632 aLine.append( (sal_Int32)rObject.m_aID.m_aPixelSize.Height() ); in writeJPG()
9633 aLine.append( " /BitsPerComponent 8 " ); in writeJPG()
9635 aLine.append( "/ColorSpace/DeviceRGB" ); in writeJPG()
9637 aLine.append( "/ColorSpace/DeviceGray" ); in writeJPG()
9638 aLine.append( "/Filter/DCTDecode/Length " ); in writeJPG()
9639 aLine.append( nLength ); in writeJPG()
9642 aLine.append( rObject.m_aMask.GetBitCount() == 1 ? " /Mask " : " /SMask " ); in writeJPG()
9643 aLine.append( nMaskObject ); in writeJPG()
9644 aLine.append( " 0 R " ); in writeJPG()
9646 aLine.append( ">>\nstream\n" ); in writeJPG()
9654 aLine.append( "\nendstream\nendobj\n\n" ); in writeJPG()
9748 aLine.append( rObject.m_nObject ); in writeBitmapObject()
9749 aLine.append( " 0 obj\n" in writeBitmapObject()
9751 aLine.append( (sal_Int32)aBitmap.GetSizePixel().Width() ); in writeBitmapObject()
9752 aLine.append( "/Height " ); in writeBitmapObject()
9753 aLine.append( (sal_Int32)aBitmap.GetSizePixel().Height() ); in writeBitmapObject()
9754 aLine.append( "/BitsPerComponent " ); in writeBitmapObject()
9755 aLine.append( nBitsPerComponent ); in writeBitmapObject()
9756 aLine.append( "/Length " ); in writeBitmapObject()
9757 aLine.append( nStreamLengthObject ); in writeBitmapObject()
9758 aLine.append( " 0 R\n" ); in writeBitmapObject()
9762 aLine.append( "/Filter/FlateDecode" ); in writeBitmapObject()
9766 aLine.append( "/Filter/CCITTFaxDecode/DecodeParms<</K -1/BlackIs1 true/Columns " ); in writeBitmapObject()
9767 aLine.append( (sal_Int32)aBitmap.GetSizePixel().Width() ); in writeBitmapObject()
9768 aLine.append( ">>\n" ); in writeBitmapObject()
9773 aLine.append( "/ColorSpace" ); in writeBitmapObject()
9775 aLine.append( "/DeviceRGB\n" ); in writeBitmapObject()
9778 aLine.append( "/DeviceGray\n" ); in writeBitmapObject()
9785 aLine.append( "/Decode[1 0]\n" ); in writeBitmapObject()
9790 aLine.append( "[ /Indexed/DeviceRGB " ); in writeBitmapObject()
9791 aLine.append( (sal_Int32)(pAccess->GetPaletteEntryCount()-1) ); in writeBitmapObject()
9792 aLine.append( "\n<" ); in writeBitmapObject()
9830 aLine.append( ">\n]\n" ); in writeBitmapObject()
9837 aLine.append( "/ImageMask true\n" ); in writeBitmapObject()
9841 aLine.append( "/Decode[ 1 0 ]\n" ); in writeBitmapObject()
9843 aLine.append( "/Decode[ 0 1 ]\n" ); in writeBitmapObject()
9847 aLine.append( "/ColorSpace/DeviceGray\n" in writeBitmapObject()
9858 aLine.append( "/SMask " ); in writeBitmapObject()
9860 aLine.append( "/Mask " ); in writeBitmapObject()
9861 aLine.append( nMaskObject ); in writeBitmapObject()
9862 aLine.append( " 0 R\n" ); in writeBitmapObject()
9866 aLine.append( "/Mask[ " ); in writeBitmapObject()
9869 aLine.append( (sal_Int32)aTransparentColor.GetRed() ); in writeBitmapObject()
9870 aLine.append( ' ' ); in writeBitmapObject()
9871 aLine.append( (sal_Int32)aTransparentColor.GetRed() ); in writeBitmapObject()
9872 aLine.append( ' ' ); in writeBitmapObject()
9873 aLine.append( (sal_Int32)aTransparentColor.GetGreen() ); in writeBitmapObject()
9874 aLine.append( ' ' ); in writeBitmapObject()
9875 aLine.append( (sal_Int32)aTransparentColor.GetGreen() ); in writeBitmapObject()
9876 aLine.append( ' ' ); in writeBitmapObject()
9877 aLine.append( (sal_Int32)aTransparentColor.GetBlue() ); in writeBitmapObject()
9878 aLine.append( ' ' ); in writeBitmapObject()
9879 aLine.append( (sal_Int32)aTransparentColor.GetBlue() ); in writeBitmapObject()
9884 aLine.append( nIndex ); in writeBitmapObject()
9886 aLine.append( " ]\n" ); in writeBitmapObject()
9892 aLine.append( ">>\n" in writeBitmapObject()
9940 aLine.append( "\nendstream\nendobj\n\n" ); in writeBitmapObject()
9944 aLine.append( nStreamLengthObject ); in writeBitmapObject()
9945 aLine.append( " 0 obj\n" ); in writeBitmapObject()
9946 aLine.append( (sal_Int64)(nEndPos-nStartPos) ); in writeBitmapObject()
9947 aLine.append( "\nendobj\n\n" ); in writeBitmapObject()
10023 aLine.append( "q " ); in drawJPGBitmap()
10026 aLine.append( " 0 0 " ); in drawJPGBitmap()
10029 aLine.append( ' ' ); in drawJPGBitmap()
10031 aLine.append( " cm\n/Im" ); in drawJPGBitmap()
10032 aLine.append( it->m_nObject ); in drawJPGBitmap()
10033 aLine.append( " Do Q\n" ); in drawJPGBitmap()
10038 aLine.append( "\n%jpeg image /Im" ); in drawJPGBitmap()
10039 aLine.append( it->m_nObject ); in drawJPGBitmap()
10040 aLine.append( " scaled to zero size, omitted\n" ); in drawJPGBitmap()
10045 aObjName.append( "Im" ); in drawJPGBitmap()
10046 aObjName.append( it->m_nObject ); in drawJPGBitmap()
10056 aLine.append( "q " ); in drawBitmap()
10060 aLine.append( ' ' ); in drawBitmap()
10064 aLine.append( " 0 0 " ); in drawBitmap()
10067 aLine.append( ' ' ); in drawBitmap()
10069 aLine.append( " cm\n/Im" ); in drawBitmap()
10070 aLine.append( rBitmap.m_nObject ); in drawBitmap()
10071 aLine.append( " Do Q\n" ); in drawBitmap()
10076 aLine.append( "\n%bitmap image /Im" ); in drawBitmap()
10077 aLine.append( rBitmap.m_nObject ); in drawBitmap()
10078 aLine.append( " scaled to zero size, omitted\n" ); in drawBitmap()
10125 aObjName.append( "Im" ); in createBitmapEmit()
10126 aObjName.append( it->m_nObject ); in createBitmapEmit()
10203 aObjName.append( 'P' ); in createGradient()
10204 aObjName.append( it->m_nObject ); in createGradient()
10228 aLine.append( "q 1 0 0 1 " ); in drawGradient()
10230 aLine.append( " cm " ); in drawGradient()
10233 aLine.append( "q " ); in drawGradient()
10234 aLine.append( "0 0 " ); in drawGradient()
10236 aLine.append( ' ' ); in drawGradient()
10238 aLine.append( " re W n\n" ); in drawGradient()
10240 aLine.append( "/P" ); in drawGradient()
10241 aLine.append( nGradient ); in drawGradient()
10242 aLine.append( " sh " ); in drawGradient()
10245 aLine.append( "Q 0 0 " ); in drawGradient()
10247 aLine.append( ' ' ); in drawGradient()
10249 aLine.append( " re S " ); in drawGradient()
10251 aLine.append( "Q\n" ); in drawGradient()
10274 aLine.append( "q " ); in drawGradient()
10277 aLine.append( "W* n\n" ); in drawGradient()
10278 aLine.append( "1 0 0 1 " ); in drawGradient()
10280 aLine.append( " cm\n" ); in drawGradient()
10281 aLine.append( "/P" ); in drawGradient()
10282 aLine.append( nGradient ); in drawGradient()
10283 aLine.append( " sh Q\n" ); in drawGradient()
10288 aLine.append( "S\n" ); in drawGradient()
10391 aNameBuf.append( "Im" ); in drawWallpaper()
10392 aNameBuf.append( rEmit.m_nObject ); in drawWallpaper()
10398 aTilingStream.append( " 0 0 " ); in drawWallpaper()
10400 aTilingStream.append( " 0 0 cm\n/" ); in drawWallpaper()
10401 aTilingStream.append( aImageName ); in drawWallpaper()
10402 aTilingStream.append( " Do\n" ); in drawWallpaper()
10417 aObjName.append( 'P' ); in drawWallpaper()
10418 aObjName.append( m_aTilings.back().m_nObject ); in drawWallpaper()
10424 aLine.append( "q /Pattern cs /" ); in drawWallpaper()
10425 aLine.append( aPatternName ); in drawWallpaper()
10426 aLine.append( " scn " ); in drawWallpaper()
10428 aLine.append( " f Q\n" ); in drawWallpaper()
10471 aLine.append( "q " ); in drawWallpaper()
10473 aLine.append( " W n\n" ); in drawWallpaper()
10517 aObjName.append( 'P' ); in endPattern()
10518 aObjName.append( rTile.m_nObject ); in endPattern()
10531 aNameBuf.append( "Pol" ); in drawPolyPolygon()
10532 aNameBuf.append( nXObject ); in drawPolyPolygon()
10555 aStream.append( "/Pattern cs /P" ); in drawPolyPolygon()
10556 aStream.append( m_aTilings[ nPattern ].m_nObject ); in drawPolyPolygon()
10557 aStream.append( " scn\n" ); in drawPolyPolygon()
10559 aStream.append( bEOFill ? "f*" : "f" ); in drawPolyPolygon()
10572 aLine.append( nXObject ); in drawPolyPolygon()
10573 aLine.append( " 0 obj\n" in drawPolyPolygon()
10576 aLine.append( ' ' ); in drawPolyPolygon()
10578 aLine.append( "]/Length " ); in drawPolyPolygon()
10579 aLine.append( nStreamLen ); in drawPolyPolygon()
10581 aLine.append( "/Filter/FlateDecode" ); in drawPolyPolygon()
10582 aLine.append( ">>\n" in drawPolyPolygon()
10592 aLine.append( "q 1 0 0 1 " ); in drawPolyPolygon()
10594 aLine.append( " cm/" ); in drawPolyPolygon()
10595 aLine.append( aObjName ); in drawPolyPolygon()
10596 aLine.append( " Do Q\n" ); in drawPolyPolygon()
10615 aLine.append( "Q " ); in updateGraphicsState()
10628 aLine.append( "q " ); in updateGraphicsState()
10630 aLine.append( "W* n\n" ); in updateGraphicsState()
10670 aLine.append( "\n" ); in updateGraphicsState()
10681 aLine.append( "\n" ); in updateGraphicsState()
11092 aLine.append( "/" ); in beginStructureElementMCSeq()
11094 aLine.append( rEle.m_aAlias ); in beginStructureElementMCSeq()
11096 aLine.append( getStructureTag( rEle.m_eType ) ); in beginStructureElementMCSeq()
11097 aLine.append( "<</MCID " ); in beginStructureElementMCSeq()
11098 aLine.append( nMCID ); in beginStructureElementMCSeq()
11099 aLine.append( ">>BDC\n" ); in beginStructureElementMCSeq()
11123 aLine.append( "/Artifact BMC\n" ); in beginStructureElementMCSeq()
11226 aLine.append( m_nCurrentStructElement ); in beginStructureElement()
11227 aLine.append( ": " ); in beginStructureElement()
11228 aLine.append( getStructureTag( eType ) ); in beginStructureElement()
11231 aLine.append( " aliased as \"" ); in beginStructureElement()
11232 aLine.append( rEle.m_aAlias ); in beginStructureElement()
11233 aLine.append( '\"' ); in beginStructureElement()
11270 aLine.append( m_nCurrentStructElement ); in endStructureElement()
11271 aLine.append( ": " ); in endStructureElement()
11272 aLine.append( getStructureTag( m_aStructure[ m_nCurrentStructElement ].m_eType ) ); in endStructureElement()
11275 aLine.append( " aliased as \"" ); in endStructureElement()
11276 aLine.append( m_aStructure[ m_nCurrentStructElement ].m_aAlias ); in endStructureElement()
11277 aLine.append( '\"' ); in endStructureElement()
11408 aLine.append( m_nCurrentStructElement ); in setCurrentStructureElement()
11409 aLine.append( ": " ); in setCurrentStructureElement()
11410 aLine.append( getStructureTag( m_aStructure[ m_nCurrentStructElement ].m_eType ) ); in setCurrentStructureElement()
11413 aLine.append( " aliased as \"" ); in setCurrentStructureElement()
11414 aLine.append( m_aStructure[ m_nCurrentStructElement ].m_aAlias ); in setCurrentStructureElement()
11415 aLine.append( '\"' ); in setCurrentStructureElement()
11418 aLine.append( " (inside NonStruct)" ); in setCurrentStructureElement()