Home
last modified time | relevance | path

Searched refs:psp (Results 1 – 25 of 62) sorted by relevance

123

/AOO42X/main/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx55 using namespace psp;
60 class SalPrinterBmp : public psp::PrinterBmp
346 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetLineColor()
359 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetFillColor()
388 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in drawPixel()
544 ImplPspFontData( const psp::FastPrintFontInfo& );
553 ImplPspFontData::ImplPspFontData( const psp::FastPrintFontInfo& rInfo ) in ImplPspFontData()
571 PspFontLayout( ::psp::PrinterGfx& );
576 ::psp::PrinterGfx& mrPrinterGfx;
587 PspFontLayout::PspFontLayout( ::psp::PrinterGfx& rGfx ) in PspFontLayout()
[all …]
H A Dsalgdi3.cxx127 const psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in Initialize()
128 typedef std::list< psp::KernPair > PspKernPairs; in Initialize()
995 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in AddTempDevFont()
1001 psp::FastPrintFontInfo aInfo; in AddTempDevFont()
1031 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in GetDevFontList()
1032 ::std::list< psp::fontID > aList; in GetDevFontList()
1033 ::std::list< psp::fontID >::iterator it; in GetDevFontList()
1034 psp::FastPrintFontInfo aInfo; in GetDevFontList()
1043 if( aInfo.m_eType == psp::fonttype::Builtin ) in GetDevFontList()
1054 if( aInfo.m_eType == psp::fonttype::Type1 ) in GetDevFontList()
[all …]
H A Dsalprnpsp.cxx64 using namespace psp;
143 if( rData.m_eOrientation == psp::orientation::Portrait ) in copyJobDataToJobSetup()
799 if( aData.m_eOrientation == psp::orientation::Portrait ) in GetPageInfo()
1390 ::psp::PrinterInfoManager& rManager( ::psp::PrinterInfoManager::get() ); in doUpdate()
1427 psp::PrinterInfoManager::get(); in update()
/AOO42X/main/vcl/unx/headless/
H A Dsvppspgraphics.cxx55 using namespace psp;
62 class SalPrinterBmp : public psp::PrinterBmp
280 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetLineColor()
293 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetFillColor()
322 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in drawPixel()
485 ImplPspFontData( const psp::FastPrintFontInfo& );
494 ImplPspFontData::ImplPspFontData( const psp::FastPrintFontInfo& rInfo ) in ImplPspFontData()
512 PspFontLayout( ::psp::PrinterGfx& );
517 ::psp::PrinterGfx& mrPrinterGfx;
528 PspFontLayout::PspFontLayout( ::psp::PrinterGfx& rGfx ) in PspFontLayout()
[all …]
H A Dsvppspgraphics.hxx33 namespace psp { struct JobData; class PrinterGfx; } namespace
41 psp::JobData* m_pJobData;
42 psp::PrinterGfx* m_pPrinterGfx;
63 …PspGraphics( psp::JobData* pJob, psp::PrinterGfx* pGfx, String* pPhone, bool bSwallow, SalInfoPrin… in PspGraphics()
75 …static const void* DoGetEmbedFontData( psp::fontID aFont, const sal_Ucs* pUnicodes, sal_Int32* pWi…
77 …static const Ucs2SIntMap* DoGetFontEncodingVector( psp::fontID aFont, const Ucs2OStrMap** pNonEnco…
78 static void DoGetGlyphWidths( psp::fontID aFont,
82 static ImplDevFontAttributes Info2DevFontAttributes( const psp::FastPrintFontInfo& );
83 static void AnnounceFonts( ImplDevFontList*, const psp::FastPrintFontInfo& );
84 static FontWidth ToFontWidth (psp::width::type eWidth);
[all …]
H A Dsvptext.cxx185 const psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in Initialize()
186 typedef std::list< psp::KernPair > PspKernPairs; in Initialize()
286 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in GetDevFontList()
287 psp::FastPrintFontInfo aInfo; in GetDevFontList()
288 ::std::list< psp::fontID > aList; in GetDevFontList()
290 ::std::list< psp::fontID >::iterator it; in GetDevFontList()
298 if( aInfo.m_eType == psp::fonttype::Builtin ) in GetDevFontList()
309 if( aInfo.m_eType == psp::fonttype::Type1 ) in GetDevFontList()
353 psp::fontID aFont = pFont->GetFontId(); in CreateFontSubset()
355 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in CreateFontSubset()
[all …]
H A Dsvpprn.hxx41 psp::JobData m_aJobData;
42 psp::PrinterGfx m_aPrinterGfx;
74 psp::PrinterJob m_aPrintJob;
75 psp::JobData m_aJobData;
76 psp::PrinterGfx m_aPrinterGfx;
H A Dsvpprn.cxx43 using namespace psp;
91 if( rData.m_eOrientation == psp::orientation::Portrait ) in copyJobDataToJobSetup()
685 if( aData.m_eOrientation == psp::orientation::Portrait ) in GetPageInfo()
1004 ::psp::PrinterInfoManager& rManager( ::psp::PrinterInfoManager::get() ); in doUpdate()
1042 psp::PrinterInfoManager::get(); in update()
/AOO42X/main/vcl/unx/generic/printergfx/
H A Dbitmap_gfx.cxx32 namespace psp { namespace
99 sal_uInt32 nOff = psp::getHexValueOf (nByte, mpFileBuffer + mnOffset); in WriteAscii()
105 mnOffset += psp::appendStr ("\n", mpFileBuffer + mnOffset); in WriteAscii()
238 mnOffset += psp::appendStr ("\n", mpFileBuffer + mnOffset); in WriteAscii()
511 nChar += psp::getValueOf (nWidth, pGrayImage + nChar); in DrawPS1GrayImage()
512 nChar += psp::appendStr (" ", pGrayImage + nChar); in DrawPS1GrayImage()
513 nChar += psp::getValueOf (nHeight, pGrayImage + nChar); in DrawPS1GrayImage()
514 nChar += psp::appendStr (" 8 ", pGrayImage + nChar); in DrawPS1GrayImage()
515 nChar += psp::appendStr ("[ 1 0 0 1 0 ", pGrayImage + nChar); in DrawPS1GrayImage()
516 nChar += psp::getValueOf (nHeight, pGrayImage + nChar); in DrawPS1GrayImage()
[all …]
H A Dcommon_gfx.cxx40 using namespace psp ;
354 nChar = psp::getValueOf (rRectangle.TopLeft().X(), pRect); in DrawRect()
355 nChar += psp::appendStr (" ", pRect + nChar); in DrawRect()
356 nChar += psp::getValueOf (rRectangle.TopLeft().Y(), pRect + nChar); in DrawRect()
357 nChar += psp::appendStr (" ", pRect + nChar); in DrawRect()
358 nChar += psp::getValueOf (rRectangle.GetWidth(), pRect + nChar); in DrawRect()
359 nChar += psp::appendStr (" ", pRect + nChar); in DrawRect()
360 nChar += psp::getValueOf (rRectangle.GetHeight(), pRect + nChar); in DrawRect()
361 nChar += psp::appendStr (" ", pRect + nChar); in DrawRect()
730 nChar = psp::getValueOfDouble (pBuffer, maVirtualStatus.mfLineWidth, 5); in PSSetLineWidth()
[all …]
H A Dprinterjob.cxx53 using namespace psp;
60 namespace psp namespace
207 namespace psp namespace
280 nChar = psp::appendStr ("rm -rf ", pSystem); in removeSpoolDir()
281 nChar += psp::appendStr (aSysPathByte.getStr(), pSystem + nChar); in removeSpoolDir()
346 namespace psp namespace
704 nChar = psp::appendStr ("%%PageBoundingBox: ", pBBox); in StartPage()
705 nChar += psp::getValueOf (mnLMarginPt, pBBox + nChar); in StartPage()
706 nChar += psp::appendStr (" ", pBBox + nChar); in StartPage()
707 nChar += psp::getValueOf (mnBMarginPt, pBBox + nChar); in StartPage()
[all …]
H A Dglyphset.cxx48 using namespace psp;
451 nSize += psp::appendStr ("(", pEncodingVector + nSize); in PSDefineReencodedFont()
452 nSize += psp::appendStr (GetReencodedFontName(nGlyphSetID), in PSDefineReencodedFont()
454 nSize += psp::appendStr (") cvn (", pEncodingVector + nSize); in PSDefineReencodedFont()
455 nSize += psp::appendStr (maBaseName.getStr(), in PSDefineReencodedFont()
457 nSize += psp::appendStr (") cvn ", pEncodingVector + nSize); in PSDefineReencodedFont()
458 nSize += psp::appendStr (GetGlyphSetEncodingName(nGlyphSetID), in PSDefineReencodedFont()
460 nSize += psp::appendStr (" psp_definefont\n", in PSDefineReencodedFont()
463 psp::WritePS (pOutFile, pEncodingVector); in PSDefineReencodedFont()
730 nSize += psp::appendStr ("/", in PSUploadEncoding()
[all …]
/AOO42X/main/shell/source/win32/shlxthandler/propsheets/
H A Dpropsheets.cxx201 PROPSHEETPAGE psp; in AddPages() local
202 ZeroMemory(&psp, sizeof(PROPSHEETPAGEA)); in AddPages()
205 psp.dwSize = sizeof(PROPSHEETPAGE); in AddPages()
206 psp.dwFlags = PSP_DEFAULT | PSP_USETITLE | PSP_USECALLBACK; in AddPages()
207 psp.hInstance = GetModuleHandle(MODULE_NAME); in AddPages()
208 psp.lParam = reinterpret_cast<LPARAM>(this); in AddPages()
209 psp.pfnCallback = reinterpret_cast<LPFNPSPCALLBACK>(CPropertySheet::PropPageSummaryCallback); in AddPages()
217 psp.pszTemplate = MAKEINTRESOURCE(IDD_PROPPAGE_SUMMARY); in AddPages()
218 psp.pszTitle = proppage_header.c_str(); in AddPages()
219 psp.pfnDlgProc = reinterpret_cast<DLGPROC>(CPropertySheet::PropPageSummaryProc); in AddPages()
[all …]
/AOO42X/main/vcl/unx/kde4/
H A DKDESalFrame.cxx101 psp::FastPrintFontInfo aInfo; in toFont()
108 aInfo.m_eItalic = ( qFontInfo.italic()? psp::italic::Italic: psp::italic::Upright ); in toFont()
113 aInfo.m_eWeight = psp::weight::Light; in toFont()
115 aInfo.m_eWeight = psp::weight::Normal; in toFont()
117 aInfo.m_eWeight = psp::weight::SemiBold; in toFont()
119 aInfo.m_eWeight = psp::weight::Bold; in toFont()
121 aInfo.m_eWeight = psp::weight::UltraBold; in toFont()
126 aInfo.m_eWidth = psp::width::UltraCondensed; in toFont()
128 aInfo.m_eWidth = psp::width::ExtraCondensed; in toFont()
130 aInfo.m_eWidth = psp::width::Condensed; in toFont()
[all …]
/AOO42X/main/vcl/inc/unx/
H A Dpspgraphics.h34 namespace psp { struct JobData; class PrinterGfx; }
42 psp::JobData* m_pJobData;
43 psp::PrinterGfx* m_pPrinterGfx;
53 …PspGraphics( psp::JobData* pJob, psp::PrinterGfx* pGfx, String* pPhone, bool bSwallow, SalInfoPrin… in PspGraphics()
65 …static const void* DoGetEmbedFontData( psp::fontID aFont, const sal_Ucs* pUnicodes, sal_Int32* pWi…
67 …static const Ucs2SIntMap* DoGetFontEncodingVector( psp::fontID aFont, const Ucs2OStrMap** pNonEnco…
68 static void DoGetGlyphWidths( psp::fontID aFont,
73 static ImplDevFontAttributes Info2DevFontAttributes( const psp::FastPrintFontInfo& );
74 static void AnnounceFonts( ImplDevFontList*, const psp::FastPrintFontInfo& );
75 static FontWidth ToFontWidth (psp::width::type eWidth);
[all …]
H A Dsalprn.h39 psp::JobData m_aJobData;
40 psp::PrinterGfx m_aPrinterGfx;
73 psp::PrinterJob m_aPrintJob;
74 psp::JobData m_aJobData;
75 psp::PrinterGfx m_aPrinterGfx;
/AOO42X/main/padmin/source/
H A Dfontentry.hxx44 public ::psp::PrintFontManager::ImportFontCallback
72 … ::std::hash_map< ::rtl::OString, ::std::list< ::psp::FastPrintFontInfo >, ::rtl::OStringHash >
79 ::psp::PrintFontManager& m_rFontManager;
86 …virtual void importFontsFailed( ::psp::PrintFontManager::ImportFontCallback::FailCondition eReason…
89 …virtual void importFontFailed( const ::rtl::OUString& rFile, ::psp::PrintFontManager::ImportFontCa…
114 ::psp::PrintFontManager& m_rFontManager;
117 ::std::hash_map< ::psp::fontID, String >
128 …static String fillFontEntry( ::psp::FastPrintFontInfo& rInfo, const String& rFile, bool bAddRegula…
129 …static String fillFontEntry( const ::std::list< ::psp::FastPrintFontInfo >& rInfos, const String& …
H A Dadddlg.hxx54 virtual void fill( ::psp::PrinterInfo& rInfo ) = 0;
76 virtual void fill( ::psp::PrinterInfo& rInfo );
98 virtual void fill( ::psp::PrinterInfo& rInfo );
117 virtual void fill( ::psp::PrinterInfo& rInfo );
140 virtual void fill( ::psp::PrinterInfo& rInfo );
151 ::std::list< ::psp::PrinterInfo > m_aOldPrinters;
159 virtual void fill( ::psp::PrinterInfo& rInfo );
174 virtual void fill( ::psp::PrinterInfo& rInfo );
190 virtual void fill( ::psp::PrinterInfo& rInfo );
205 ::psp::PrinterInfo m_aPrinter;
H A Dprtsetup.hxx58 ::psp::PrinterInfo m_aJobData;
81 void insertAllPPDValues( ListBox&, const psp::PPDParser*, const psp::PPDKey* );
83 …RTSDialog( const ::psp::PrinterInfo& rJobData, const String& rPrinter, bool bAllPages, Window* pPa…
86 const ::psp::PrinterInfo& getSetup() const { return m_aJobData; } in getSetup()
137 void FillValueBox( const ::psp::PPDKey* );
H A Dfontentry.cxx39 using namespace psp;
437 m_rFontManager( ::psp::PrintFontManager::get() ) in FontImportDialog()
466 void FontImportDialog::importFontsFailed( ::psp::PrintFontManager::ImportFontCallback::FailConditio… in importFontsFailed()
471 case psp::PrintFontManager::ImportFontCallback::NoWritableDirectory: in importFontsFailed()
515 void FontImportDialog::importFontFailed( const ::rtl::OUString& rFile, ::psp::PrintFontManager::Imp… in importFontFailed()
520 case psp::PrintFontManager::ImportFontCallback::NoAfmMetric: in importFontFailed()
523 case psp::PrintFontManager::ImportFontCallback::AfmCopyFailed: in importFontFailed()
526 case psp::PrintFontManager::ImportFontCallback::FontCopyFailed: in importFontFailed()
/AOO42X/main/vcl/unx/generic/fontmanager/
H A Dhelper.cxx42 namespace psp { namespace
116 void psp::getPrinterPathList( std::list< OUString >& rPathList, const char* pSubDir ) in getPrinterPathList()
124 aPathBuffer.append( getOfficePath( psp::NetPath ) ); in getPrinterPathList()
136 aPathBuffer.append( getOfficePath( psp::UserPath ) ); in getPrinterPathList()
193 OUString psp::getFontPath() in getFontPath()
201 OUString aConfigPath( getOfficePath( psp::ConfigPath ) ); in getFontPath()
202 OUString aNetPath( getOfficePath( psp::NetPath ) ); in getFontPath()
203 OUString aUserPath( getOfficePath( psp::UserPath ) ); in getFontPath()
251 bool psp::convertPfbToPfa( ::osl::File& rInFile, ::osl::File& rOutFile ) in convertPfbToPfa()
364 void psp::normPath( OString& rPath ) in normPath()
[all …]
H A Dfontmanager.cxx93 using namespace psp;
2130 const ::rtl::OUString &rSalPrivatePath = psp::getFontPath(); in initialize()
2309 psp::getPrinterPathList( aMetricDirs, PRINTER_METRICDIR ); in initialize()
2432 equalPitch (psp::pitch::type from, psp::pitch::type to) in equalPitch()
2438 equalWeight (psp::weight::type from, psp::weight::type to) in equalWeight()
2444 equalItalic (psp::italic::type from, psp::italic::type to) in equalItalic()
2446 if ( (from == psp::italic::Italic) || (from == psp::italic::Oblique) ) in equalItalic()
2447 return (to == psp::italic::Italic) || (to == psp::italic::Oblique); in equalItalic()
3642 case psp::fonttype::TrueType: rInfo.m_nFontType = FontSubsetInfo::SFNT_TTF; break; in createFontSubset()
3643 case psp::fonttype::Type1: rInfo.m_nFontType = FontSubsetInfo::ANY_TYPE1; break; in createFontSubset()
[all …]
/AOO42X/main/vcl/unx/kde/
H A Dsalnativewidgets-kde.cxx1744 psp::FastPrintFontInfo aInfo; in toFont()
1751 aInfo.m_eItalic = ( qFontInfo.italic()? psp::italic::Italic: psp::italic::Upright ); in toFont()
1756 aInfo.m_eWeight = psp::weight::Light; in toFont()
1758 aInfo.m_eWeight = psp::weight::Normal; in toFont()
1760 aInfo.m_eWeight = psp::weight::SemiBold; in toFont()
1762 aInfo.m_eWeight = psp::weight::Bold; in toFont()
1764 aInfo.m_eWeight = psp::weight::UltraBold; in toFont()
1769 aInfo.m_eWidth = psp::width::UltraCondensed; in toFont()
1771 aInfo.m_eWidth = psp::width::ExtraCondensed; in toFont()
1773 aInfo.m_eWidth = psp::width::Condensed; in toFont()
[all …]
/AOO42X/main/vcl/unx/gtk/gdi/
H A Dsalnativewidgets-gtk.cxx3452 psp::FastPrintFontInfo aInfo; in updateSettings()
3458 case PANGO_STYLE_NORMAL: aInfo.m_eItalic = psp::italic::Upright;break; in updateSettings()
3459 case PANGO_STYLE_ITALIC: aInfo.m_eItalic = psp::italic::Italic;break; in updateSettings()
3460 case PANGO_STYLE_OBLIQUE: aInfo.m_eItalic = psp::italic::Oblique;break; in updateSettings()
3464 aInfo.m_eWeight = psp::weight::UltraLight; in updateSettings()
3466 aInfo.m_eWeight = psp::weight::Light; in updateSettings()
3468 aInfo.m_eWeight = psp::weight::Normal; in updateSettings()
3470 aInfo.m_eWeight = psp::weight::Bold; in updateSettings()
3472 aInfo.m_eWeight = psp::weight::UltraBold; in updateSettings()
3476 case PANGO_STRETCH_ULTRA_CONDENSED: aInfo.m_eWidth = psp::width::UltraCondensed;break; in updateSettings()
[all …]
/AOO42X/main/vcl/inc/
H A Dsaldatabasic.hxx33 namespace psp namespace
43 psp::PrinterInfoManager* m_pPIManager;

123