We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to apply a style (e.g. make the text bold) on a raw value (e.g. of a script)?
use Shuchkin\SimpleXLSXGen; $rows = [ // prints the whole string correctly [SimpleXLSXGen::raw('<a href="#">some link</a>')], // prints the whole string correctly [SimpleXLSXGen::raw('<b><a href="#">some link</a></b>')], // prints a bolded hyperlink 'some link' instead of a bolded raw string "<a href="#">some link</a>" ['<b>' . SimpleXLSXGen::raw('<a href="#">some link</a>'). '</b>'], ]; SimpleXLSXGen::fromArray($rows) ->downloadAs('test_raw.xlsx');
This prints out these values:
I'm trying to make the 3rd row value to look like this:
The text was updated successfully, but these errors were encountered:
1.4.11 no way to format raw value
Sorry, something went wrong.
I submitted a PR last year to add this functionality. It is well behind master now, but you can see my fork here; https://github.com/mrjemson/simplexlsxgen
tag <raw> added in 1.4.12
<raw>
No branches or pull requests
Is there a way to apply a style (e.g. make the text bold) on a raw value (e.g. of a script)?
This prints out these values:
![image](https://private-user-images.githubusercontent.com/18572506/316815125-9ba8caac-2baf-494b-af29-c7471fb3b625.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTYxMzIsIm5iZiI6MTczOTM1NTgzMiwicGF0aCI6Ii8xODU3MjUwNi8zMTY4MTUxMjUtOWJhOGNhYWMtMmJhZi00OTRiLWFmMjktYzc0NzFmYjNiNjI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwMjM1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2NGE4ODJjYTgxZWJhNzUzZmMyOGFhZDNhYWE4YWI2ZTA4ZTY5YmY5YTJkZmM4MzgxMThjZjRhYzA5NWI0ZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lHT6Fzde-xj6GWbSANpYMumlw6TRuje4U38xPDAQbDM)
I'm trying to make the 3rd row value to look like this:
![image](https://private-user-images.githubusercontent.com/18572506/316815664-354481ff-ef1d-4b63-8b52-ab2ee4160cc4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTYxMzIsIm5iZiI6MTczOTM1NTgzMiwicGF0aCI6Ii8xODU3MjUwNi8zMTY4MTU2NjQtMzU0NDgxZmYtZWYxZC00YjYzLThiNTItYWIyZWU0MTYwY2M0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwMjM1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiYzE5NWY0YWQzNzQxMzFjYzRmOTcxNTUxNDIwNWQ4OTU3OGI2NDYyNTA4YjE0MTBlMDMwNTY2MDdjOWQ3YTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8toIWU8VoKseGc2wLoBX3kNwd869BkGTUGBZ1P6OIEQ)
The text was updated successfully, but these errors were encountered: