Home
last modified time | relevance | path

Searched refs:aLine (Results 1 – 25 of 154) sorted by relevance

1234567

/trunk/main/vcl/source/gdi/
H A Dpdfwriter_impl.cxx1147 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 …]
/trunk/main/vcl/unx/generic/printer/
H A Djobdata.cxx121 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 Dppdparser.cxx305 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 …]
/trunk/main/vcl/unx/generic/fontmanager/
H A Dfontcache.cxx127 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 …]
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/
H A DParserTablesGenerator.java345 final StringBuffer aLine = new StringBuffer(); in WriteSimpleTypes() local
346 aLine.append(String.format( in WriteSimpleTypes()
360 AppendStringDescription(aLine, aType); in WriteSimpleTypes()
364 AppendNumberDescription(aLine, aType); in WriteSimpleTypes()
368 AppendDateTimeDescription(aLine, aType); in WriteSimpleTypes()
372 AppendBlobDescription(aLine, aType); in WriteSimpleTypes()
375 aOut.printf("%s\n", aLine.toString()); in WriteSimpleTypes()
398 final StringBuffer aLine, in AppendStringDescription() argument
401 aLine.append("S "); in AppendStringDescription()
405 aLine.append('E'); in AppendStringDescription()
[all …]
/trunk/main/sw/source/core/text/
H A Dfrminf.cxx148 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 Dfrmcrsr.cxx294 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 Dfrmpaint.cxx348 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 Dfrmform.cxx189 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 Dtxtfrm.cxx796 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 Dtxtfly.cxx345 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 …]
/trunk/main/svx/source/sdr/overlay/
H A Doverlaytools.cxx371 basegfx::B2DPolygon aLine; in create2DDecomposition() local
373aLine.append(basegfx::B2DPoint(getBasePosition().getX(), getViewport().getMinY())); in create2DDecomposition()
374aLine.append(basegfx::B2DPoint(getBasePosition().getX(), getViewport().getMaxY())); in create2DDecomposition()
378 aLine, in create2DDecomposition()
388 basegfx::B2DPolygon aLine; in create2DDecomposition() local
390aLine.append(basegfx::B2DPoint(getViewport().getMinX(), getBasePosition().getY())); in create2DDecomposition()
391aLine.append(basegfx::B2DPoint(getViewport().getMaxX(), getBasePosition().getY())); in create2DDecomposition()
395 aLine, in create2DDecomposition()
482 basegfx::B2DPolygon aLine; in create2DDecomposition() local
486aLine.append(basegfx::B2DPoint(getViewport().getMinX(), getRollingRectangle().getMinY())); in create2DDecomposition()
[all …]
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/
H A DTokenView.java80 for (final Line<TokenType> aLine : aState) in paintComponent()
82 PaintLineHighlight(aG2, aLine); in paintComponent()
83 PaintLineNumber(aG2, aLine); in paintComponent()
86 for (final Run<TokenType> aRun : aLine) in paintComponent()
98 aLine.GetBottom(), in paintComponent()
131 final Line<TokenType> aLine) in PaintLineHighlight() argument
134 if (aLine == maHighlightedLine) in PaintLineHighlight()
140 if (maLines.IsLineInGroup(aLine, maHighlightedGroup0)) in PaintLineHighlight()
142 else if (maLines.IsLineInGroup(aLine, maHighlightedGroup1)) in PaintLineHighlight()
144 else if (maLines.IsLineInGroup(aLine, maHighlightedGroup2)) in PaintLineHighlight()
[all …]
H A DFormatter.java49 for (final Line<TokenType> aLine : aLines.GetLines()) in FormatText()
51 if (aLine.Overlaps(nTop, nBottom)) in FormatText()
54 aVisibleLines.add(aLine); in FormatText()
72 final Line<TokenType> aLine = aLines.GetLine(nIndex); in FormatLines() local
78 aLine.Format(aG2, nY); in FormatLines()
79 if (aLine.GetWidth() > mnWidth) in FormatLines()
80 mnWidth = aLine.GetWidth(); in FormatLines()
81 if (aLine.GetBottom() > mnHeight) in FormatLines()
82 mnHeight = aLine.GetBottom(); in FormatLines()
/trunk/main/tools/bootstrp/
H A Dcppdep.cxx178 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 …]
/trunk/main/sc/source/filter/dif/
H A Ddifimp.cxx325 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 …]
/trunk/main/svtools/source/filter/ixbm/
H A Dxbmread.cxx200 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 …]
/trunk/main/rsc/source/rsc/
H A Drsc.cxx1239 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 …]
/trunk/main/tools/bootstrp/addexes2/
H A Dmkfilt.cxx85 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 …]
/trunk/main/autodoc/source/exes/adc_uni/
H A Dadc_msg.cxx163 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 …]
/trunk/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/type/
H A DNumberParser.java31 public NumberParser (final String[] aLine) in NumberParser() argument
33 switch(aLine[5]) in NumberParser()
84 throw new RuntimeException("unsupported numerical type "+aLine[5]); in NumberParser()
87 switch(aLine[6]) in NumberParser()
92 for (int nIndex=7; nIndex<aLine.length; ++nIndex) in NumberParser()
93 maEnumeration.add(ParseNumber(aLine[nIndex])); in NumberParser()
99 if (nIndex<aLine.length) in NumberParser()
100 switch (aLine[nIndex]) in NumberParser()
103 maMaximumValue = ParseNumber(aLine[nIndex+1]); in NumberParser()
107 maMaximumValue = ParseNumber(aLine[nIndex+1]); in NumberParser()
[all …]
H A DSimpleTypeManager.java47 for (final String[] aLine : aData) in ParseData()
49 final int nSimpleTypeId = Integer.parseInt(aLine[1]); in ParseData()
51 final boolean bIsList = aLine[3].equals("L"); in ParseData()
53 switch (aLine[4]) in ParseData()
56 aVariantParser = new StringParser(aLine); in ParseData()
59 aVariantParser = new NumberParser(aLine); in ParseData()
62 aVariantParser = new DateTimeParser(aLine); in ParseData()
65 aVariantParser = new BlobParser(aLine); in ParseData()
68 throw new RuntimeException("unexpected parser type: "+aLine[4]); in ParseData()
/trunk/main/starmath/source/
H A Dview.cxx897 String aLine; in GetTextSize() local
904 aLine = rText.GetToken(i, '\n'); in GetTextSize()
905 aLine.EraseAllChars('\r'); in GetTextSize()
906 aLine.EraseLeadingChars('\n'); in GetTextSize()
907 aLine.EraseTrailingChars('\n'); in GetTextSize()
909 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize()
915 xub_StrLen m = aLine.Len(); in GetTextSize()
920 sal_Unicode cLineChar = aLine.GetChar(n); in GetTextSize()
923 aText = aLine.Copy(0, n); in GetTextSize()
931 aText = aLine.Copy(0, m); in GetTextSize()
[all …]
/trunk/main/sc/source/ui/view/
H A Dformatsh.cxx1889 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 …]
/trunk/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/attribute/
H A DAttributeManager.java67 for (final String[] aLine : aData) in ParseData()
69 final int nStateId = Integer.parseInt(aLine[1]); in ParseData()
70 final int nPrefixId = Integer.parseInt(aLine[2]); in ParseData()
71 final boolean bCanBeUnqualified = aLine[3].startsWith("u"); in ParseData()
72 final int nAttributeId = Integer.parseInt(aLine[4]); in ParseData()
73 final int nAttributeTypeId = aLine[5].equals("null") ? -1 : Integer.parseInt(aLine[5]); in ParseData()
74 final boolean bIsOptional = aLine[6].startsWith("o"); in ParseData()
75 final String sDefault = aLine[7]; in ParseData()
77 final String sAttributeName = aLine[9]; in ParseData()

1234567