Lines Matching defs:text

311 	This function translates the styled text in fromStream and
312 inserts it at the end of the text in intoView, using the
318 \param source the stream with the styled text
371 // copy the text header from the mallocIO buffer
390 // text buffer misses its end; handle this gracefully
394 const char* text = (const char*)buffer + offset;
395 // point text pointer at the actual character data
399 // If the stream contains information beyond the text data
400 // (which means that this data is probably styled text data)
425 text, textHeader.header.data_size, runArray);
432 intoView->Insert(intoView->TextLength(), text,
449 This function takes styled text data from fromView and writes it to
450 intoStream. The plain text data and styled text data are combined
453 plain text data to the file, but puts the styled text data in
455 styled text data to files in a manner that isn't human readable.
457 So, if you want to write styled text
461 \param fromView, the view with the styled text in it
462 \param intoStream, the stream where the styled text is put
563 // Here, you can see the structure of the styled text data by
599 \brief Writes the styled text data from \a view to the specified \a file.
602 only writes styled text data to files and it puts the
603 plain text data in the file and stores the styled data as
606 You can use PutStyledText() to write styled text data
610 \param view the view with the styled text
611 \param file the file where the styled text is written to
628 const char *text = view->Text();
629 if (text == NULL && textLength != 0)
642 // Write plain text data to file
643 ssize_t bytesWritten = file->Write(text, textLength);
657 // we need to convert the text
686 // truncate any extra text
700 if (info.SetType("text/plain") < B_OK)
718 // Write text_run_array, ie. the styles of the text