| /AOO41X/main/vcl/source/gdi/ |
| H A D | pdfwriter_impl.cxx | 1147 OStringBuffer aLine( "PDFWriterImpl::PDFPage::beginStream, +" ); in beginStream() local 1148 m_pWriter->emitComment( aLine.getStr() ); in beginStream() 1157 OStringBuffer aLine; in beginStream() local 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() 1166 if( ! m_pWriter->writeBuffer( aLine.getStr(), aLine.getLength() ) ) in beginStream() [all …]
|
| /AOO41X/main/vcl/unx/generic/printer/ |
| H A D | jobdata.cxx | 121 ByteString aLine; in getStreamBuffer() local 126 aLine = "printer="; in getStreamBuffer() 127 aLine += ByteString( String( m_aPrinterName ), RTL_TEXTENCODING_UTF8 ); in getStreamBuffer() 128 aStream.WriteLine( aLine ); in getStreamBuffer() 130 aLine = "orientation="; in getStreamBuffer() 131 aLine += m_eOrientation == orientation::Landscape ? "Landscape" : "Portrait"; in getStreamBuffer() 132 aStream.WriteLine( aLine ); in getStreamBuffer() 134 aLine = "copies="; in getStreamBuffer() 135 aLine += ByteString::CreateFromInt32( m_nCopies ); in getStreamBuffer() 136 aStream.WriteLine( aLine ); in getStreamBuffer() [all …]
|
| H A D | ppdparser.cxx | 305 ByteString aLine; in Open() local 306 mpFileStream->ReadLine( aLine ); in Open() 311 if( aLine.Len() > 1 && static_cast<unsigned char>(aLine.GetChar( 0 )) == 0x1f ) in Open() 313 if( static_cast<unsigned char>(aLine.GetChar( 1 )) == 0x8b ) // check for gzip in Open() 547 ByteString aLine; in getPPDFile() local 548 aStream.ReadLine( aLine ); in getPPDFile() 549 if( aLine.Search( "*PPD-Adobe" ) == 0 ) in getPPDFile() 556 while( aLine.Search( "*Include" ) != 0 && --nLines ) in getPPDFile() 557 aStream.ReadLine( aLine ); in getPPDFile() 996 ByteString aLine = aCurrentLine.Copy( 1, nPos-1 ); in parse() local [all …]
|
| /AOO41X/main/vcl/unx/generic/fontmanager/ |
| H A D | fontcache.cxx | 127 ByteString aLine( "FontCacheDirectory:" ); in flush() local 128 aLine.Append( ByteString::CreateFromInt64( dir_it->second.m_nTimestamp ) ); in flush() 129 aLine.Append( ':' ); in flush() 130 aLine.Append( aDirectory ); in flush() 132 aLine.Insert( "Empty", 0 ); in flush() 133 aStream.WriteLine( aLine ); in flush() 142 aLine = "File:"; in flush() 143 aLine.Append( ByteString( entry_it->first ) ); in flush() 144 aStream.WriteLine( aLine ); in flush() 148 aLine = ByteString::CreateFromInt32( rEntry.front()->m_eType ); in flush() [all …]
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | frminf.cxx | 148 SwTxtCursor aLine( (SwTxtFrm*)pFrm, &aInf ); in GetLineStart() local 149 return GetLineStart( aLine ) - pFrm->Frm().Left() - pFrm->Prt().Left(); in GetLineStart() 159 SwTxtCursor aLine( (SwTxtFrm*)pFrm, &aInf ); in GetCharPos() local 163 if( ((SwTxtCursor&)aLine).GetCharRect( &aRect, nChar ) ) in GetCharPos() 171 nStt = aLine.GetLineStart(); in GetCharPos() 176 if( ((SwTxtCursor&)aLine).GetCharRect( &aRect, nChar+1 ) ) in GetCharPos() 184 nNext = aLine.GetLineStart(); in GetCharPos() 223 SwTxtMargin aLine( (SwTxtFrm*)pFrm, &aInf ); in GetSpaces() local 228 if( aLine.GetCurr()->GetLen() ) in GetSpaces() 230 xub_StrLen nPos = aLine.GetTxtStart(); in GetSpaces() [all …]
|
| H A D | frmcrsr.cxx | 294 SwTxtCursor aLine( pFrm, &aInf ); in GetCharRect() local 295 nNextOfst = aLine.GetEnd(); in GetCharRect() 298 bRet = bRightMargin ? aLine.GetEndCharRect( &rOrig, nOffset, pCMS, nMaxY ) in GetCharRect() 299 : aLine.GetCharRect( &rOrig, nOffset, pCMS, nMaxY ); in GetCharRect() 324 pFrm->SwitchLTRtoRTL( pCMS->p2Lines->aLine ); in GetCharRect() 344 pFrm->SwitchHorizontalToVertical( pCMS->p2Lines->aLine ); in GetCharRect() 438 SwTxtCursor aLine( pFrm, &aInf ); in GetAutoPos() local 441 if( aLine.GetCharRect( &rOrig, nOffset, &aTmpState, nMaxY ) ) in GetAutoPos() 521 SwTxtCursor aLine( pFrm, &aInf ); in GetTopOfLine() local 522 aLine.CharCrsrToLine( nOffset ); in GetTopOfLine() [all …]
|
| H A D | frmpaint.cxx | 348 SwTxtPainter aLine( (SwTxtFrm*)this, &aInf ); in PaintExtraData() local 349 sal_Bool bNoDummy = !aLine.GetNext(); // Nur eine Leerzeile! in PaintExtraData() 351 while( aLine.Y() + aLine.GetLineHeight() <= rRect.Top() ) in PaintExtraData() 353 if( !aLine.GetCurr()->IsDummy() && in PaintExtraData() 355 aLine.GetCurr()->HasCntnt() ) ) in PaintExtraData() 357 if( !aLine.Next() ) in PaintExtraData() 370 while ( aLine.Y() < GetMinPrtLine() ) in PaintExtraData() 372 if( ( rLineInf.IsCountBlankLines() || aLine.GetCurr()->HasCntnt() ) in PaintExtraData() 373 && !aLine.GetCurr()->IsDummy() ) in PaintExtraData() 375 if( !aLine.Next() ) in PaintExtraData() [all …]
|
| H A D | frmform.cxx | 189 SwTxtMargin aLine( (SwTxtFrm*)this, &aInf ); in _GetDropRect() local 190 if( aLine.GetDropLines() ) in _GetDropRect() 192 rRect.Top( aLine.Y() ); in _GetDropRect() 193 rRect.Left( aLine.GetLineStart() ); in _GetDropRect() 194 rRect.Height( aLine.GetDropHeight() ); in _GetDropRect() 195 rRect.Width( aLine.GetDropLeft() ); in _GetDropRect() 568 SwTxtFormatter aLine( this, &aInf ); in GetTabStopInfo() local 573 SwTwips nRight = aLine.Right(); in GetTabStopInfo() 577 const SvxTabStop *pTS = aLine.GetLineInfo().GetTabStop( CurrentPos, nRight ); in GetTabStopInfo() 968 SwTxtFormatter aLine( this, &aInf ); in CalcPreps() local [all …]
|
| H A D | txtfrm.cxx | 796 SwTxtFormatter aLine( this, &aInf ); in CalcLineSpace() local 797 if( aLine.GetDropLines() ) in CalcLineSpace() 803 aLine.Top(); in CalcLineSpace() 804 aLine.RecalcRealHeight(); in CalcLineSpace() 806 aNewSize.Height() = (aLine.Y() - Frm().Top()) + aLine.GetLineHeight(); in CalcLineSpace() 827 if( GetFollow() || aBreak.IsBreakNow( aLine ) ) in CalcLineSpace() 1435 SwTxtMargin aLine( this, &aInf ); in PrepWidows() local 1436 aLine.Bottom(); in PrepWidows() 1437 xub_StrLen nTmpLen = aLine.GetCurr()->GetLen(); in PrepWidows() 1438 while( nHave && aLine.PrevLine() ) in PrepWidows() [all …]
|
| H A D | txtfly.cxx | 345 SwRect aLine( GetLeftMargin(), Y(), rInf.RealWidth(), nHeight ); in ChkFlyUnderflow() local 347 SwRect aLineVert( aLine ); in ChkFlyUnderflow() 360 aLine.Pos().Y() = Y() + GetCurr()->GetRealHeight() - GetCurr()->Height(); in ChkFlyUnderflow() 361 aLine.Height( GetCurr()->Height() ); in ChkFlyUnderflow() 365 aLine.Width( pPos->Width() ); in ChkFlyUnderflow() 367 aLineVert = aLine; in ChkFlyUnderflow() 377 if( aInter.IsOver( aLine ) ) in ChkFlyUnderflow() 379 aInter._Intersection( aLine ); in ChkFlyUnderflow() 394 if ( ! aInter.IsOver( aLine ) ) in ChkFlyUnderflow() 402 aInter._Intersection( aLine ); in ChkFlyUnderflow() [all …]
|
| /AOO41X/main/svx/source/sdr/overlay/ |
| H A D | overlaytools.cxx | 371 basegfx::B2DPolygon aLine; in create2DDecomposition() local 373 … aLine.append(basegfx::B2DPoint(getBasePosition().getX(), getViewport().getMinY())); in create2DDecomposition() 374 … aLine.append(basegfx::B2DPoint(getBasePosition().getX(), getViewport().getMaxY())); in create2DDecomposition() 378 aLine, in create2DDecomposition() 388 basegfx::B2DPolygon aLine; in create2DDecomposition() local 390 … aLine.append(basegfx::B2DPoint(getViewport().getMinX(), getBasePosition().getY())); in create2DDecomposition() 391 … aLine.append(basegfx::B2DPoint(getViewport().getMaxX(), getBasePosition().getY())); in create2DDecomposition() 395 aLine, in create2DDecomposition() 482 basegfx::B2DPolygon aLine; in create2DDecomposition() local 486 … aLine.append(basegfx::B2DPoint(getViewport().getMinX(), getRollingRectangle().getMinY())); in create2DDecomposition() [all …]
|
| /AOO41X/main/tools/bootstrp/ |
| H A D | cppdep.cxx | 178 ByteString CppDep::IsIncludeStatement( ByteString aLine ) in IsIncludeStatement() argument 181 if ( aLine.Search("/*",0) != STRING_NOTFOUND ) in IsIncludeStatement() 184 fprintf( stderr, "found starting C comment : %s\n", aLine.GetBuffer() ); in IsIncludeStatement() 186 aLine.Erase(aLine.Search("/*",0), aLine.Len() - 1); in IsIncludeStatement() 188 fprintf( stderr, "cleaned string : %s\n", aLine.GetBuffer() ); in IsIncludeStatement() 191 if ( aLine.Search("//",0) != STRING_NOTFOUND ) in IsIncludeStatement() 194 fprintf( stderr, "found C++ comment : %s\n", aLine.GetBuffer() ); in IsIncludeStatement() 196 aLine.Erase(aLine.Search("//",0), aLine.Len() - 1); in IsIncludeStatement() 198 fprintf( stderr, "cleaned string : %s\n", aLine.GetBuffer() ); in IsIncludeStatement() 202 aLine.EraseAllChars(' '); in IsIncludeStatement() [all …]
|
| /AOO41X/main/sc/source/filter/dif/ |
| H A D | difimp.cxx | 325 String aLine; in GetNextTopic() local 333 if( !ReadNextLine( aLine ) ) in GetNextTopic() 351 if( aLine == pRef ) in GetNextTopic() 373 const sal_Unicode* pCur = aLine.GetBuffer(); in GetNextTopic() 388 DBG_ASSERT( aLine.Len() >= 2, in GetNextTopic() 390 if( aLine.Len() > 2 ) in GetNextTopic() 391 aData = aLine.Copy( 1, aLine.Len() - 2 ); in GetNextTopic() 401 ReadNextLine( aLine ); in GetNextTopic() 404 ReadNextLine( aLine ); in GetNextTopic() 518 String aLine; in GetNextDataset() local [all …]
|
| /AOO41X/main/svtools/source/filter/ixbm/ |
| H A D | xbmread.cxx | 200 ByteString aLine; in ParseData() local 216 if( (nPos = ( aLine = aLastLine ).Search( '{' ) ) != STRING_NOTFOUND ) in ParseData() 217 aLine.Erase( 0, nPos + 1 ); in ParseData() 221 else if( !pInStm->ReadLine( aLine ) ) in ParseData() 224 if( aLine.Len() ) in ParseData() 226 const sal_uInt16 nCount = aLine.GetTokenCount( ',' ); in ParseData() 230 const ByteString aToken( aLine.GetToken( i, ',' ) ); in ParseData() 284 ByteString aLine; in ReadXBM() local 289 aLine = FindTokenLine( &rIStm, "#define", "_width" ); in ReadXBM() 293 if ( ( nValue = (int) ParseDefine( aLine.GetBuffer() ) ) > 0 ) in ReadXBM() [all …]
|
| /AOO41X/main/tools/bootstrp/addexes2/ |
| H A D | mkfilt.cxx | 85 ByteString aLine; member in MkLine 136 ByteString aLine( aLineBuf ); in Filter() local 138 if ( aLine.Search("mkfilter1" ) != STRING_NOTFOUND ) in Filter() 144 else if ( aLine.Search("unroll begin" ) != STRING_NOTFOUND ) in Filter() 157 pMkLine->aLine = *pStr; in Filter() 167 if ( aLine.Search("unroll end") != STRING_NOTFOUND ) in Filter() 173 p_MkLine->aLine = *pByteString; in Filter() 182 pMkLine->aLine = *pStr; in Filter() 208 ByteString aLine = pMkLine->aLine; in Filter() local 209 … while( aLine.SearchAndReplace( aTnr, ByteString::CreateFromInt32( n )) != (sal_uInt16)-1 ) ; in Filter() [all …]
|
| /AOO41X/main/autodoc/source/exes/adc_uni/ |
| H A D | adc_msg.cxx | 163 StreamStr aLine(2000); in WriteParagraph() local 166 aLine << i_title in WriteParagraph() 168 o_out.write(aLine.c_str()); in WriteParagraph() 170 aLine.seekp(0); in WriteParagraph() 173 aLine << '-'; in WriteParagraph() 175 aLine << "\n\n"; in WriteParagraph() 176 o_out.write(aLine.c_str()); in WriteParagraph() 183 aLine.seekp(0); in WriteParagraph() 184 aLine << (*it).first.sFile; in WriteParagraph() 188 aLine << ", line " in WriteParagraph() [all …]
|
| /AOO41X/main/rsc/source/rsc/ |
| H A D | rsc.cxx | 1239 ByteString aLine, aFilePath; in PreprocessSrsFile() local 1241 while( aIStm.ReadLine( aLine ) ) in PreprocessSrsFile() 1243 if( ( aLine.GetTokenCount( '=' ) == 2 ) && in PreprocessSrsFile() 1244 ( aLine.GetToken( 0, '=' ).Search( "File" ) != STRING_NOTFOUND ) ) in PreprocessSrsFile() 1246 ByteString aBaseFileName( aLine.GetToken( 1, '"' ).GetToken( 0, '.' ) ); in PreprocessSrsFile() 1249 ( ( aLine = "File = \"" ) += aFilePath ) += "\";"; in PreprocessSrsFile() 1253 aOStm.WriteLine( aLine ); in PreprocessSrsFile() 1255 else if( aLine.Search( "ImageList" ) != STRING_NOTFOUND ) in PreprocessSrsFile() 1259 aOStm.WriteLine( aLine ); in PreprocessSrsFile() 1261 if( aLine.Search( ';' ) == STRING_NOTFOUND ) in PreprocessSrsFile() [all …]
|
| /AOO41X/main/starmath/source/ |
| H A D | view.cxx | 894 String aLine; in GetTextSize() local 901 aLine = rText.GetToken(i, '\n'); in GetTextSize() 902 aLine.EraseAllChars('\r'); in GetTextSize() 903 aLine.EraseLeadingChars('\n'); in GetTextSize() 904 aLine.EraseTrailingChars('\n'); in GetTextSize() 906 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize() 912 xub_StrLen m = aLine.Len(); in GetTextSize() 917 sal_Unicode cLineChar = aLine.GetChar(n); in GetTextSize() 920 aText = aLine.Copy(0, n); in GetTextSize() 928 aText = aLine.Copy(0, m); in GetTextSize() [all …]
|
| /AOO41X/main/sc/source/ui/view/ |
| H A D | formatsh.cxx | 1889 SvxBorderLine aLine(0,0,0,0); in GetAttrState() local 1901 aLine.SetColor(aCol); in GetAttrState() 1902 aLine.SetOutWidth( aBoxItem.GetTop()->GetOutWidth()); in GetAttrState() 1903 aLine.SetInWidth( aBoxItem.GetTop()->GetInWidth()); in GetAttrState() 1904 aLine.SetDistance( aBoxItem.GetTop()->GetDistance()); in GetAttrState() 1913 aLine.SetColor(aCol); in GetAttrState() 1914 aLine.SetOutWidth( aBoxItem.GetBottom()->GetOutWidth()); in GetAttrState() 1915 aLine.SetInWidth( aBoxItem.GetBottom()->GetInWidth()); in GetAttrState() 1916 aLine.SetDistance( aBoxItem.GetBottom()->GetDistance()); in GetAttrState() 1922 if(!( aLine == *(aBoxItem.GetBottom())) ) in GetAttrState() [all …]
|
| /AOO41X/main/sc/source/filter/starcalc/ |
| H A D | scflt.cxx | 873 SvxBorderLine aLine; in PutToDoc() local 875 aLine.SetOutWidth(nLeft); in PutToDoc() 876 aLine.SetColor(ColorLeft); in PutToDoc() 877 aBox.SetLine(&aLine, BOX_LINE_LEFT); in PutToDoc() 878 aLine.SetOutWidth(nTop); in PutToDoc() 879 aLine.SetColor(ColorTop); in PutToDoc() 880 aBox.SetLine(&aLine, BOX_LINE_TOP); in PutToDoc() 881 aLine.SetOutWidth(nRight); in PutToDoc() 882 aLine.SetColor(ColorRight); in PutToDoc() 883 aBox.SetLine(&aLine, BOX_LINE_RIGHT); in PutToDoc() [all …]
|
| /AOO41X/main/svx/source/sdr/primitive2d/ |
| H A D | sdrattributecreator.cxx | 724 attribute::SdrLineAttribute aLine; in createNewSdrLineShadowTextAttribute() local 747 aLine = createNewSdrLineAttribute(rSet); in createNewSdrLineShadowTextAttribute() 749 if(!aLine.isDefault()) in createNewSdrLineShadowTextAttribute() 752 aLineStartEnd = createNewSdrLineStartEndAttribute(rSet, aLine.getWidth()); in createNewSdrLineShadowTextAttribute() 756 if(!aLine.isDefault() || !aText.isDefault()) in createNewSdrLineShadowTextAttribute() 761 return attribute::SdrLineShadowTextAttribute(aLine, aLineStartEnd, aShadow, aText); in createNewSdrLineShadowTextAttribute() 772 attribute::SdrLineAttribute aLine; in createNewSdrLineFillShadowTextAttribute() local 796 aLine = createNewSdrLineAttribute(rSet); in createNewSdrLineFillShadowTextAttribute() 798 if(!aLine.isDefault()) in createNewSdrLineFillShadowTextAttribute() 801 aLineStartEnd = createNewSdrLineStartEndAttribute(rSet, aLine.getWidth()); in createNewSdrLineFillShadowTextAttribute() [all …]
|
| /AOO41X/main/vcl/unx/generic/printergfx/ |
| H A D | printerjob.cxx | 1158 rtl::OStringBuffer aLine( 256 ); in writeSetup() local 1160 aLine.append( "%%DocumentSuppliedResources: font " ); in writeSetup() 1162 aLine.append( "%%DocumentNeededResources: font " ); in writeSetup() 1163 aLine.append( *it ); in writeSetup() 1164 aLine.append( "\n" ); in writeSetup() 1165 WritePS ( pFile, aLine.getStr() ); in writeSetup() 1168 aLine.setLength(0); in writeSetup() 1169 aLine.append( "%%+ font " ); in writeSetup() 1170 aLine.append( *it ); in writeSetup() 1171 aLine.append( "\n" ); in writeSetup() [all …]
|
| /AOO41X/main/sc/source/core/data/ |
| H A D | scdpoutputimpl.cxx | 136 SvxBorderLine aLine, aOutLine; in OutputBlockFrame() local 137 aLine.SetColor( SC_DP_FRAME_COLOR ); in OutputBlockFrame() 138 aLine.SetOutWidth( SC_DP_FRAME_INNER_BOLD ); in OutputBlockFrame() 147 aBox.SetLine(&aLine, BOX_LINE_LEFT); in OutputBlockFrame() 152 aBox.SetLine(&aLine, BOX_LINE_TOP); in OutputBlockFrame() 157 aBox.SetLine(&aLine, BOX_LINE_RIGHT); in OutputBlockFrame() 162 aBox.SetLine(&aLine, BOX_LINE_BOTTOM); in OutputBlockFrame() 170 aBoxInfo.SetLine( &aLine, BOXINFO_LINE_HORI ); in OutputBlockFrame()
|
| /AOO41X/main/vcl/unx/generic/gdi/ |
| H A D | cdeint.cxx | 94 ByteString aLine = aLines.GetToken( i, '\n' ); in GetSystemLook() local 95 int nIndex = aLine.Search( "ColorPalette" ); in GetSystemLook() 101 const char* pStr = aLine.GetBuffer() +nIndex; in GetSystemLook() 117 ByteString aPaletteFile( aLine.Copy( nIndex, nIndex2 - nIndex ) ); in GetSystemLook() 119 for( ; nPos >= 0 && aLine.GetChar( nPos ) != '*'; nPos-- ) in GetSystemLook() 122 for( ; nPos >= 0 && aLine.GetChar( nPos ) != '*'; nPos-- ) in GetSystemLook() 124 int nNumber = aLine.Copy( ++nPos ).ToInt32(); in GetSystemLook() 126 DBG_TRACE2( "found palette %d in resource \"%s\"", nNumber, aLine.GetBuffer() ); in GetSystemLook()
|
| /AOO41X/main/basic/source/runtime/ |
| H A D | iosys.cxx | 762 if( !aLine.Len() ) in Read() 764 Read( aLine, 0 ); in Read() 765 aLine += '\n'; in Read() 767 ch = aLine.GetBuffer()[0]; in Read() 768 aLine.Erase( 0, 1 ); in Read() 800 aLine += rBuf; in Write() 803 sal_uInt16 nLineLen = aLine.Len(); in Write() 804 if( nLineLen && aLine.GetBuffer()[ --nLineLen ] == 0x0A ) in Write() 806 aLine.Erase( nLineLen ); in Write() 807 if( nLineLen && aLine.GetBuffer()[ --nLineLen ] == 0x0D ) in Write() [all …]
|