Lines Matching refs:m_aContext
675 …const OUString& rName = (m_aContext.Version > PDFWriter::PDF_1_2) ? i_rControl.Name : i_rControl.T… in createWidgetFieldName()
797 if( ! m_aContext.AllowDuplicateFieldNames ) in createWidgetFieldName()
923 bool bGrey = m_aContext.ColorMode == PDFWriter::DrawGreyscale; in appendStrokingColor()
933 bool bGrey = m_aContext.ColorMode == PDFWriter::DrawGreyscale; in appendNonStrokingColor()
1773 m_aContext = rContext; in PDFWriterImpl()
1787 …oslFileError aError = osl_openFile( m_aContext.URL.pData, &m_aFile, osl_File_OpenFlag_Write | osl… in PDFWriterImpl()
1792 aError = osl_openFile( m_aContext.URL.pData, &m_aFile, osl_File_OpenFlag_Write ); in PDFWriterImpl()
1815 if( m_aContext.Encryption.Encrypt() ) in PDFWriterImpl()
1818 if( m_aContext.Encryption.OValue.size() != ENCRYPTED_PWD_SIZE || in PDFWriterImpl()
1819 m_aContext.Encryption.UValue.size() != ENCRYPTED_PWD_SIZE || in PDFWriterImpl()
1820 m_aContext.Encryption.EncryptionKey.size() != MAXIMUM_RC4_KEY_LENGTH in PDFWriterImpl()
1825 m_aContext.Encryption.OValue.clear(); in PDFWriterImpl()
1826 m_aContext.Encryption.UValue.clear(); in PDFWriterImpl()
1830 …m_nAccessPermissions = computeAccessPermissions( m_aContext.Encryption, m_nKeyLength, m_nRC4KeyLen… in PDFWriterImpl()
1836 switch( m_aContext.Version ) in PDFWriterImpl()
1857 m_bIsPDF_A1 = (m_aContext.Version == PDFWriter::PDF_A_1); in PDFWriterImpl()
1859 m_aContext.Version = PDFWriter::PDF_1_4; //meaning we need PDF 1.4, PDF/A flavour in PDFWriterImpl()
1861 m_bEmbedStandardFonts = m_aContext.EmbedStandardFonts; in PDFWriterImpl()
1881 …computeDocumentIdentifier( aId, m_aContext.DocumentInfo, m_aCreationDateString, m_aCreationMetaDat… in setupDocInfo()
1882 if( m_aContext.Encryption.DocumentIdentifier.empty() ) in setupDocInfo()
1883 m_aContext.Encryption.DocumentIdentifier = aId; in setupDocInfo()
2022 if( m_aContext.Encryption.Encrypt() ) in appendUnicodeTextStringEncrypt()
2059 if( m_aContext.Encryption.Encrypt() && checkEncryptionBufferSize( nChars ) ) in appendLiteralStringEncrypt()
2220 if( m_aContext.DPIx == 0 || m_aContext.DPIy == 0 ) in getReferenceDevice()
2223 pVDev->SetReferenceDevice( m_aContext.DPIx, m_aContext.DPIy ); in getReferenceDevice()
4358 if( m_aContext.OpenBookmarkLevels < 0 || // all levels are visible in updateOutlineItemCount()
4359 m_aContext.OpenBookmarkLevels >= nItemLevel // this level is visible in updateOutlineItemCount()
4607 INetURLObject aDocumentURL( m_aContext.BaseURL ); in emitLinkAnnotations()
4642 m_aContext.DefaultLinkAction = PDFWriter::URIAction; in emitLinkAnnotations()
4646 if( m_aContext.ConvertOOoTargetToPDFTarget ) in emitLinkAnnotations()
4664 if( m_aContext.ForcePDFAction && bTargetHasPDFExtension ) in emitLinkAnnotations()
4683 … if( m_aContext.RelFsys && eBaseProtocol == eTargetProtocol && eTargetProtocol == INET_PROT_FILE ) in emitLinkAnnotations()
4689 switch( m_aContext.DefaultLinkAction ) in emitLinkAnnotations()
4722 …appendLiteralStringEncrypt( bSetRelative ? INetURLObject::GetRelURL( m_aContext.BaseURL, aURLNoMar… in emitLinkAnnotations()
4736 if(m_aContext.DefaultLinkAction == PDFWriter::URIActionDestination && in emitLinkAnnotations()
4749 appendLiteralStringEncrypt( bSetRelative ? INetURLObject::GetRelURL( m_aContext.BaseURL, aURL, in emitLinkAnnotations()
5000 …sal_Int32 nBest = m_aContext.FieldsUseSystemFonts ? getSystemFont( aFont ): getBestBuiltinFont( aF… in createDefaultEditAppearance()
5006 if( m_aContext.FieldsUseSystemFonts ) in createDefaultEditAppearance()
5052 …sal_Int32 nBest = m_aContext.FieldsUseSystemFonts ? getSystemFont( aFont ): getBestBuiltinFont( aF… in createDefaultListBoxAppearance()
5103 if( m_aContext.FieldsUseSystemFonts ) in createDefaultListBoxAppearance()
5577 if( m_aContext.Version > PDFWriter::PDF_1_2 && rWidget.m_aDescription.getLength() ) in emitWidgetAnnotations()
5658 switch( m_aContext.SubmitFormat ) in emitWidgetAnnotations()
5664 if( m_aContext.Version > PDFWriter::PDF_1_3 ) in emitWidgetAnnotations()
5668 if( m_aContext.Version > PDFWriter::PDF_1_3 ) in emitWidgetAnnotations()
5869 if( m_aContext.PageLayout != PDFWriter::DefaultLayout ) in emitCatalog()
5870 switch( m_aContext.PageLayout ) in emitCatalog()
5884 if( m_aContext.PDFDocumentMode != PDFWriter::ModeDefault && !m_aContext.OpenInFullScreenMode ) in emitCatalog()
5885 switch( m_aContext.PDFDocumentMode ) in emitCatalog()
5897 else if( m_aContext.OpenInFullScreenMode ) in emitCatalog()
5901 if( m_aContext.InitialPage >= 0 && m_aContext.InitialPage < (sal_Int32)m_aPages.size() ) in emitCatalog()
5903 aInitPageRef.append( m_aPages[m_aContext.InitialPage].m_nPageObject ); in emitCatalog()
5908 switch( m_aContext.PDFDocumentAction ) in emitCatalog()
5942 if( m_aContext.Zoom >= 50 && m_aContext.Zoom <= 1600 ) in emitCatalog()
5943 aLine.append( (double)m_aContext.Zoom/100.0 ); in emitCatalog()
5950 if( m_aContext.HideViewerToolbar || in emitCatalog()
5951 …( m_aContext.Version > PDFWriter::PDF_1_3 && m_aContext.DocumentInfo.Title.Len() && m_aContext.Dis… in emitCatalog()
5952 m_aContext.HideViewerMenubar || in emitCatalog()
5953 m_aContext.HideViewerWindowControls || m_aContext.FitWindow || in emitCatalog()
5954 …m_aContext.CenterWindow || (m_aContext.FirstPageLeft && m_aContext.PageLayout == PDFWriter::Cont… in emitCatalog()
5955 m_aContext.OpenInFullScreenMode ) in emitCatalog()
5958 if( m_aContext.HideViewerToolbar ) in emitCatalog()
5960 if( m_aContext.HideViewerMenubar ) in emitCatalog()
5962 if( m_aContext.HideViewerWindowControls ) in emitCatalog()
5964 if( m_aContext.FitWindow ) in emitCatalog()
5966 if( m_aContext.CenterWindow ) in emitCatalog()
5968 …if( m_aContext.Version > PDFWriter::PDF_1_3 && m_aContext.DocumentInfo.Title.Len() && m_aContext.D… in emitCatalog()
5970 if( m_aContext.FirstPageLeft && m_aContext.PageLayout == PDFWriter::ContinuousFacing ) in emitCatalog()
5972 if( m_aContext.OpenInFullScreenMode ) in emitCatalog()
5973 switch( m_aContext.PDFDocumentMode ) in emitCatalog()
6001 if( m_aContext.DocumentLocale.Language.getLength() > 0 ) in emitCatalog()
6004 aLocBuf.append( m_aContext.DocumentLocale.Language.toAsciiLowerCase() ); in emitCatalog()
6005 if( m_aContext.DocumentLocale.Country.getLength() > 0 ) in emitCatalog()
6008 aLocBuf.append( m_aContext.DocumentLocale.Country ); in emitCatalog()
6014 if( m_aContext.Tagged && m_aContext.Version > PDFWriter::PDF_1_3 ) in emitCatalog()
6072 if( m_aContext.DocumentInfo.Title.Len() ) in emitInfoDict()
6075 appendUnicodeTextStringEncrypt( m_aContext.DocumentInfo.Title, nObject, aLine ); in emitInfoDict()
6078 if( m_aContext.DocumentInfo.Author.Len() ) in emitInfoDict()
6081 appendUnicodeTextStringEncrypt( m_aContext.DocumentInfo.Author, nObject, aLine ); in emitInfoDict()
6084 if( m_aContext.DocumentInfo.Subject.Len() ) in emitInfoDict()
6087 appendUnicodeTextStringEncrypt( m_aContext.DocumentInfo.Subject, nObject, aLine ); in emitInfoDict()
6090 if( m_aContext.DocumentInfo.Keywords.Len() ) in emitInfoDict()
6093 appendUnicodeTextStringEncrypt( m_aContext.DocumentInfo.Keywords, nObject, aLine ); in emitInfoDict()
6096 if( m_aContext.DocumentInfo.Creator.Len() ) in emitInfoDict()
6099 appendUnicodeTextStringEncrypt( m_aContext.DocumentInfo.Creator, nObject, aLine ); in emitInfoDict()
6102 if( m_aContext.DocumentInfo.Producer.Len() ) in emitInfoDict()
6105 appendUnicodeTextStringEncrypt( m_aContext.DocumentInfo.Producer, nObject, aLine ); in emitInfoDict()
6351 if( m_aContext.DocumentInfo.Title.Len() || in emitDocumentMetadata()
6352 m_aContext.DocumentInfo.Author.Len() || in emitDocumentMetadata()
6353 m_aContext.DocumentInfo.Subject.Len() ) in emitDocumentMetadata()
6357 if( m_aContext.DocumentInfo.Title.Len() ) in emitDocumentMetadata()
6364 escapeStringXML( m_aContext.DocumentInfo.Title, aTitle ); in emitDocumentMetadata()
6370 if( m_aContext.DocumentInfo.Author.Len() ) in emitDocumentMetadata()
6376 escapeStringXML( m_aContext.DocumentInfo.Author, aAuthor ); in emitDocumentMetadata()
6382 if( m_aContext.DocumentInfo.Subject.Len() ) in emitDocumentMetadata()
6389 escapeStringXML( m_aContext.DocumentInfo.Subject, aSubject ); in emitDocumentMetadata()
6399 if( m_aContext.DocumentInfo.Producer.Len() || in emitDocumentMetadata()
6400 m_aContext.DocumentInfo.Keywords.Len() ) in emitDocumentMetadata()
6404 if( m_aContext.DocumentInfo.Producer.Len() ) in emitDocumentMetadata()
6408 escapeStringXML( m_aContext.DocumentInfo.Producer, aProducer ); in emitDocumentMetadata()
6412 if( m_aContext.DocumentInfo.Keywords.Len() ) in emitDocumentMetadata()
6416 escapeStringXML( m_aContext.DocumentInfo.Keywords, aKeywords ); in emitDocumentMetadata()
6425 if( m_aContext.DocumentInfo.Creator.Len() ) in emitDocumentMetadata()
6429 escapeStringXML( m_aContext.DocumentInfo.Creator, aCreator ); in emitDocumentMetadata()
6485 if( m_aContext.Encryption.Encrypt() ) in emitTrailer()
6499 if( m_aContext.Encryption.Security128bit ) in emitTrailer()
6506 …appendLiteralString( (const sal_Char*)&m_aContext.Encryption.OValue[0], sal_Int32(m_aContext.Encry… in emitTrailer()
6508 …appendLiteralString( (const sal_Char*)&m_aContext.Encryption.UValue[0], sal_Int32(m_aContext.Encry… in emitTrailer()
6574 if( ! m_aContext.Encryption.DocumentIdentifier.empty() ) in emitTrailer()
6577 …for( std::vector< sal_uInt8 >::const_iterator it = m_aContext.Encryption.DocumentIdentifier.begin(… in emitTrailer()
6578 it != m_aContext.Encryption.DocumentIdentifier.end(); ++it ) in emitTrailer()
6584 …for( std::vector< sal_uInt8 >::const_iterator it = m_aContext.Encryption.DocumentIdentifier.begin(… in emitTrailer()
6585 it != m_aContext.Encryption.DocumentIdentifier.end(); ++it ) in emitTrailer()
8506 if( m_bIsPDF_A1 || m_aContext.Version < PDFWriter::PDF_1_4 ) in drawTransparent()
8652 if( m_aContext.Version >= PDFWriter::PDF_1_4 ) in beginTransparencyGroup()
8661 if( m_aContext.Version >= PDFWriter::PDF_1_4 ) in endTransparencyGroup()
8698 if( m_aContext.Version >= PDFWriter::PDF_1_4 ) in endTransparencyGroup()
9499 if( m_aContext.ColorMode == PDFWriter::DrawGreyscale ) in writeGradientFunction()
9611 …( rObject.m_aMask.GetBitCount() == 8 && m_aContext.Version >= PDFWriter::PDF_1_4 && !m_bIsPDF_A1 )… in writeJPG()
9618 else if( m_aContext.Version < PDFWriter::PDF_1_4 ) in writeJPG()
9683 if( m_aContext.Version >= PDFWriter::PDF_1_4 ) in writeBitmapObject()
9707 if( m_aContext.Version < PDFWriter::PDF_1_4 || ! rObject.m_aBitmap.IsAlpha() ) in writeBitmapObject()
9793 if( m_aContext.Encryption.Encrypt() ) in writeBitmapObject()
9852 if( ! bMask && m_aContext.Version > PDFWriter::PDF_1_2 && !m_bIsPDF_A1 )//i59651 in writeBitmapObject()
9857 if( rObject.m_aBitmap.IsAlpha() && m_aContext.Version > PDFWriter::PDF_1_3 ) in writeBitmapObject()
9975 if( bIsTrueColor && m_aContext.ColorMode == PDFWriter::DrawGreyscale ) in drawJPGBitmap()
10086 if( m_aContext.ColorMode == PDFWriter::DrawGreyscale ) in createBitmapEmit()
10214 if( m_aContext.Version == PDFWriter::PDF_1_2 ) in drawGradient()
10259 if( m_aContext.Version == PDFWriter::PDF_1_2 ) in drawGradient()
10688 …if( m_aContext.Version >= PDFWriter::PDF_1_4 && m_aCurrentPDFState.m_nTransparentPercent != rNewSt… in updateGraphicsState()
11116 else if( ! m_bEmitStructure && m_aContext.Tagged && in beginStructureElementMCSeq()
11145 if( m_aContext.Tagged ) in checkEmitStructure()
11167 if( ! m_aContext.Tagged ) in beginStructureElement()
11255 if( ! m_aContext.Tagged ) in endStructureElement()
11399 if( m_aContext.Tagged && nEle >= 0 && nEle < sal_Int32(m_aStructure.size()) ) in setCurrentStructureElement()
11434 if( !m_aContext.Tagged ) in setStructureAttribute()
11630 if( ! m_aContext.Tagged ) in setStructureAttributeNumerical()
11764 if( nPageNr < 0 || nPageNr >= (sal_Int32)m_aPages.size() || !m_aContext.Tagged ) in setStructureBoundingBox()
11785 if( m_aContext.Tagged && m_nCurrentStructElement > 0 && m_bEmitStructure ) in setActualText()
11793 if( m_aContext.Tagged && m_nCurrentStructElement > 0 && m_bEmitStructure ) in setAlternateText()
12038 …if( rLstBox.MultiSelect && !rLstBox.DropDown && (int)m_aContext.Version > (int)PDFWriter::PDF_1_3 ) in createControl()
12087 if( rEdit.FileSelect && m_aContext.Version > PDFWriter::PDF_1_3 ) in createControl()